Low gravity

Post anything to do with editing Nexuiz here. Whether its problems you've had, questions, or if you just want to show off your work.

Moderators: Nexuiz Moderators, Moderators

Low gravity

Postby Clueless Newbie » Thu Apr 24, 2008 2:58 pm

How does one change the gravity on a map?

I read somewhere that this might carry over to the next level on the same server. How does one prevent that from happening? (if it does)
2 GHz Mac Pro
Mac OS X 10.6.2
nvidia GeForce 8800 GT
Clueless Newbie
Keyboard killer
 
Posts: 518
Joined: Wed Jan 03, 2007 1:01 pm

Postby Taiyo.uk » Thu Apr 24, 2008 10:16 pm

Change gravity for the whole map? Set the gravity key in the worldspawn spawnflags to the gravity value you want.
Taiyo.uk
Alien trapper
 
Posts: 436
Joined: Mon Apr 17, 2006 8:48 pm
Location: Reading, IN-GER-LUND!!!

Postby Clueless Newbie » Fri Apr 25, 2008 9:32 am

Taiyo.uk wrote:Change gravity for the whole map? Set the gravity key in the worldspawn spawnflags to the gravity value you want.
Just "Gravity" and a number?

But will this follow into the next map on the server?
2 GHz Mac Pro
Mac OS X 10.6.2
nvidia GeForce 8800 GT
Clueless Newbie
Keyboard killer
 
Posts: 518
Joined: Wed Jan 03, 2007 1:01 pm

Postby The mysterious Mr. 4m » Fri Apr 25, 2008 8:53 pm

i remember there was a command (or alias) that would "clear" the config settings after the map.
4m [PB] (amoebios)

This is Your world.
The mysterious Mr. 4m
Forum addon
 
Posts: 1402
Joined: Wed Mar 01, 2006 6:03 pm
Location: germany

Postby Ronan » Fri Apr 25, 2008 11:46 pm

add the following line in the .mapinfo :
settemp_for_type all sv_gravity 400
Ronan
Alien trapper
 
Posts: 292
Joined: Tue Mar 20, 2007 10:25 pm
Location: France

Postby Clueless Newbie » Sat Apr 26, 2008 7:48 am

Ronan wrote:add the following line in the .mapinfo :
settemp_for_type all sv_gravity 400

What does that line do? Set gravity to 400 (whatever that s) for the duration of the game? Or reset it to 400 when the game is over?
2 GHz Mac Pro
Mac OS X 10.6.2
nvidia GeForce 8800 GT
Clueless Newbie
Keyboard killer
 
Posts: 518
Joined: Wed Jan 03, 2007 1:01 pm

Postby divVerent » Sat Apr 26, 2008 10:35 am

Both. settemp settings are always restored at the end of the match.
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE


Return to Nexuiz - Editing

Who is online

Users browsing this forum: No registered users and 1 guest

cron