http://ufoai.org/w/index.php?title=TODO/ladder&feed=atom&action=historyTODO/ladder - Revision history2024-03-29T14:06:52ZRevision history for this page on the wikiMediaWiki 1.35.4http://ufoai.org/w/index.php?title=TODO/ladder&diff=12984&oldid=prevZenerka: note about animations2007-08-07T13:36:18Z<p>note about animations</p>
<p><b>New page</b></p><div>Some actors should be able to climb up/down using a ladder on the map. Few thoughts about implementation:<br />
* there should be new type of brush; one put such brush on two tiles, where first tile is at levelX and the second is at (levelX+1)<br />
* player cannot manualy put an actor "to the ladder", but the pathfinding should be able to find a way through the ladder (in both ways, up and down)<br />
* player can step on tile at (levelX) and by clicking on the tile at (levelX+1) he orders the actor to climb up - at the end of such climbing an actor should stay on tile at (levelX+1)<br />
* the code should simply play new "climb" animation, and the actor should smoothly move from (levelX) to (levelX+1)<br />
There are few conditions which should be checked before we will allow an actor to climb<br />
* the actor which is able to use a ladder, should have proper boolean definition (in teamDesc most probably) - mostly humans and organic aliens only<br />
* we allow to use ladder when an actor has holdtwohanded weapon in hands and/or the second hand is "empty"<br />
* we do not allow to use ladder when an actor has firetwohanded weapon in hands (big weapon, you cannot just temporary move it to your back)<br />
* of course MOST OF ACTORS SHOULD HAVE NEW ANIMATIONS which is the reason why we won't have ladders in the nearest future ;-)</div>Zenerka