[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/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 - Medic Locker Traps

Battlefield Modding Tutorials BFMODS

Battlefield Modding Tutorials
It is currently Sun Jun 16, 2024 3:20 am

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 53 posts ]  Go to page 1, 2, 3, 4, 5 ... 7  Next
Author Message
 Post subject: Medic Locker Traps
PostPosted: Fri Aug 22, 2008 3:58 pm 
Offline

Joined: Tue Apr 29, 2008 12:04 pm
Posts: 135
ObjectTemplate.create ObjectSpawner AmphibiousSpawner
ObjectTemplate.setObjectTemplate 2 mediclocker
ObjectTemplate.setObjectTemplate 1 mediclocker
ObjectTemplate.MinSpawnDelay 999
ObjectTemplate.MaxSpawnDelay 999
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.TimeToLive 1
ObjectTemplate.Distance 0
ObjectTemplate.DamageWhenLost 10
ObjectTemplate.CreatNotInGrid 1
ObjectTemplate.setTeam 1

ObjectTemplate.Active ThomsonProjectile
ObjectTemplate.addTemplate AmphibiousSpawner
ObjectTemplate.SetPosition 0/-1/-25
ObjectTemplate.SetRotation 90/0.00/0.00
ObjectTemplate.addTemplate AmphibiousSpawner
ObjectTemplate.SetPosition 2.2/-1/-25
ObjectTemplate.SetRotation 270/0.00/0.00
ObjectTemplate.addTemplate AmphibiousSpawner
ObjectTemplate.SetPosition 1.1/-1/-26.1
ObjectTemplate.SetRotation 0/0.00/0.00
ObjectTemplate.addTemplate AmphibiousSpawner
ObjectTemplate.SetPosition 1.1/-1/-23.9
ObjectTemplate.SetRotation 180/0.00/0.00

this is my code it makes 4 medic lockers spawn from the thompsons bullets all facing inwards making a very evil trap
but i would like them to disapear after a set time so fsr i cant get it ti work this is a serverside mod does anyone have any sugesstions

_________________
My BF1942 Server's Homepage
BF1942 Servers Name Modded Omaha
BF1942 Servers IP 212.187.208.16


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Medic Locker Traps
PostPosted: Fri Aug 22, 2008 4:36 pm 
Offline

Joined: Tue Nov 27, 2007 7:56 pm
Posts: 1226
TTL or TimeToLive go search for it how to use it.


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Medic Locker Traps
PostPosted: Fri Aug 22, 2008 4:45 pm 
Offline

Joined: Tue Apr 29, 2008 12:04 pm
Posts: 135
ok
and something odd has happened when i join with my patch on they do nt show up
they are there and they work but i cant see them

_________________
My BF1942 Server's Homepage
BF1942 Servers Name Modded Omaha
BF1942 Servers IP 212.187.208.16


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Medic Locker Traps
PostPosted: Fri Aug 22, 2008 5:22 pm 
Offline

Joined: Tue Nov 27, 2007 7:56 pm
Posts: 1226
That's probably because they are medic lockers, try another vehicle?


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Medic Locker Traps
PostPosted: Fri Aug 22, 2008 5:39 pm 
Offline

Joined: Tue Apr 29, 2008 12:04 pm
Posts: 135
yer vehicles work but if i have the same patch surly i shoul be able to see them

_________________
My BF1942 Server's Homepage
BF1942 Servers Name Modded Omaha
BF1942 Servers IP 212.187.208.16


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Medic Locker Traps
PostPosted: Fri Aug 22, 2008 6:14 pm 
Offline
User avatar

Joined: Thu Oct 19, 2006 5:03 am
Posts: 1209
This cannot work serverside, sorry.

_________________
Image

Image


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Medic Locker Traps
PostPosted: Fri Aug 22, 2008 6:22 pm 
Offline

Joined: Sun Jul 13, 2008 7:29 pm
Posts: 168

_________________

_______________


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Medic Locker Traps
PostPosted: Fri Aug 22, 2008 6:27 pm 
Offline
User avatar

Joined: Wed Nov 24, 2004 12:00 am
Posts: 257
Location: New York City
We made a mod a few years ago that has a soft drink machine that despences poison canned cola. :lol:

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.  [ 53 posts ]  Go to page 1, 2, 3, 4, 5 ... 7  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 58 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:
cron
Powered by phpBB® Forum Software © phpBB Group