ODF property to play animation when key is pressed?
Moderator: Moderators
-
fiddler_on_the_roof
- 1st Lieutenant

- Posts: 460
- Joined: Wed Nov 12, 2008 5:28 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
ODF property to play animation when key is pressed?
is it possible to include in something's .odf that when a key is pressed, it plays an animation?
and how would it be done?
thanks in advance
and how would it be done?
thanks in advance
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: is it possible with animations.
This is done through a .combo file for melee users or a animset and fire animations for a normal weapon user.
-
mswf
- Master Bounty Hunter

- Posts: 1674
- Joined: Tue Mar 31, 2009 3:40 pm
- Location: Twello, The Netherlands
- Contact:
Re: ODF property to play animation when key is pressed?
The only thing I could think of if you'd want to use it for a weapon, is making a repeating weapon with "0" ammo. Then, when you'd fire, you'd automatically reload. (so that'd be your custom animation)
Though it would't be a very usefull weapon. (or, if you make the weapon have only 1 "bullet", then make it ordnance that doesn't do any damage at first, but after a small period of time, making it look like the animation does damage)
Though it would't be a very usefull weapon. (or, if you make the weapon have only 1 "bullet", then make it ordnance that doesn't do any damage at first, but after a small period of time, making it look like the animation does damage)
-
fiddler_on_the_roof
- 1st Lieutenant

- Posts: 460
- Joined: Wed Nov 12, 2008 5:28 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: ODF property to play animation when key is pressed?
also, I was wondering if it work just like that for ships as well? That was what i was mainly looking for.fiddler_on_the_roof wrote:is it possible to include in something's .odf that when a key is pressed, it plays an animation?
and how would it be done?
thanks in advance
thanks
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: ODF property to play animation when key is pressed?
There's no ODF function that makes the character go through an animation when a key is pressed directly. What I'm saying is that there are indirect ways to do it (fire animations of weapons, as I suggested). As vehicles have no fire animation, this workaround cannot be implemented with vehicles.
What do you need this for, and what is the effect you wish to achieve? If you tell us this, perhaps we'd think of another workaround altogether.
What do you need this for, and what is the effect you wish to achieve? If you tell us this, perhaps we'd think of another workaround altogether.
@ mswf - You're making the reload anim the custom one in this suggestion? Why not just the fire anim?mswf wrote:The only thing I could think of if you'd want to use it for a weapon, is making a repeating weapon with "0" ammo. Then, when you'd fire, you'd automatically reload. (so that'd be your custom animation)
Though it would't be a very usefull weapon. (or, if you make the weapon have only 1 "bullet", then make it ordnance that doesn't do any damage at first, but after a small period of time, making it look like the animation does damage)
-
Darth_Squoobus
- General

- Posts: 760
- Joined: Mon Aug 03, 2009 3:21 am
- Projects :: No Mod project currently.
- Location: over the hills and far away
Re: ODF property to play animation when key is pressed?
Actually, certain figters like the X-wing and Vulture droid go through animations on takeoff.Fiodis wrote:There's no ODF function that makes the character go through an animation when a key is pressed directly. What I'm saying is that there are indirect ways to do it (fire animations of weapons, as I suggested). As vehicles have no fire animation, this workaround cannot be implemented with vehicles.
What do you need this for, and what is the effect you wish to achieve? If you tell us this, perhaps we'd think of another workaround altogether.
-
kinetosimpetus
- Imperial Systems Expert

- Posts: 2381
- Joined: Wed Mar 25, 2009 4:15 pm
- Projects :: A secret project
Re: ODF property to play animation when key is pressed?
i believe the emphasis was on "fire" not "no"Fiodis wrote:As vehicles have no fire animation, this workaround cannot be implemented with vehicles.
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: ODF property to play animation when key is pressed?
Fiodis wrote:There's no ODF function that makes the character go through an animation when a key is pressed directly. What I'm saying is that there are indirect ways to do it (fire animations of weapons, as I suggested). As vehicles have no fire animation, this workaround cannot be implemented with vehicles.
KS is correct. Vehicles (insofar as I have seen, which I like to think is quite a lot) have no fire animations.
-
fiddler_on_the_roof
- 1st Lieutenant

- Posts: 460
- Joined: Wed Nov 12, 2008 5:28 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: ODF property to play animation when key is pressed?
well, i wanted to make it so that if you say, pressed "f", the s-foils on fighters would go up or down, depending on their current status.
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: ODF property to play animation when key is pressed?
Ah, you want to be able to switch between combat and noncombat modes with, say, an Xwing? That's tricky, I'm not sure if it's possible...I'll think on it and get back to you.
-
fiddler_on_the_roof
- 1st Lieutenant

- Posts: 460
- Joined: Wed Nov 12, 2008 5:28 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: ODF property to play animation when key is pressed?
Right, a quick search of some shipped flyer animations (just to make certain that the only one is the takeoff animation) was discouraging: this indeed was the case.
There was one that stood out, however. rep_fly_vtrans had "dropoff" instead of "takeoff", as all the others had. Anyone know what this is?
EDIT - Ah, actually, the snowspeeder has all_snowspeeder_9pose instead of takeoff. What's this about, too? I don't notice any animations at all on snowspeeders....
There was one that stood out, however. rep_fly_vtrans had "dropoff" instead of "takeoff", as all the others had. Anyone know what this is?
EDIT - Ah, actually, the snowspeeder has all_snowspeeder_9pose instead of takeoff. What's this about, too? I don't notice any animations at all on snowspeeders....
-
kinetosimpetus
- Imperial Systems Expert

- Posts: 2381
- Joined: Wed Mar 25, 2009 4:15 pm
- Projects :: A secret project
Re: ODF property to play animation when key is pressed?
depending on speed, and left or right turns, the flaps raise and lower
edit: flaps = airbrakes i think
edit: flaps = airbrakes i think
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: ODF property to play animation when key is pressed?
Flyers can't do that, that's only for hover vehicles.kinetosimpetus wrote:depending on speed, and left or right turns, the flaps raise and lower
edit: flaps = airbrakes i think
-
kinetosimpetus
- Imperial Systems Expert

- Posts: 2381
- Joined: Wed Mar 25, 2009 4:15 pm
- Projects :: A secret project
- AceMastermind
- Gametoast Staff

- Posts: 3285
- Joined: Mon Aug 21, 2006 6:23 am
- Contact:
Re: ODF property to play animation when key is pressed?
The classlabels "flyer" and "hover" both support 9pose animationsFiodis wrote:Flyers can't do that, that's only for hover vehicles.
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: ODF property to play animation when key is pressed?
Oh my gosh. I had forgotten about that.
Well, then, Fiddler, it seems it may be possible to get the s-foils to fold down when you're turning/decelerating....not exactly what you wanted, but at least it's something....
But does anyone know what the dropoff animation does?
Well, then, Fiddler, it seems it may be possible to get the s-foils to fold down when you're turning/decelerating....not exactly what you wanted, but at least it's something....
But does anyone know what the dropoff animation does?
- AceMastermind
- Gametoast Staff

- Posts: 3285
- Joined: Mon Aug 21, 2006 6:23 am
- Contact:
Re: ODF property to play animation when key is pressed?
It looks like an old unused animation for the LAAT/C to drop ATTEs in the Clone Wars game.Fiodis wrote:But does anyone know what the dropoff animation does?
