can somone give me the script for the bounce cog from Morpheus? Or if you cant, i need either a troop transport mover cog and a walk upsidedown cog.
This is the static archive of the Massassi Forums. The forums are
closed indefinitely. Thanks for all the memories!
You can also download
Super Old Archived Message Boards
from when Massassi first started.
"View" counts are as of the day the forums were archived, and will no longer increase.
# Jedi Knight Cog Script # # CDjumppad.COG # # # # # [Cave_Demon] # # This cog is NOT supported by lucasarts flags=0x240 symbols vector playerVec local vector resVec local float x float y float z surface jumppad mask=0x404 thing player local sound bounche= message touched message entered end # ======================================================================================== code # ........................................................................................ touched: entered: player = GetSourceRef(); DetachThing(player); playerVec = GetThingVel(player); playerVec = VectorSet(VectorX(playerVec), VectorY(playerVec), 0); resVec = VectorAdd(playerVec, VectorSet(x, y, z)); SetThingVel(player, resVec); dummy = PlaySoundThing(bounche, player, 1.0, -1, -1, 0x180); Return; end