Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » HELP! - Cinematics - Play an Animation for Players Vehicle?
HELP! - Cinematics - Play an Animation for Players Vehicle? [message #251476] Sat, 24 March 2007 16:26 Go to next message
WNxCABAL is currently offline  WNxCABAL
Messages: 1391
Registered: July 2004
Karma: 0
General (1 Star)
Hello,
So basically I would like to create a cinematic script which performs the following:

- Start Sequence

- Player (In Vehicle) enters a Script Zone with JFW_Zone_Play_Cinematic attached initiating cinematic script txt file and plays at a specific location.

- The Vehicle then attaches itself to an Animated Bone of another w3d file and Plays the Animation.

- This would then cause the vehicle to do a sort of action (Player still driver) which is determined by the bone and lands at a different, specific location.

- The Vehicle (Player still driver) should still be drivable.

- End Sequence


Now, I've just started learning cinematics and sort of know how to do this for a Create_Real_Object, however I just cannot figure how to do this for the vehicle the player is driving.

Here's what I have so far which spawns a Med Tank, sends it flying in the air (following the bone animation), animation ends within air which causes the Tank to fall to the ground.

-0 Create_Object, 1, "B_Flipper"
-0 Create_Real_Object, 2, "CnC_GDI_Medium_Tank"

-0 Play_Animation, 1, "b_Flipper.b_Flipper", 0

-0 Attach_to_Bone, 2,1,"bone_flipper"
-15 Attach_to_Bone, 2,-1,"bone_flipper"

-20 destroy_object, 1



Any help is much appreciated!

Cheers,

Andy


Warrior Nation Number One Gaming Clan In The World Razz

http://www.tibnas.com/Outbound_Images/wnxcabal_cabalcc3kw_sig_ani.gif
Re: HELP! - Cinematics - Play an Animation for Players Vehicle? [message #251506 is a reply to message #251476] Sat, 24 March 2007 21:01 Go to previous messageGo to next message
Jerad2142 is currently offline  Jerad2142
Messages: 3808
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
From my experience you can not attach none cinematic objects (objects that are not created in the cinematic) the only why you really could do it is through scripting (like the carryall script). If you know how to script that is the way to go if you do not, I can create the script for you and it will be released in scripts 3.2 (if you can get me all the details of how it should work in time).

Re: HELP! - Cinematics - Play an Animation for Players Vehicle? [message #251509 is a reply to message #251476] Sat, 24 March 2007 21:25 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

Won't make 3.2, 3.2 is in freeze right now except for the last few very limited features.


Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies
Re: HELP! - Cinematics - Play an Animation for Players Vehicle? [message #251542 is a reply to message #251506] Sun, 25 March 2007 04:33 Go to previous message
WNxCABAL is currently offline  WNxCABAL
Messages: 1391
Registered: July 2004
Karma: 0
General (1 Star)
Jerad Gray wrote on Sun, 25 March 2007 05:01

From my experience you can not attach none cinematic objects (objects that are not created in the cinematic) the only why you really could do it is through scripting (like the carryall script). If you know how to script that is the way to go if you do not, I can create the script for you and it will be released in scripts 3.2 (if you can get me all the details of how it should work in time).


Thanks for the reply.

If you would like to a create a script which attaches a players vehicle to an animated bone, go for it, I'm sure it will come useful to myself at a later time or for somebody else.

I have however been looking into alternate ways of giving a similar effect with existing scripts.
JFW_Bounce_Zone_Entry_All_Directions sends the vehicle flying in the air at a designated location to which is what the bone sort of did.

Basically what I am doing is creating a map modification (mix, not pkg) which will act like a Robot Wars / Battlebots style of gameplay. On BBC's/CH5's Robot Wars, they had all kinds of arena features, such as flame pit, House Robots, Drop Zone, The Pit, Chop Saws and The Arena Flipper. So on the TV show, the contestant would accidentally drive/be pushed onto this and the flipper would send anything on it, flying in the air, which I'm trying to re-create in Renegade.

I will be re-creating alot of the robots to be used in game, it should be fun!


Warrior Nation Number One Gaming Clan In The World Razz

http://www.tibnas.com/Outbound_Images/wnxcabal_cabalcc3kw_sig_ani.gif
Previous Topic: My first (horrible) model
Next Topic: Viewing your 3rd person models ingame
Goto Forum:
  


Current Time: Sat Sep 07 23:41:40 MST 2024

Total time taken to generate the page: 0.00731 seconds