Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Scripts
Scripts [message #19798] Sat, 10 May 2003 23:20 Go to previous messageGo to previous message
bigwig992 is currently offline  bigwig992
Messages: 555
Registered: February 2003
Location: Nashua, NH
Karma:
Colonel
*sigh*
Here is my most updated script.
*****************Camera
-0 Enable_Letterbox, 1, 1
-0 Create_Object, 0, "camera", 0, 10, 50, 0
-0 Play_Animation, 0, "camera.camera", 1
-0 Control_Camera, 0, "camera"
-0 Set_Screen_Fade_Color, 0, 0, 0, 0
-0 Set_Screen_Fade_Opacity, 1, 0
-290 Set_Screen_Fade_Opacity, 0, 2
-319 Set_Screen_Fade_Opacity, 0, 0
-319 Control_Camera, -1
-319 Enable_Letterbox, 0, 1
-319 Destroy_Object, 0
*****************Animation
-0 Create_Object, 1, "fly_bone", 0, 0, 50, 0
-0 Play_Animation, 1, "fly_bone.fly_bone", 1
-305 Destory_Object, 1
*****************A-10
-0 Create_Object, 2, "GDI_A10_Flyover", 0, 0, 50, 0
-0 Attach_to_Bone, 2, 1, "Box01"
-301 Destory_Object, 2
*****************Pilot Eject
-248 Create_Real_Object, 3, "GDI_Grenader_0", 1, "Box01"
-248 Create_Object, 4, "eject_bone", 0, 100, 50, 0
-248 Attach_to_Bone, 4, 1, "Box01"
-248 Attach_to_Bone, 3, 4, "eject"
-250 Play_Animation, 4, "eject_bone.eject_bone", 1
-260 Attach_to_Bone, 3, -1, "eject"
-270 Destory_Object, 4
*****************Sounds
-0 Play_Audio, "gdi_A10_Idle_01", 1, "Box01"


I have the poke 'n' play script attached to a civilian, and created a spawner for it. The poke n play parameters are "Text File: brianscript.txt" (its in my editor cache) and "Location: X=0 Y=0 Z=0". I have the following w3d's in my editor cache:
camera.w3d
eject_bone.w3d
fly_bone.w3d

I have created a new preset by clicking "add" under one of the other music songs, to get its volume and radius down. I changed the file to "mayday.wav", which is also in my editor cache.

Now whenever I "poke" my civilian, Renegade crashes. I think I'm doing everything right, and I just told you, everything. Any Suggestions?


-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
Read Message
Read Message
Read Message
Read Message
Previous Topic: Revamped Stealth Generators
Next Topic: Ceiling guns in CnC mode
Goto Forum:
  


Current Time: Tue Dec 24 12:59:49 MST 2024

Total time taken to generate the page: 0.00875 seconds