SWBFGamers

Modding for the Original SWBF1 and SWBF2 => SWBF1 Modding Tutorials => Topic started by: Snake on April 20, 2011, 09:28:57 AM

Title: Snake's Tutorial on Addon Meshes in SWBF1
Post by: Snake on April 20, 2011, 09:28:57 AM
Addon Meshes are best known as kamas (Or the lower body capes) that are on SWBF2 units. The reason they don't work in swbf1 is because they are part of the model of the SWBF2 unit. The only files pertaining to the kamas are .tga files which won't work. It is possible, however, to have some addon meshes in SWBF1. Examples are Dooku's and Vader's capes. Wookie dreads from the SWBF2 wookie will work because they have an actual model (.msh). Here's how to put them in game:

There are lines in countdooku and darthvaders odf files at the very bottom. I don't know what they say atm because I am on my grandmas mac. I will edit this post later tonight with the actual lines. It says

AnimatedAddon         = "CAPE"

GeometryAddon         = "cis_inf_countdooku_cape"
AnimationAddon         = "cis_inf_dooku_cape"
AddonAttachJoint      = "bone_ribcage"

always use the cis_inf_dooku_cape animation but you can change the geometry as almost ANYTHING as long as it's an .msh file. The geometry name can be rep_inf_trooper and it will show up as a trooper hanging upside down off your back. You can also change the

bone_ribcage to several different bones. I have tried bone_head (which is what you use to put dreads on a wookie) and bone_l_hand which crashed. I will be working on trying to put the actual animation of wookie dreads in but I don't know if there is one actual zafbin file.

Known working bones:
bone_head
bone_ribcage
Known crashed bones:
bone_l_hand

Bone Names:
bone_root
bone_a_spine
bone_b_spine
bone_ribcage
bone_l_clavicle
bone_l_upperarm
bone_l_forearm
bone_l_hand
bone_r_clavicle
bone_r_upperarm
bone_r_forearm
bone_r_hand
bone_neck
bone_head
bone_pelvis
bone_r_thigh
bone_r_calf
bone_r_foot
bone_r_toe
bone_l_thigh
bone_l_calf
bone_l_foot
bone_l_toe

hp_weapons
Title: Re: Snake's Tutorial on Addon Meshes in SWBF1
Post by: MileHighGuy on April 22, 2011, 02:51:49 PM
Nice job!this will let us make dual weapons, correct?
Title: Re: Snake's Tutorial on Addon Meshes in SWBF1
Post by: Snake on April 22, 2011, 09:13:17 PM
It may be possible, I highly doubt it but some things will work.
Title: Re: Snake's Tutorial on Addon Meshes in SWBF1
Post by: Bamdur on April 22, 2011, 10:18:35 PM
hm dual weapons. it would require an odf command which i don tthink swbf has but its possible to animate. but as an addon... maybe
Title: Re: Snake's Tutorial on Addon Meshes in SWBF1
Post by: SleepKiller on April 23, 2011, 08:56:38 PM
Another method is using these ODF commands.

I've never tested them but I've seen them in ODF files for BFI.

AttachOdf       = "rep_prop_pistol"
AttachToHardPoint    = "bone_l_hand"

I don't know if you could use it to actuarially add another weapon to the model but idk.

Please give me a little credit in your readme if you use the idea of these odf commands.
Title: Re: Snake's Tutorial on Addon Meshes in SWBF1
Post by: Bamdur on April 24, 2011, 01:21:15 AM
ill have to test that but since thats usually for props it probably wont work. good idea though
Title: Re: Snake's Tutorial on Addon Meshes in SWBF1
Post by: SleepKiller on April 24, 2011, 03:25:15 AM
Yeah I thought I made it clear it I thought it was for props/lights to.
Title: Re: Snake's Tutorial on Addon Meshes in SWBF1
Post by: Xfire Keenmike aka cull on April 25, 2011, 01:34:51 AM
Something I tried and maybe can help a little. (http://www.xfire.com/video/26780e/)
Title: Re: Snake's Tutorial on Addon Meshes in SWBF1
Post by: Phobos on April 27, 2011, 03:58:58 PM
what about bone_pelvis for fixing blackfoot with an invisible coverup mesh to hide it?
Title: Re: Snake's Tutorial on Addon Meshes in SWBF1
Post by: MileHighGuy on May 09, 2011, 05:31:38 PM
Ive made double pistols with this. It works perfectly, except you cant see the addons in the unit select screen, but you can in play. (the animations aren't working but that's not really related.)
Title: Re: Snake's Tutorial on Addon Meshes in SWBF1
Post by: Snake on May 10, 2011, 11:40:39 AM
Nice, I can't imagine the possibilities of addon meshes :D I hope the double weapons can be perfected.
EhPortal 1.34 © 2024, WebDev