Battlefield Modding Tutorials BFMODS

Battlefield Modding Tutorials
It is currently Tue Jun 17, 2025 4:24 pm

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 41 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6
Author Message
PostPosted: Sun Feb 22, 2009 5:20 pm 
Offline
User avatar

Joined: Fri Oct 03, 2008 4:37 pm
Posts: 513
Location: Levelland, Texas
See my post here: viewtopic.php?f=3&t=3463

I solved the problem mostly. Now you can have kits disappear after they spawn from a soldier. It involves adding mobile physics to the kit and despite adding mobile physics usually being a big no no in Server Side modding, it seems to work on kits server side. Most importantly, you can't use the standard mobile physics setting as it has no effect. It must be the "set" version. (ObjectTemplate.sethasMobilePhysics 1) Since oddly the standard one has no effect.

However the kit still is technically on the map (it just falls through the ground so that nobody can pick it up), so for those who are trying to get kits with spawn points on them to go away, then this probably won't be of use. But for all other purposes it should do the job. Perhaps just add the spawn point to a weapon other then the primary weapon (the one that kit shows when on the ground). Try adding it to the knife or the hand gun. Since kits only use one weapon for visible use when on the ground.

If you do use this to get rid of dropped kits, be sure to add the "ObjectTemplate.holdobject 1" code to make any kits you spawn on the map stay in place, since it will effect map spawned kits as well.

_________________
ImageImage
I have cameras in your head!


Top
 Profile Send private message E-mail  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 41 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6

All times are UTC


Who is online

Users browsing this forum: No registered users and 52 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group