[?] Soldier & Kit editing
-
Insanitypays
- PR:BF2 Developer
- Posts: 753
- Joined: 2009-06-13 09:23
[?] Soldier & Kit editing
How do you change what a soldier using a certain kit wears (EX: engineer with helmet or give a medic a ghilli suit)
Last edited by Insanitypays on 2011-02-14 23:40, edited 2 times in total.
Reason: spelling error
Reason: spelling error
-
Wakain
- Posts: 1159
- Joined: 2009-11-23 21:58
re: [?] Soldier & Kit editing
hmm... now that's interesting... russian specialist with a bandana anyone? 
-
Hauteclocque
- Retired PR Developer
- Posts: 3312
- Joined: 2008-10-02 17:55
re: [?] Soldier & Kit editing
This way you change the whole kit (i.e: you give the medic kit to the rifleman for example), not only the helmet/medic bag/etc.frank_beans wrote:Could be wrong, but I believe it is the highlighted section below in the kit tweak file:
ObjectTemplate.create Kit cf_automatic_rifleman
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.setNetworkableInfo KitInfo
ObjectTemplate.kitType Support
ObjectTemplate.aiTemplate Support
ObjectTemplate.geometry cf_kits
ObjectTemplate.geometry.kit 5
ObjectTemplate.geometry.dropGeom 14
ObjectTemplate.setHasCollisionPhysics 1
ObjectTemplate.setCollisionMesh kitcol
ObjectTemplate.abilityRestoreRate 0.15
ObjectTemplate.abilityInVehicleRadius 0
ObjectTemplate.abilityInVehicleStrength 0
ObjectTemplate.abilityInVehicleMaterial 84
ObjectTemplate.cullRadiusScale 100000
ObjectTemplate.timeToLiveAfterDeath 25
The only way to add/remove kit mesh parts is modifying the export files of the kits. So, you have to have MAX9 and know a fair bit about exporting

-
=LK= A.H.
- Posts: 167
- Joined: 2010-04-20 20:02
re: [?] Soldier & Kit editing
Getting flashbacks of OFP's Spetsnaz for some reasonWakain wrote:hmm... now that's interesting... russian specialist with a bandana anyone?![]()
-
samogon100500
- Posts: 1134
- Joined: 2009-10-22 12:58
re: [?] Soldier & Kit editing
Thats should be better.Wakain wrote:hmm... now that's interesting... russian specialist with a bandana anyone?![]()


-
Wakain
- Posts: 1159
- Joined: 2009-11-23 21:58
re: [?] Soldier & Kit editing
lol remember that one, what happened to this kit?
-
Insanitypays
- PR:BF2 Developer
- Posts: 753
- Joined: 2009-06-13 09:23
re: [?] Soldier & Kit editing
How would I just change their helmets? note- I have max 9
Last edited by Insanitypays on 2011-02-16 00:29, edited 1 time in total.
