[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4668: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4670: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4671: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4672: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
Battlefield Modding Tutorials BFMODS • View topic - "Stop Base Camping"

Battlefield Modding Tutorials BFMODS

Battlefield Modding Tutorials
It is currently Wed Jun 18, 2025 8:21 am

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 12 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: "Stop Base Camping"
PostPosted: Thu Apr 23, 2009 4:47 pm 
Offline
User avatar

Joined: Fri Dec 28, 2007 12:24 pm
Posts: 204
Location: The Kingdom that is United

_________________
Image


Top
 Profile Send private message E-mail  
 
 Post subject: Re: "Stop Base Camping"
PostPosted: Thu Apr 23, 2009 5:16 pm 
Offline

Joined: Tue Nov 27, 2007 7:56 pm
Posts: 1226
I ll explain the code for you

rem *** Kills red guys ***
This tells which supplydepot is used
ObjectTemplate.Active hanomagVehicleSupplyDepot
What the radius is, remember the diameter is double this number
ObjectTemplate.radius 150
Which team is affected, 0 is both, 1 is red 2 is blue
ObjectTemplate.team 1
How much health there should be taken off the soldiers. -1 is infinite ammo and -2 is the amount of health drained per second.
ObjectTemplate.setHealth -1 -2 0
Which vehicle, -1 infinite and -4 HP per second, replace names with the vehicles you like the be affected.
ObjectTemplate.addVehicleType t72 -1 -4 0
ObjectTemplate.addVehicleType m1a1 -1 -4 0
ObjectTemplate.addVehicleType mi24d -1 -4 0
ObjectTemplate.addVehicleType ah64 -1 -4 0
ObjectTemplate.addVehicleType su-25 -1 -4 0
ObjectTemplate.addVehicleType a10_b -1 -4 0
Pretty obvious
ObjectTemplate.workOnVehicles 1
Pretty obvious
ObjectTemplate.workOnSoldiers 1


Top
 Profile Send private message E-mail  
 
 Post subject: Re: "Stop Base Camping"
PostPosted: Fri Apr 24, 2009 3:29 pm 
Offline
User avatar

Joined: Fri Dec 28, 2007 12:24 pm
Posts: 204
Location: The Kingdom that is United
Awesome thanks I'll see what I can do.

_________________
Image


Top
 Profile Send private message E-mail  
 
 Post subject: Re: "Stop Base Camping"
PostPosted: Fri Apr 24, 2009 4:09 pm 
Offline

Joined: Tue Nov 27, 2007 7:56 pm
Posts: 1226
No problem, we are all here to help noobs :lol:
Oh and to discover the last bits of unknown code and things like that


Top
 Profile Send private message E-mail  
 
 Post subject: Re: "Stop Base Camping"
PostPosted: Fri Apr 24, 2009 9:20 pm 
Offline
User avatar

Joined: Fri Dec 28, 2007 12:24 pm
Posts: 204
Location: The Kingdom that is United
I have another problem, when I fly a plane into the killing area and the driver and itself die, the burned out body of the plane appears to stick... static.

Image

Do you know any adjustments I could make to the code to stop this from happening?

_________________
Image


Top
 Profile Send private message E-mail  
 
 Post subject: Re: "Stop Base Camping"
PostPosted: Fri Apr 24, 2009 9:48 pm 
Offline
User avatar

Joined: Sun Dec 31, 2006 12:13 am
Posts: 2027


Top
 Profile Send private message E-mail  
 
 Post subject: Re: "Stop Base Camping"
PostPosted: Fri Apr 24, 2009 10:22 pm 
Offline

Joined: Tue Nov 27, 2007 7:56 pm
Posts: 1226
In that way they will just be invisible
We have yet to find a solution for it, but the effect is reduced if you use lots of smaller spheres


Top
 Profile Send private message E-mail  
 
 Post subject: Re: "Stop Base Camping"
PostPosted: Fri Apr 24, 2009 10:44 pm 
Offline
User avatar

Joined: Fri Dec 28, 2007 12:24 pm
Posts: 204
Location: The Kingdom that is United
You can move through the dead hulks right? So making them invisible should fix the problem, nobody can see them, and nobody can bump into them, they just go straight through.

Or am I wrong

_________________
Image


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.  [ 12 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 27 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