Celestial Impact Forum Index
Author Message

<  Maps  ~  Custom Map based on Donot

funny
Posted: Tue Aug 26, 2008 12:58 am Reply with quote
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

Embarassed
View user's profile Send private message
creamola
Posted: Tue Aug 26, 2008 2:04 pm Reply with quote
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
View user's profile Send private message
creamola
Posted: Wed Aug 27, 2008 5:50 pm Reply with quote
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
View user's profile Send private message
Nitrosocke
Posted: Wed Aug 27, 2008 11:50 pm Reply with quote
Joined: 27 Aug 2008 Posts: 1
Ah cool Thank you very much.
This will help.
View user's profile Send private message
funny
Posted: Wed Aug 27, 2008 11:56 pm Reply with quote
Joined: 26 Aug 2008 Posts: 2
yea that helps Thank u Very Happy
View user's profile Send private message

Display posts from previous:  

All times are GMT + 1 Hour
Page 1 of 1
Post new topic

Jump to:  

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