Problem with phone

Ask questions, discuss ideas, get answers

Re: Problem with phone

Postby Apache Thunder » Thu Nov 19, 2009 8:02 pm

Yes I believe that is the setting that tells what bone to put the kit part on. For example you make a new skeleton bone in the SOldier skeleton and name it StationaryBone. Here is what would be needed to attach a kit to that new bone:

Code: Select all
ObjectTemplate.create KitPart SoldierSniperBackpack
ObjectTemplate.setTeamGeometry 1 Radio
ObjectTemplate.setTeamGeometry 2 US_Assault_Backpack
ObjectTemplate.setBoneName StationaryBone
ObjectTemplate.setCopyLinksCount 0
ObjectTemplate.hasDynamicShadow 1

I believe that bones in BF42 are case sensitive, so be sure you match the name of the new bone exactly. ;)

That code also shows how to make team specific kit geometries. ;)

Also note that you can give kit parts dynamic shadows! Turn on shadows for the kitpart AND the kit it will be a part of! The kit geometry in question must had a shadow mesh for it work obviously. ;)

I have cameras in your head!
User avatar
Apache Thunder
Posts: 1195
Joined: Mon Oct 19, 2009 2:48 am
Location: Levelland Texas, USA


Return to 1942 Modding Discussion

Who is online

Users browsing this forum: Google [Bot] and 19 guests