Jump to content

Preventing the dead-sinking-underground phenomenon


Theodotus
 Share

Recommended Posts

Hi, I was wondering if anyone could answer this question I have:

Is there a way to modify the game to make slain units remain above ground for the duration of a match, as opposed to slowly sinking into the ground after they die?

Specifically, I was wondering if there was a file (or files) to modify in the public 0AD game folder in order to perform the above.

Thanks!

Link to comment
Share on other sites

If you open template_unit.xml (in simulation/templates), you'll find this piece on Decay:

<Decay>  <Inactive/>  <DelayTime>80.0</DelayTime>  <SinkRate>0.01</SinkRate>  <SinkAccel>0.0</SinkAccel></Decay>

You could simply increase the DelayTime or make it inactive alltogether. Keeping the slain units around does increase the amount of rendering that needs to be done, so it might have an effect on your framerate.

  • Like 4
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...