Jump to content

Preventing the dead-sinking-underground phenomenon


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 post
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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...