[?] Soldier & Kit editing

Making or wanting help making your own asset? Check in here
Post Reply
Insanitypays
PR:BF2 Developer
Posts: 753
Joined: 2009-06-13 09:23

[?] Soldier & Kit editing

Post by Insanitypays »

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
Wakain
Posts: 1159
Joined: 2009-11-23 21:58

re: [?] Soldier & Kit editing

Post by Wakain »

hmm... now that's interesting... russian specialist with a bandana anyone? :p
Hauteclocque
Retired PR Developer
Posts: 3312
Joined: 2008-10-02 17:55

re: [?] Soldier & Kit editing

Post by Hauteclocque »

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
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.

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 :P
Image
=LK= A.H.
Posts: 167
Joined: 2010-04-20 20:02

re: [?] Soldier & Kit editing

Post by =LK= A.H. »

Wakain wrote:hmm... now that's interesting... russian specialist with a bandana anyone? :p
Getting flashbacks of OFP's Spetsnaz for some reason :)
samogon100500
Posts: 1134
Joined: 2009-10-22 12:58

re: [?] Soldier & Kit editing

Post by samogon100500 »

Wakain wrote:hmm... now that's interesting... russian specialist with a bandana anyone? :p
Thats should be better.
Image
Image
Wakain
Posts: 1159
Joined: 2009-11-23 21:58

re: [?] Soldier & Kit editing

Post by Wakain »

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

Post by Insanitypays »

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.
Post Reply

Return to “PR:BF2 Community Modding”