[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 - Hey Guys

Battlefield Modding Tutorials BFMODS

Battlefield Modding Tutorials
It is currently Wed Jun 18, 2025 6:50 am

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 7 posts ] 
Author Message
 Post subject: Hey Guys
PostPosted: Sun Sep 30, 2007 3:30 am 
Offline

Joined: Mon Oct 09, 2006 12:51 pm
Posts: 782
Well recently ive had alot of great ideas on how to bring BF2 Style gameplay, and BF2 Style features to the BF1942 Settings, unfortunately its the smallest of things that i need help on. this is gunna sound really stupid but...

How do i make things spawn only once? lmao...

id like it to spawn, be picked up but not spawn again, and then when the guy using it dies, then it respawns after a few.

Im perplexed.


And also does anyone know where the code for how long the Pick-up-able kits stay on the ground is. Want them to disappear faster.


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Hey Guys
PostPosted: Sun Sep 30, 2007 4:34 am 
Offline

Joined: Sat Dec 02, 2006 7:43 pm
Posts: 595
Hey archi, long time no see :)

anyways,
This is taken from the level's objectspawntemplates.con file

ObjectTemplate.create ObjectSpawner ShermanSpawner
ObjectTemplate.setObjectTemplate 2 sherman
ObjectTemplate.MinSpawnDelay 40
ObjectTemplate.MaxSpawnDelay 80
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.TimeToLive 45 <------Increasing this will increase how long it stays on the ground after being dropped
ObjectTemplate.Distance 40
ObjectTemplate.DamageWhenLost 10 <-------You may want to also make this 0

As for your other 2 Q's, those are both solved the same way. I cant remember exactly what the code is but its like
ObjectTemplate.MaxNumOfObjectsSpawned #


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Hey Guys
PostPosted: Sun Sep 30, 2007 4:36 am 
Offline

Joined: Mon Oct 09, 2006 12:51 pm
Posts: 782
Thanx. Ive already got People to be able to Spawn on the Medics and The Snipers when they are running around, But after they die the kit stays there and you can still spawn on it. Cant have that. xD


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Hey Guys
PostPosted: Sun Sep 30, 2007 5:07 am 
Offline
User avatar

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


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Hey Guys
PostPosted: Sun Sep 30, 2007 5:28 am 
Offline
User avatar

Joined: Sun Dec 31, 2006 12:13 am
Posts: 2027
Crap, maybe that wouldn't work..
viewtopic.php?f=3&t=3196


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Hey Guys
PostPosted: Sun Sep 30, 2007 5:42 am 
Offline
User avatar

Joined: Thu Oct 19, 2006 5:03 am
Posts: 1209
I'll double check,


yep, I couldn't get it workin..

_________________
Image

Image


Last edited by Losnar on Sun Sep 30, 2007 6:01 am, edited 1 time in total.

Top
 Profile Send private message E-mail  
 
 Post subject: Re: Hey Guys
PostPosted: Sun Sep 30, 2007 5:59 am 
Offline

Joined: Mon Oct 09, 2006 12:51 pm
Posts: 782
Well mostly i need the kit thing, because this "Mod" im doing is hopefully gunna end up something like this:

The Commander kit, which will be a kit consisting of a few different Binoculars. One will be shooting a salvo of 10 artillery shells at a target selected by the person who is using the Sole Commander kit in a map, and the salvo shall come down in either a straight line, or a scatter pattern, and reload itself over a matter of 2 to 3 minutes between salvos. He will also have one that will drop a supply crate, which ive coded already as well, and another binocular to drop a jeep, possibly parachute it if possible. Plus a normal Artillery spotting Binocular for the Wespes and what not. Upon death the commander kit dissapears, and respawns back at the home base where the same person or a new commander can retrieve the kit.

There will be 5 Squad Leader kits Per Country, each different, each with its own independent spawn. When a person picks up this kit, he or she is now a spawn point, upon death, the kit Automatically disappears, and respawns at the base.

So Far ive made great progress towards making it possible in Bf1942 to be able to shoot out of vehicles. Infact i have accomplished this, unfortunately you only get a single shot, and it only works with your Primary weapon, Thompson BAR etc. And does not work with bazookas. But if you are a passenger in a willys jeep, you now have a single shot that is aimed by your camera. You can see the gun, though it doesnt move with the camera, it does have the animations. It has the kickback animation and for a split second it reloads, and when you exit the vehicle, your ammunition count has lowered itself.

I have already coded a successful supply crate, which gives both ammo and health, Plus i will be recoding the Medpack to heal automatically, and be dropped. And will use that same animation for a BAR Clip or a Browning Ammo Box, which will supply ammo. These things i can do.

All weapons have already been made more powerful, with a little tweaking they could be very similar to the type of power your use to in bf2, just in bf1942.

Last but not least im hoping i can get the tank shells to shoot straighter and faster, and be more powerful, making tank battles a little better, hopefully more like bf2.

and last but not least some added spawn points to other vehicles, half tracks transports, etc.

I have made some good progress already, most of the stuff i can do, its just the damned kit spawn. xD

I Forgot to Mention this but...

[flash=]THIS IS NOT SERVERSIDE I KNOW[/flash]


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.  [ 7 posts ] 

All times are UTC


Who is online

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