View Full Version : Changing allies teams on maps and other script "goodies
Hammer
11-03-2003, 10:49 PM
- Looks like you can set scr_allies and scr_axis before you start a map to play using different country players. For allies you can use american, british, or russian, for axis only german (but can be changed in the scripts). Only problem is you can't change these in the middle of a map or between rounds, you'll get errors (also fixable in the scripts). Now I really wish IW supported vstr in nextmap.
- set scr_roundcam 1 and watch a mini cam-view at the end of each SD or RE round. Not very interesting, but it's there.
- set scr_forcerespawn <delay>, was apparently meant to provide for a respawn delay after you get killed. Doesn't seem to work though for me. :(
- The scr_re_timelimit is broken; the script overwrites it immediately after map start with the setting for scr_bel_timelimit. It's doesn't overwrite the cvar, just it's value within the script.
- Via another script change, it should be possible to switch roles of who attacks/defends in RE and SD maps. Currently it's hardcoded in the map's script, but easily converted to using cvars (why didn't they do this?). Also would have to tweak the spawn point logic since it's based on allie/axis instead of attacker/defender (another don't ask why question.)
Hammer
11-04-2003, 01:34 AM
Extra BEL cvars:
set scr_bel_positiontime "6" // Position on compass update interval in secs.
set scr_bel_respawndelay "0" // Delay in secs. before respawn
set scr_bel_showoncompass "1" // Show position on compass
Obtained from the bel.gsc script; comments are my own. Also, roughly every second, allies receive +3 health. Haven't had a chance to try the cvars.
imported_BLACKIE
11-07-2003, 10:08 PM
is it possible to some how set it to have say the axis be russian & german and allies to be american and british? so there would be a bigger variety of wepons avaialble to each team??
HankScorpio
11-08-2003, 04:14 AM
That would probably require a mod which doesn't exist as of now as well maybe a history lesson or two.
imported_BLACKIE
11-08-2003, 01:51 PM
That would probably require a mod which doesn't exist as of now as well maybe a history lesson or two.
A history lesson or two???
Lol!
Maybe it's time to permenantly change your TV channel from MTV to History, eh m8? ;)
- Looks like you can set scr_allies and scr_axis before you start a map to play using different country players. For allies you can use american, british, or russian, for axis only german (but can be changed in the scripts). Only problem is you can't change these in the middle of a map or between rounds, you'll get errors (also fixable in the scripts). Now I really wish IW supported vstr in nextmap.
Can you expand on this? Can this be done server sided to allow more choice for the allies on each map? Thank you.
Ruiner
11-15-2003, 08:20 PM
Eh? I don't think it can be done through rcon??
everytime i try everyone gets this on their screen:
server: scr_allies russian (for eg)
Could you expand on this please? I'd really like to use the BAR in mp_powcamp :D
Hammer
11-15-2003, 08:25 PM
scr_allies and scr_axis are cvars, and like any cvar in CoD, if they are not set already you must use set in front of them. So try /rcon set scr_allies russian and see how that works out for ya.
If you put in the cvar set scr_allies "american" in your cfg file on your dedicated server, it will put the allies as american all the time. Thue eliminating the wussy Brits and the ridiculous russians....J/K.
It does work though if you want to run only one set of allies all the time. The set scr_axis can not be changed from anything but german, unless you change the script.
It can be done through rcon also.
imported_Xtinct
11-19-2003, 08:47 AM
- set scr_forcerespawn <delay>, was apparently meant to provide for a respawn delay after you get killed. Doesn't seem to work though for me. :(
Thats not the delay command. This just makes you respawn immediately opposed to having to hit the fire button. 1 makes you immediately respawn and 0 makes you have to hit the fire button to respawn.
Hammer
11-19-2003, 08:51 AM
Like I wrote, it was apparently meant ... that's based on studying the game script files. :dis:
Hey I tried this and now the server is US Army vs. German Wehrmacht. Very groovy. Thanks m8.
ruggbutt
11-23-2003, 10:00 PM
On Pavlov I get an error message reading: russian conscript winter not precached. Also, after you die you get your main weapon back, but you get a Luger for a pistol and no grenades. Sometimes when you leave and come back you cannot join the American team at all, you are stuck in observer mode.
bringit
12-14-2003, 11:07 AM
hey, i've managed to screw this up on my server :dis:
i put it on british to see if it worked, but couldnt see that it did till later- i then wanted to turn it off. But in trying to do this i must hav put in a wierd command cause now i get this error:
ERROR:
could not load script menu
file "team_ogerman"
i still have access to the scripts, so how would i be able to put it back to the usual different allied teams per map?
thanks for any help!
ruggbutt
12-14-2003, 04:53 PM
I think it's not as simple as changing one line in the script.
bringit
12-16-2003, 10:01 AM
right, well i managed to get it reset and sorted, thanks anyway
Captain_Fragg
12-28-2003, 11:29 AM
Does it matter exactly where in my config file I put the line
set scr_allies "american"
to make the allies always american?
FrenchyDaddy
03-03-2004, 05:46 AM
If you put in the cvar set scr_allies "american" in your cfg file on your dedicated server, it will put the allies as american all the time.
I tried this and it works!!!! thanks a lot... but... how can you change the soldiervariation ? in pavlov american soldier are not dressed with winter uniform
any idea ?
gitman
03-09-2004, 06:06 PM
changing uniform variations is done via mp_mapname.gsc in paks 4 and 5 (these are serverside changes)
FrenchyDaddy
03-11-2004, 12:18 AM
Thanks Gitman, it works now!
THis site is really very helpful! :P
Bullyson
06-07-2004, 04:22 PM
ok, allies are all american in every map. and can be changed to make it british on all maps etc..
But Any advice on how to put the default allies back?
s_m_o
07-12-2004, 12:45 AM
ya well it was cool but how do i make a sever
s_m_o
07-12-2004, 01:00 AM
this is a good topic but can u look at my topic i need all of ur help i can not get my sever to work keeps giveing me consal errors was up with that please help me out booo hooo :cry: :cry: :cry: :cry: :dis:
VBman
10-08-2004, 05:39 AM
right, well i managed to get it reset and sorted, thanks anyway
Could please tell me how you got it back to normal.
Is it possible to set it back to default without restarting the server?
i tried /rcon set allies default but then it said "cannot load team_defaultgerman"
Any help would be great.
VBman
Scrumby
10-12-2004, 12:47 AM
/rcon set scr_allies ""
Leaving the team blank reverts to normal.
OldDog
10-12-2004, 07:50 AM
Wrong thread s_m_o...start a new one with your topic and post some details, please. Then, maybe we can help you.
-OldDog
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.