2025-08-27 07:33 CEST

spring: develop beb580a2 Diff ] Back to Repository ]
Author Committer Branch Timestamp Parent
imbaczek imbaczek develop 2007-09-22 16:43:19 develop ba0812ca
Changeset closes 0000630, fixes 0000642 (jittery falling units). patch by rusty aka Exit_Wound.

Added tags:
transportUnloadMethod = <integer>;
    0 - land unload, 1 - flyover drop, 2 - land flood

fallSpeed = <float>
unitFallSpeed = <float>

These dictate the speed of units being dropped from the transport.
fallSpeed is used on the transports fbi file, to dictate the speed of all units it drops, unitFallSpeed is used on each transported unit to override fallSpeed.

Transport AI now calls the cob function:
'StartUnload'
which is called once when transport starts to lower during land flood method.

Dropped units call the cob functions:
'falling' and 'landed' so that you may start and stop a parachute animation.
                    

Added lua properties for transportUnloadMethod, fallSpeed, and unitFallSpeed.

git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@4424 37977431-3df6-0310-b722-df95706aa16b
mod - rts/Lua/LuaUnitDefs.cpp Diff ] File ]
mod - rts/Sim/MoveTypes/TAAirMoveType.cpp Diff ] File ]
mod - rts/Sim/MoveTypes/groundmovetype.cpp Diff ] File ]
mod - rts/Sim/MoveTypes/groundmovetype.h Diff ] File ]
mod - rts/Sim/Units/CommandAI/TransportCAI.cpp Diff ] File ]
mod - rts/Sim/Units/CommandAI/TransportCAI.h Diff ] File ]
mod - rts/Sim/Units/Unit.cpp Diff ] File ]
mod - rts/Sim/Units/Unit.h Diff ] File ]
mod - rts/Sim/Units/UnitDef.h Diff ] File ]
mod - rts/Sim/Units/UnitDefHandler.cpp Diff ] File ]
mod - rts/Sim/Units/UnitTypes/TransportUnit.cpp Diff ] File ]
mod - rts/Sim/Units/UnitTypes/TransportUnit.h Diff ] File ]