Author |
Message |
< Maps ~ Custom Map based on Donot |
funny |
Posted: Tue Aug 26, 2008 12:58 am |
|
|
Joined: 26 Aug 2008
Posts: 2
|
Hey
I made a huge sniper map with my frien,based on the map donot
but i have a problem with the .world scriprt
How can i set the gravty like in Donot??
btw sry my english sucks
 |
|
|
Back to top |
|
creamola |
Posted: Tue Aug 26, 2008 2:04 pm |
|
|
Developer
Joined: 04 Apr 2007
Posts: 136
Location: Stockholm, Sweden
|
Indeed, the map guide does currently not contain how to make maps with linear gravity.
I will try and write down some instructions on how to do it later today. |
_________________ Daniel Wikell
Game Design, 2D art and the rest of the stuff that noone else does
Celestial Impact |
|
Back to top |
|
creamola |
Posted: Wed Aug 27, 2008 5:50 pm |
|
|
Developer
Joined: 04 Apr 2007
Posts: 136
Location: Stockholm, Sweden
|
To obtain the gravity that Donot uses remove the following 2 lines in your worldscript (including their value):
coreAltitude
spaceAltitude
add the following 3 lines at the same place:
linearGravity
deathFloor -40
spaceBox 24 24 24
linearGravity
This just states that the engine should use linear gravity. This should be alone on a line with no value.
deathFloor
This sets how far you will fall before getting killed when falling outside the map. The bigger the negative value, the longer you fall.
spaceBox
This takes 3 parameters which decide the boundaries of the map in width height and depth. |
_________________ Daniel Wikell
Game Design, 2D art and the rest of the stuff that noone else does
Celestial Impact |
|
Back to top |
|
Nitrosocke |
Posted: Wed Aug 27, 2008 11:50 pm |
|
|
Joined: 27 Aug 2008
Posts: 1
|
Ah cool Thank you very much.
This will help. |
|
|
Back to top |
|
funny |
Posted: Wed Aug 27, 2008 11:56 pm |
|
|
Joined: 26 Aug 2008
Posts: 2
|
yea that helps Thank u  |
|
|
Back to top |
|
|
All times are GMT + 1 Hour
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|