[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/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 - Weapon Kit Of Soldiers:

Battlefield Modding Tutorials BFMODS

Battlefield Modding Tutorials
It is currently Fri Apr 26, 2024 7:07 am

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 11 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Weapon Kit Of Soldiers:
PostPosted: Wed Nov 05, 2008 12:37 pm 
Offline
User avatar

Joined: Tue Sep 16, 2008 6:11 pm
Posts: 62
Hey all, i have learned alot of this website about modding.
I have now a public server with my mod.
But 1 thing i don't know is how to mod the weapon kit of soldiers.
Everybody says its in the OSD.con but i cant find that in the original RFA file.
Please Help me
:o

_________________



Top
 Profile Send private message E-mail  
 
PostPosted: Wed Nov 05, 2008 2:23 pm 
Offline

Joined: Tue Jun 17, 2008 6:13 pm
Posts: 132
Location: Utah
You add kits by adding them to the ObjectSpawns.con ... OS.con
and the ObjectSpawnTemplates.con ... OST.con

Examples:
ObjectSpawns.con

rem ***US_Sniper_hvy***
Object.create HeavyTankSpawner
Object.absolutePosition 816.101/75.88/641.159
Object.rotation 0/0/0
Object.setTeam 3

ObjectSpawnTemplate.con

ObjectTemplate.create ObjectSpawner HeavyTankSpawner
ObjectTemplate.setObjectTemplate 1 t72
ObjectTemplate.setObjectTemplate 2 m1a1
ObjectTemplate.setObjectTemplate 3 US_Sniper_hvy <---- added kit
ObjectTemplate.MinSpawnDelay 90
ObjectTemplate.MaxSpawnDelay 120
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.TimeToLive 45
ObjectTemplate. Distance 40
ObjectTemplate.DamageWhenLost 10
ObjectTemplate.maxNrOfObjectSpawned 1

That adds a US_Sniper_hvy kit to dc_urban_siege


Top
 Profile Send private message E-mail  
 
PostPosted: Wed Nov 05, 2008 6:04 pm 
Offline
User avatar

Joined: Tue Sep 16, 2008 6:11 pm
Posts: 62
Oh didnt knwo about the shortnames of them, well so i add it to the file where i add veachels,towers etc ?

_________________



Top
 Profile Send private message E-mail  
 
PostPosted: Wed Nov 05, 2008 7:15 pm 
Offline

Joined: Tue Jun 17, 2008 6:13 pm
Posts: 132
Location: Utah
You would add vehicles the same way.

I only do server side mods. I don't know how to add towers


Top
 Profile Send private message E-mail  
 
PostPosted: Wed Nov 05, 2008 11:29 pm 
Offline
User avatar

Joined: Sun Sep 16, 2007 2:33 pm
Posts: 1809
Location: Your moms house
OST or static objects con either one works in client side


Top
 Profile Send private message E-mail  
 
PostPosted: Thu Nov 06, 2008 6:54 am 
Offline

Joined: Thu Jun 15, 2006 9:36 am
Posts: 2015
Up in right corner there is a , checked it out yet?
The making of a patchfile you find .
Look in objects.rfa, open it in WinRFA, that's your new bible for the next year.
Almost everything is in there.

Air towers you can add serverside, remove all templates you don't like though.
You can remove and add new spawn locations on them aswell, makes a new flag in game, sort of.

Kitten, what is this? US_Sniper_hvy???

USMarine_Recon (M40)
USMarine_Recon_Alt (M16Scope)
or
USArmy_Recon (M21)
USArmy_Recon_Alt (M16Scope)

And yes, you find this in init.con, not OSD.

_________________
In the beginning everybody was a SSM NooB.
BFV SSM on server 66.55.142.243
Server Homepage


Top
 Profile Send private message E-mail  
 
PostPosted: Thu Nov 06, 2008 10:49 am 
Offline
User avatar

Joined: Sat May 10, 2008 3:00 am
Posts: 1877
LoL US_Sniper_hvy would be a DC kit..... :lol:

_________________
Image


Top
 Profile Send private message E-mail  
 
PostPosted: Thu Nov 06, 2008 1:07 pm 
Offline
User avatar

Joined: Tue Sep 16, 2008 6:11 pm
Posts: 62
okey thanks, i know about that with control points.
i did a very cool thing on the 1.2 map: Fall Of Lang Vei.
U know that it is a normal boring map who all disconnect when it starts.
but there is a hided town a bit away that noone knows about,
i added towers control points and such in that town.
now all wanna play fall of saigon xD
:D

_________________



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

All times are UTC


Who is online

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