pmw, on 20 January 2014 - 12:23 PM, said:
Like, sprite which activates world's shaking and wouldn't ever stop it - until the map changes.
Is it hard-coded function, or what? I have no ideas where to look at.
CON's quake, besides starting the EARTHQUAKE sound, merely sets an unexposed timer to the provided value, which is then decremented every game tic. So, you could code an actor that simply issues quake at certain intervals. Another option would be initializing the quake timer to a huge value, but since it's currently an unsigned 16-bit integer, you'd have at most 65535/30/60 = approx. 36 minutes of quake then.

Help
Duke4.net
DNF #1
Duke 3D #1


