[HELP] Floating kits

Making or wanting help making your own asset? Check in here
Post Reply
temexter
Posts: 397
Joined: 2009-11-23 15:50

[HELP] Floating kits

Post by temexter »

I have a problem with kits:

When i reaquest a kit from a supply crate all works but the kit i drop shows the actual kit, not the drop kit:

Image

Tried to find some reference, with no luck.

So anyone?
Image
ImageImageImage
User avatar
Mineral
Retired PR Developer
Posts: 8534
Joined: 2012-01-02 12:37
Location: Belgium

Re: [HELP] Floating kits

Post by Mineral »

A kit, for example ger_rifleman has in it's .con file 3 lines :

Code: Select all

ObjectTemplate.geometry GER_kits
ObjectTemplate.geometry.kit 2
ObjectTemplate.geometry.dropGeom 11
This defines both the kit geometry used and the dropkit geom used and what skinnedmesh it's using as geometry. If you open up GER_kits.skinnedmesh you'll see that geom2 is the kit geometry, and geom11 is a dropkit geometry. Just as defined in that .con file :) It all comes down to setting it up right.
Image
temexter
Posts: 397
Joined: 2009-11-23 15:50

Re: [HELP] Floating kits

Post by temexter »

Uuuhlalaz :) Thanks Mineral, you're a sport!

And i should read the code more than just fiddle with it :D
Image
ImageImageImage
Post Reply

Return to “PR:BF2 Community Modding”