[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/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/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 - Serverside/Change one kit to another or not-enable to select

Battlefield Modding Tutorials BFMODS

Battlefield Modding Tutorials
It is currently Sun Jun 30, 2024 6:01 pm

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 35 posts ]  Go to page 1, 2, 3, 4, 5  Next
Author Message
PostPosted: Sun Sep 23, 2007 9:12 pm 
Offline

Joined: Fri Sep 21, 2007 6:59 pm
Posts: 61
Location: Hungary
Hi everybody:

i would like to make some changes in classic bf1942 on omaha_beach.
this change is the next:
i would like to change the scout kit like this :

game.setTeamSkin 1 GermanSoldier
game.setKit 1 0 German_Scout--->German_Assault
game.setKit 1 1 German_Assault
game.setKit 1 2 German_AT
game.setKit 1 3 German_Medic
game.setKit 1 4 German_Engineer

game.setTeamSkin 2 USSoldier
game.setKit 2 0 US_Scout--->Us_Assault
game.setKit 2 1 Us_Assault
game.setKit 2 2 Us_AT
game.setKit 2 3 US_Medic
game.setKit 2 4 US_Engineer

or make this: if a player join into our server with omaha_beach,he can't select the sniper class,cause it is impossible(like granades in infantry mod).

i have already tried this http://serversidemodding.com/tutorial.php?page=changekits.html

but wasn't work for me:(

and another change: i would like to put 2 sniper kits on each side in different places of omaha,so this will be a nice map,not like this: Allied 25 snipers and 5 assault. i know how to put kits into the battlefield,so this is not a problem:)

pls help me boys.

thx!

_________________


modding BF1942 not very difficult,but i have to learn more and more...

193.138.125.6:14567

Image


Top
 Profile Send private message E-mail  
 
PostPosted: Sun Sep 23, 2007 9:16 pm 
Offline

Joined: Sat Dec 02, 2006 7:43 pm
Posts: 595
If i can remember correctly you cannot put kit into a slot it doesnt belong in. E.G. I want to put an AT into the Sniper spot, well, i cant because the AT has to go in the AT spot. Get what im sayin? Anyways you will probably have to disable the kit alltogether which i cannot remember how to do at this moment. I'll get back to you when i figure it out lol.


Top
 Profile Send private message E-mail  
 
PostPosted: Sun Sep 23, 2007 9:18 pm 
Offline

Joined: Fri Sep 21, 2007 6:59 pm
Posts: 61
Location: Hungary

_________________


modding BF1942 not very difficult,but i have to learn more and more...

193.138.125.6:14567

Image


Top
 Profile Send private message E-mail  
 
PostPosted: Sun Sep 23, 2007 9:21 pm 
Offline

Joined: Fri Sep 21, 2007 6:59 pm
Posts: 61
Location: Hungary
i read again-again the pasted tutorial,and i have another question: where could i define E.G Us_AT2 kit (pistol,knife...) or the tutorial only shows it? but not exactly say it to define it..

_________________


modding BF1942 not very difficult,but i have to learn more and more...

193.138.125.6:14567

Image


Top
 Profile Send private message E-mail  
 
PostPosted: Sun Sep 23, 2007 9:22 pm 
Offline

Joined: Sat Dec 02, 2006 7:43 pm
Posts: 595
I think i got it, try taking out the snipers like this:

game.setTeamSkin 1 GermanSoldier
game.setKit 1 0 German_Scout
game.setKit 1 1 German_Assault
game.setKit 1 2 German_AT
game.setKit 1 3 German_Medic
game.setKit 1 4 German_Engineer

game.setTeamSkin 2 USSoldier
game.setKit 2 0 US_Scout
game.setKit 2 1 Us_Assault
game.setKit 2 2 Us_AT
game.setKit 2 3 US_Medic
game.setKit 2 4 US_Engineer

change to:

game.setTeamSkin 1 GermanSoldier
game.setKit 1 0
game.setKit 1 1 German_Assault
game.setKit 1 2 German_AT
game.setKit 1 3 German_Medic
game.setKit 1 4 German_Engineer

game.setTeamSkin 2 USSoldier
game.setKit 2 0
game.setKit 2 1 Us_Assault
game.setKit 2 2 Us_AT
game.setKit 2 3 US_Medic
game.setKit 2 4 US_Engineer

I have no clue what this will do, but it might work.


Top
 Profile Send private message E-mail  
 
PostPosted: Sun Sep 23, 2007 9:23 pm 
Offline

Joined: Sat Dec 02, 2006 7:43 pm
Posts: 595


Top
 Profile Send private message E-mail  
 
PostPosted: Sun Sep 23, 2007 9:25 pm 
Offline

Joined: Fri Sep 21, 2007 6:59 pm
Posts: 61
Location: Hungary

_________________


modding BF1942 not very difficult,but i have to learn more and more...

193.138.125.6:14567

Image


Top
 Profile Send private message E-mail  
 
PostPosted: Sun Sep 23, 2007 9:28 pm 
Offline

Joined: Sat Dec 02, 2006 7:43 pm
Posts: 595


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

All times are UTC


Who is online

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