Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Making Driver appear in vehicles
Making Driver appear in vehicles [message #125878] Sat, 11 December 2004 11:17 Go to previous messageGo to previous message
bigwig992 is currently offline  bigwig992
Messages: 555
Registered: February 2003
Location: Nashua, NH
Karma:
Colonel
Quote:

JFW_Per_Preset_Visible_Person_In_Vechicle (makes a person model show up in a vechicle when someone is inside it)
BoneName (bone to attatch the person object to)
Message (message to send)

JFW_Per_Preset_Visible_People_In_Vechicle (makes a person model show up in a vechicle when someone is inside it, this one does it twice for 2 people in the vechicle)
BoneName1 (bone name to attatch the person object to for the first model)
BoneName2 (bone name to attatch the person object to for the second model)
Message1 (message to send for the first model)
Message2 (message to send for the second model)

JFW_Visible_Person_Settings (script for doing the per-infantry-preset part of the visible people logic)
Message (message to listen for)
ModelName (the name of the w3d file to use for the person model, without the .w3d on the end)
Animation (the name of the animation to play on the person model, it will loop indefinatly as long as the person model is visible)
Subobject (the subobject to use for this animation, a value of 0 will mean "no subobject")
FirstFrame (frame to start animating at, 0 means first frame, -1 means "current frame")
LastFrame (frame to go to, -1 means "end of animation")
Blended (some value for blended animation, only applies to Solders)

Basicly, you stick JFW_Visible_Person_Settings on an infantry preset and JFW_Per_Preset_Visible_Person_In_Vechicle or JFW_Per_Preset_Visible_People_In_Vechicle on the vechicle preset.
If you dont put JFW_Visible_Person_Settings on an infantry unit, you will get an invisible model.
Dont forget to do it for both teams (even if you only have vechicles with visible drivers for one team, remember that the other team may steal one)
You can use different messages (and different settings for JFW_Visible_Person_Settings) for each vechicle if you want.
The model you use must have no worldbox/boundingbox/etc and should have all collision flags set to off.


-The ONLY Renegade fan to pee off a school.
http://www.n00bstories.com/image.fetch.php?id=1055662786
http://www.n00bstories.com/stats/renegade_stats.php?player=bigwig992&team=gdi
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Some map making questions.
Next Topic: Purchase Icons - DDS Save Format?
Goto Forum:
  


Current Time: Mon Dec 02 17:24:43 MST 2024

Total time taken to generate the page: 0.00913 seconds