Page 1 of 1

Shield Saber / Weapon

Posted: Sun Jun 07, 2009 2:40 am
by bhawkgoalie10
hey,

i downloaded caleb's shield from one of his model packs and then modified a normal saber's ODF. i changed the geometry name to the name of the MSH and same with the texture to the tga.
when i played the game there was no saber at all, the animations still worked and everything but there was nothing in his hands to attack with. funny but not the point :/

so then i did the same into a normal rifle's ODF and it showed up perfectly fine. of course they are shooting through the shield and that's not the intent...so my question is have i done anything wrong? or is there a way (if the saber isnt possible) to make the rifle into something that acts like a shield

thanks :D

Re: Shield Saber / Weapon

Posted: Sun Jun 07, 2009 10:13 am
by Fiodis
Im not entirely sure, but I don't believe Caleb's shield has a firepoint. I've got it working before by setting it up as an offhand weapon with Aayla's saber's ODF. If you do what you say, with the saber, be sure to change the saber length to 0. You don't need to change the saber's texture, just it's mesh. Search through the msh file for something called hp_fire or similar, and put this as the firepoint. If you don't find anything just use the dummyroot.

If you want it to act as a shield instead of a saber (block only, not attack) then you'll have to do some combo editing. I'd suggest just getting it in-game as a saber to start with. Then you can fool around with .combo's.

Re: Shield Saber / Weapon

Posted: Sun Jun 07, 2009 12:19 pm
by bhawkgoalie10
i couldnt get anything working...you said you got his to work? if you could show me what exactly you did that would help...
yeah i tried using ones like hp_fire, hp_fire1, hp_fire2, hp_fire1 hp_weapons, etc but nothing :/

then again it's a shield right? so maybe i could turn the rifle into a personal shield emitter? i could do that right?

anyway here's a pic, i dont know why but half my guys have the saber and the other half has the rifle :lol:
Hidden/Spoiler:
Image

Re: Shield Saber / Weapon

Posted: Sun Jun 07, 2009 12:41 pm
by Fiodis

Code: Select all

[WeaponClass]

ClassLabel      = "melee"
ClassParent     = "com_weap_inf_lightsaber"

[Properties]

GeometryName        = "rep_weap_inf_lightsabre"
ComboAnimationBank  = "human_sabre melee rep_hero_aalya"

NumDamageEdges = "2"

OffhandFirePointName       = "hp_fire hp_weapons"
LightSaberLength    = "1.0"
LightSaberWidth     = "0.08"
LightSaberTexture   = "greenlightsabre"
LightSaberTrailColor = "82 255 7 128"

OffhandGeometryName        = "rohan_shield"
OffhandFirePointName       = "hp_fire_lightsabre"
LightSaberLength    = "0.0"
LightSaberWidth     = "0.0"
LightSaberTexture 	= "none"
LightSaberTrailColor = "7 85 255 0"
I can't find the exact odf but that's something like it.

You can give him the Droideka's shield emitter as a weapon, if you so wish.

Re: Shield Saber / Weapon

Posted: Sun Jun 07, 2009 1:01 pm
by bhawkgoalie10
rrr...all im getting is one very transparent white saber...

Re: Shield Saber / Weapon

Posted: Sun Jun 07, 2009 6:12 pm
by AQT
Don't use the shield as a weapon. Use it as an addon mesh. Add these lines to your unit's .odf:

Code: Select all

AnimatedAddon = "shield"
GeometryAddon = "rohan_shield"
AddonAttachJoint = "bone_l_hand"
It will look like your unit is using the shield when blocking.

Re: Shield Saber / Weapon

Posted: Sun Jun 07, 2009 7:06 pm
by bhawkgoalie10
THANK YOU! :D