• Welcome to Battlezone Universe.
 

News:

Welcome to the BZU Archive dated December 24, 2009. Topics and posts are in read-only mode. Those with accounts will be able to login and browse anything the account had access granted to at the time. No changes to permissions will be made to be given access to particular content. If you have any questions, please reach out to squirrelof09/Rapazzini.

Main Menu

Gun/Effect Alignment

Started by Red Devil, March 08, 2008, 04:46:23 PM

Previous topic - Next topic

Nielk1

It would be nice is docked models that include a special HP can have hp on the ship ignored in preference of the attached model.

Click on the image...

Red Devil

I think it's due to it having to be attached to a GO and it having the eyepoint on the pilot/ship model.
What box???

mrtwosheds

Trouble is that were dealing with two weapon models, external view and cockpit view, the external one appears to all in the virtual BZ2 world, the cockpit is only ever viewed by "The Player". So if the hp was on the external gun you might still have the problem of the cockpit view not lining up quite right because it has its own animation but the external model is animated by the pilot models movement.
The trick is to be very careful how you animate it, chances are the hadean pilot cockpit animation may well be a straight copy of the isdf or scion cockpit animation.

Red Devil

 The thing is, if the HP was on the gun itself, there would have to be some linkage from the pilot model to the weapon model, but since the pilot/GO is the object firing the weapon and not the weapon firing the pilot/GO, the HP needs to be on the pilot/GO.

Hmmmm.... if the gun were on the end a turret (invisible), it would follow and fire from the end of the turret. 

Hmmm...I guess that, technically, it *is* on a turret (the torso, hence the ability to aim up and down), but if the pilot's arm was a turret, then you could aim it by moving the arms too, but you would need another input bound to it.

Oh worra, worra, worra...
What box???

Avatar

?????

They're treating the pilot as a ship, rather than the gun as a ship...  that's all.   Could've been done either way and they stuck with the 'pilot as ship' idea...

The gun should have the HP, should 'dock' with the player operating it, and the cockpit view should just be generated from the model.  :)

-Av-

Red Devil

Yes, and only craft and mines can fire weapons.  And friends don't let weapons fire weapons.  :-D
What box???

General BlackDragon

*cough popper cough*

:)

and splinter



*****General BlackDragon*****

Red Devil

Those are deployed weapons, not pilot weapons, and are fired by craft. 

You guys like to model.  Try making a pilot weapon that has its own HP.
What box???

Avatar

Ignores it...

You CAN animate weapon model skeletons, though, and the animation will play...  all the time, though, it's a loopy thing.

The Olympian rifle spins slowly because of this, and while I didn't intend for it to do so that's what happened and I now like it...  :)

-Av-

Red Devil

Thinking about adding some wobble to the rifles, especially sniper.
What box???

OvermindDL1

On most game engines the weapon usually has a 'hand' hp/bone, which is attached to a 'hand' on the model (or they could name it something like 'head' and have it attach to the head for a hat-gun or something), thus they always are perfectly synced as long as the 'hand' is placed right, but to do that you can just bring in a player model, line them up, then delete the player model and all bones except the hand bone, all perfect.

Generated by OvermindDL1's Signature Auto-Add Script via GreaseMonkey