You can let the camera shake now
This feature is meant for tanks shooting big rockets, heavy running elephants or exploding buildings.
Like this Or if you want to see it in an RTS
here (when the tower dies)
Here is the syntax:
<skill>
<type value="move"/>
<name value="move_skill"/>
<ep-cost value="0"/>
<speed value="375"/>
<anim-speed value="240"/>
<animation path="models/warrior_walk.g3d"/>
<sound enabled="false"/>
<shake enabled="true" intensity="10" duration="40" start-time="0.5">
<self enabled="true" visible="true" in-camera-view="true" camera-distance-affected="true"/>
<team enabled="true" visible="true" in-camera-view="true" camera-distance-affected="true"/>
<enemy enabled="true" visible="false" in-camera-view="false" camera-distance-affected="true"/>
</shake>
</skill>
intensity=intensity
duration=duration in update frames (40 per second)
start-time=start time. works like in <sound>
self=options for the player
self=options for your allies (excluding you)
enemy=options for the opponent
visible=If visible is true the camera only shakes if the unit is visible (not hidden in fog-of-war). ( this is nearly useless for team and self but i am not sure what happens if you kill a not completed building or a unit with sight 0 )
in-camera-view=if true the camera only shakes if the unit is in the actual camera view (watch the video if you dont understand)
camera-distance-affected=the distance between the unit and the camera position is taken in consideration (watch the video if you dont understand)
Video showing the feature:
Should this be added to the glest wiki already or should i wait until this is included in a stable release?
(here it is shown for the stop skill, but works for all skills:
https://docs.megaglest.org/XML/Skills#Stop)