Battlezone Universe

Battlezone Universe => Battlezone 2 => Maps and Modding => Topic started by: mrtwosheds on August 20, 2009, 12:47:02 PM

Title: Pilot Questions
Post by: mrtwosheds on August 20, 2009, 12:47:02 PM
In the pilot ODF's there are animfile entrys that specify which anim to play when the pilot is either empty handed, carrying a rifle, or a bazooka.

eg
animName2 = "walk"
animName6 = "walkC"
animName10 = "walkA"

what I can't figure out is, what is the switch that causes these to be used, how does the game know if a weapon is a rifle or a bazooka? It works, but I cannot figure out how, can't see any obvious entrys in the weapon ODF's.
Title: Re: Pilot Questions
Post by: mrtwosheds on August 20, 2009, 01:35:52 PM
Answers his own question... :-D
isFlying = 0// or no entry
Uses the rifle animation.
isFlying = 1
Uses the bazooka animation
No weapon at all, presumably uses the empty handed animation.
Title: Re: Pilot Questions
Post by: BNG Da BZ Fool on August 20, 2009, 03:55:20 PM
I wish there was a complete list of these items. I noticed that the = sign is used extensively in the odf file. Some extries make logical sense while others seem to be understood mainly by technical engineers that understand the physics involved in moving a 3d object around in a 3d environment.
Title: Re: Pilot Questions
Post by: TheJamsh on August 20, 2009, 07:21:03 PM
I was under the impression it changed to the correct animation if the pilot was in 'assault' mode. C for combat, A for assault. Makes sense :P

Obviously wether or not he switches to assault mode is done with the weapons (isAssault = 1/0) and the hardpoints (WeaponAssault# = 1/0)
Title: Re: Pilot Questions
Post by: mrtwosheds on August 20, 2009, 07:45:27 PM
Both rifle and bazooka already use combat/assault modes (the crouch and sniper rifle animation) isFlying =1/0 is used in the weapon ODF to determine whether the rifle or bazooka pilot animation sets are used to do this. The third animation set is empty handed and is presumably dependant on not having a weapon at all. (in slot 1?)
Title: Re: Pilot Questions
Post by: Avatar on August 22, 2009, 01:29:17 AM
Combat/Assault goes hand in hand with Deployed/Undeployed or as BZ2 also thinks of it Morphed/UnMorphed.

These are all just the engine looking at something and seeing if it's Deployed or not, which is pretty much the same as the "Assault/Combat" flag being set to "A" or "C".

See?

I have pilots that don't crouch but still switch between Assault and Combat, and those that lie flat on the ground rather than crouch.  The engine handles switching the weapon no matter what the animation actually does.

***

Another cool thing is that pilot weapon models can have animations, and they'll loop when you're looking at them through the cockpit view.   :)

-Av-
Title: Re: Pilot Questions
Post by: Red Devil on August 22, 2009, 01:42:10 AM
"...and those that lie flat on the ground rather than crouch."

...
Title: Re: Pilot Questions
Post by: TheJamsh on August 22, 2009, 10:56:00 AM
The name of the animation doesnt matter, it can be called whatever. Bazooka/Rifle isnt necesary.

i wish pilots in the BZ2 world were larger. I've done lots of pretty explosion with pilots blowing up and body parts flying everywhere, but i had to scale the effects down so much you can barely see whats happening.
Title: Re: Pilot Questions
Post by: Avatar on August 22, 2009, 12:29:51 PM
Hey, people went nuts when a Jak Killer actually ate someone in the Demo...   they certainly don't want gibs flying...

It's like the Babylon 5 episode where the janitors are watching a space battle.  They can tell what ship blows up by the color of the explosion, which is based on the atmosphere in the ship blowing up.   

Our pilots spray little red blobs.  Aliens can do green, or blue, or purple...  :)   

I also thought Scion Pilots should leave a tiny scrap blob when they blow up...

***
Quote from: Red Devil on August 22, 2009, 01:42:10 AM
"...and those that lie flat on the ground rather than crouch."

...

?

I tried lying down for the Ancient Olympian pilots but it looked stupid...  very terrain dependent (imagine lying straight off of a cliff, with only your toes touching the ground, or lying down and embedding yourself in a sand dune).   That's why I switched to standing up for their sniping pose, bringing the gun up to them.

-Av-
Title: Re: Pilot Questions
Post by: mrtwosheds on August 22, 2009, 12:39:53 PM
And if you get too low down your sniper rifles goes underground when you look down, Dalek Pilots are very short, so they splay their tentacles and stretch upwards in order to snipe.
Title: Re: Pilot Questions
Post by: TheJamsh on August 22, 2009, 07:52:28 PM
Wheres the fun in blobs? :D

GSH doesn't know how much evil he has allowed me to create with one flag... Nothing like blowing up a downed infiltrator carrying a scorcher flame tank on his back and seeing his arms bounce off the nearest scion windshield :P

Title: Re: Pilot Questions
Post by: Rocket on August 22, 2009, 10:16:06 PM
Quote from: Avatar on August 22, 2009, 12:29:51 PM
Hey, people went nuts when a Jak Killer actually ate someone in the Demo...

i did...
Title: Re: Pilot Questions
Post by: AHadley on August 23, 2009, 06:31:46 PM
Want bigger pilots? Make bigger pilots. All you'll need is a model... and let's face it, doing worse than the original can't be easy :P

Unless you're me.
Title: Re: Pilot Questions
Post by: mrtwosheds on August 23, 2009, 09:38:15 PM
Pilots are, as far as I'm concerned, the hardest of models to make for bz2. The originals are in my opinion very well made! considering their low poly count and the limitations the game engine places on their animation. Very few modder's have done better.
Title: Re: Pilot Questions
Post by: bigbadbogie on August 23, 2009, 10:06:48 PM
I agree. Pilots are damn hard!

Here is an old one from QF2 that was never quite finished:

(http://www.freewebs.com/bigbadbogie/qf2_pilot1.jpg)

(http://www.freewebs.com/bigbadbogie/qf2_pilot2.jpg)

The legs are too skinny and shoulders are a bit weird shaped.
Title: Re: Pilot Questions
Post by: mrtwosheds on August 23, 2009, 10:29:03 PM
Nice!, his spacesuit boots have laces!  :-D
Title: Re: Pilot Questions
Post by: AHadley on August 24, 2009, 09:54:15 AM
And he's wearing chainmail! :-D
Title: Re: Pilot Questions
Post by: bigbadbogie on August 24, 2009, 11:19:34 AM
It was my first ever UVW Mapping and texturing try...
Title: Re: Pilot Questions
Post by: bb1 on August 24, 2009, 03:06:21 PM
add some omni lights to the scene if you are going to be taking pictures ;)
Title: Re: Pilot Questions
Post by: TheJamsh on August 24, 2009, 06:19:18 PM
Its actually not too shabby :P, a QF pilots R&R outfit...

My modelling team are NOT going to like the requests i start putting out soon. Pilot time baby.
Title: Re: Pilot Questions
Post by: AHadley on August 24, 2009, 09:27:45 PM
this reminds me I need a new Cerberi pilot and some weapons...
Title: Re: Pilot Questions
Post by: Rocket on August 25, 2009, 07:28:19 AM
hey, and your pilot even has the pandemic mask!  :-D
Title: Re: Pilot Questions
Post by: TheJamsh on August 25, 2009, 04:43:02 PM
its not just pilots, i need weapons to. Ones with animations, and models that appear to 'lock together' as well, with animation support, and extra .dll controlled animations, and animations for the campaign.

You know you'll love it :)...