Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 11 Guests
Online:

LATEST FORUM THREADS

»
warfare
CoD4 Map + Mod Releases
Voting menu on maps
CoD+UO General
Hauling 911
CoDBO3 General

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Soldier of Fortune
Category: SoFII Server Support
Server administration questions, comments and chat.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked
Page
Next Page
subscribe
Author Topic: Why the hell was g_availableweapons removed?
Ashke~rb
General Member
Since: Dec 23, 2006
Posts: 268
Last: Dec 23, 2006
[view latest posts]
Level 5
Category: SoFII Server Support
Posted: Friday, Sep. 27, 2002 06:05 am
This is starting to pee-pee me off. All of my configs are right but my weapons are still not working. I have my mapcycle set up as INF-DEM-CTF-INF-DEM-CTF, etc. I disable fire grenades on all ctf maps, but allow them on every other map (which worked fine with g_avail). In my mapcycle for CTF maps, I set:

disable_pickup_weapon_AN_M14            "1"

and that seems to work. Doesn't show up in the menu. In the following INF map, I turn it back on in my mapcycle with :

disable_pickup_weapon_AN_M14            "0"

and it shows up in the menu but you can't select it. If you do, you get a frag grenade. If you type "disable_pickup_weapon_AN_M14" into the console during the map it returns "0" as well. In the DEM map following the INF map, you can select the fire nades again even tho its set the same as the INF map with:

disable_pickup_weapon_AN_M14            "0"

WTF. Theres all kinds of random broken-ness with this crap and its very annoying and it makes no sense. I manually exec a config with all of the disabled default values in my server.cfg and I also have all of the disabled values for every map in my map cycle to alleviate problems and my problems aren't going away. I tried to delete sof2mp.cfg after each restart and its not working. I think this needs to be addressed by Raven folks.

UPDATE: I noticed another bug. I have 1 RMG map where I allow an RPG:

disable_pickup_weapon_RPG_7            "0"

People can see it in the menu but can't spawn with it, which is broken. Heres the ####ed up part. If they select it in the menu for the RMG map (even tho they can't use it and spawn with some other gun) the next map in the mapcycle, they spawn with an RPG even though the RPG is disabled with:

disable_pickup_weapon_RPG_7            "1"

and its not even available in the outfitting menu. No matter which gun they pick, they still get stuck with the RPG, even if they die or switch teams.

My config, weapon.cfg and mapcycle are at:
http://www.games.eof.net/sof2/test.mapcycle
http://www.games.eof.net/sof2/server.cfg
http://www.games.eof.net/sof2/weapon.cfg
Share |
montybass~rb
General Member
Since: Dec 23, 2006
Posts: 290
Last: Dec 23, 2006
[view latest posts]
Level 5
Category: SoFII Server Support
Posted: Friday, Sep. 27, 2002 08:42 am
Quote
disable_pickup_weapon_RPG_7 "1"


Should be disable_pickup_weapon_RPG_7 "2"
Share |
Ashke~rb
General Member
Since: Dec 23, 2006
Posts: 268
Last: Dec 23, 2006
[view latest posts]
Level 5
Category: SoFII Server Support
Posted: Friday, Sep. 27, 2002 04:59 pm
Whats the difference between 1 and 2? Isn't 0 on and 1 off? And I don't think that would cause the bug that allows the RPG to be carried over to other maps. And that has nothing to do with the fire grenade brokeness
Share |
spike232~rb
General Member
Since: Dec 23, 2006
Posts: 5892
Last: Dec 23, 2006
[view latest posts]
Level 10
Category: SoFII Server Support
Posted: Friday, Sep. 27, 2002 05:22 pm
0 is always avalible
1 is never avalible
2 is only avalible in pickup

do u still have the g_avalibleweapons command in ur map cycle or server config??? if so get rid of it

also if u only run a server delete the sof2mp.cfg file if its present (the g_avalibleweapons command may have been written to it)
Share |
Ashke~rb
General Member
Since: Dec 23, 2006
Posts: 268
Last: Dec 23, 2006
[view latest posts]
Level 5
Category: SoFII Server Support
Posted: Friday, Sep. 27, 2002 05:33 pm
No, if you look at my config or mapcycle, youll see I have no mention of g_avail, and I mentioned I tried to delete sof2mp.cfg. As far as 1 or 2, 1 should work just as well since I don't run DM or TDM maps.
Share |
Ashke~rb
General Member
Since: Dec 23, 2006
Posts: 268
Last: Dec 23, 2006
[view latest posts]
Level 5
Category: SoFII Server Support
Posted: Saturday, Sep. 28, 2002 04:59 am
Bump
Share |
zerologic~rb
General Member
Since: Dec 23, 2006
Posts: 505
Last: Dec 23, 2006
[view latest posts]
Level 6
Category: SoFII Server Support
Posted: Saturday, Sep. 28, 2002 05:11 am
G'Day Ashke,

The way I alleviated this problem was to add all the weapons to the map cycle and not to the server.cfg.  Something like this.

kam4
{
command "map mp_kam4"

cvars
{
scorelimit 8
timelimit 20
g_gametype "ctf"
disable_pickup_weapon_knife "0"
disable_pickup_weapon_us_socom "0"
disable_pickup_weapon_m19 "0"
disable_pickup_weapon_silvertalon "0"
disable_pickup_weapon_microuzi "0"
disable_pickup_weapon_m3a1 "0"
disable_pickup_weapon_mp5 "0"
disable_pickup_weapon_usas_12 "1"
disable_pickup_weapon-m590 "0"
disable_pickup_weapon_msg90a1 "0"
disable_pickup_weapon_m4 "0"
disable_pickup_weapon_ak_74 "0"
disable_pickup_weapon_sig551 "0"
disable_pickup_weapon_m60 "0"
disable_pickup_weapon_rpg_7 "1"
disable_pickup_weapon_mm_1 "1"
disable_pickup_weapon_m84 "0"
disable_pickup_weapon_smohg92 "0"
disable_pickup_weapon_an_m14 "0"
disable_pickup_weapon_m15 "0"
g_dowarmup "1"
g_warmup "30"
}
}

after the first one it is a simple copy and paste.  I also noticed that it does not like tabs after each one to the variable.  Just a space and quotes.  I know ... sounds quirky.  But this worked for me.  

PS.. Do not remove the nades.  The server will crash..
Share |
zerologic~rb
General Member
Since: Dec 23, 2006
Posts: 505
Last: Dec 23, 2006
[view latest posts]
Level 6
Category: SoFII Server Support
Posted: Sunday, Sep. 29, 2002 04:37 am
G'Day,

I have to agree with you.. I had changes at the bottom of my 19 map mapcycle and it was doing exactly what you said.. So I just changed all the maps to have the same config from teh start and all threw the cycle.  

Other then that I cannot get it to work either.
Share |
WIDOWMAKER99~rb
General Member
Since: Dec 23, 2006
Posts: 741
Last: Dec 23, 2006
[view latest posts]
Level 6
Category: SoFII Server Support
Posted: Sunday, Sep. 29, 2002 04:47 am
working fine for me

mapcycle
{
mp_col2
{
command "map mp_col2"

cvars
{
scorelimit 8
timelimit 30
                 g_gametype "dm"
disable_weapon_RPG_7 "1"
disable_weapon_MM_1 "1"
g_speed "320"
g_pickupsDisabled "1"
}
}

rmgdesert
{
command "rmgmap 1 small 2 desert 3 day 4 decepticon 0"

cvars
{
scorelimit 8
timelimit 30
                 g_gametype "dm"
disable_weapon_RPG_7 "1"
disable_weapon_MM_1 "1"
g_speed "320"
g_pickupsDisabled "1"




}
}

pra2
{
command "map_mp_pra2"

cvars
{
scorelimit 8
timelimit 30
                 g_gametype "dm"
disable_weapon_RPG_7 "1"
disable_weapon_MM_1 "1"
g_speed "320"
g_pickupsDisabled "1"
}
}

air1
{
command "map mp_air1"

cvars
{
scorelimit 8
timelimit 30
                 g_gametype "dm"
disable_weapon_MM_1 "1"
disable_weapon_RPG_7 "1"
g_speed "320"
g_pickupsDisabled "1"
}
}

mp_hos2
{
command "map mp_hos2"

cvars
{
scorelimit 8
timelimit 30
                 g_gametype "dm"
disable_weapon_MM_1 "1"
disable_weapon_RPG_7 "1"
g_speed "320"
g_pickupsDisabled "1"
}
}

shop
{
command "map mp_shop"

cvars
{
scorelimit 8
timelimit 30
                 g_gametype "dm"
disable_weapon_MM_1 "1"
disable_weapon_RPG_7 "1"
g_speed "320"
g_pickupsDisabled "1"
}
}

finca
{
command "map mp_finca"

cvars
{
scorelimit 8
timelimit 30
                 g_gametype "dm"
disable_weapon_MM_1 "1"
disable_weapon_RPG_7 "1"
g_speed "320"
g_pickupsDisabled "1"
}
}

kam4
{
command "map mp_kam4"

cvars
{
scorelimit 8
timelimit 30
                 g_gametype "dm"
disable_weapon_MM_1 "1"
disable_weapon_RPG_7 "1"
g_speed "320"
g_pickupsDisabled "1"
}
}

kam3
{
command "map mp_kam3"

cvars
{
scorelimit 8
timelimit 30
                 g_gametype "dm"
disable_weapon_MM_1 "1"
disable_weapon_RPG_7 "1"
g_speed "320"
g_pickupsDisabled "1"
}
}

rmgjungle
{
command "rmgmap 1 small 2 jungle 3 morning  4 decepticon 0"

cvars
{
scorelimit 8
timelimit 30
                 g_gametype "dm"
disable_weapon_MM_1 "1"
disable_weapon_RPG_7 "1"
g_speed "320"
g_pickupsDisabled "1"
}
}
}
Share |
WIDOWMAKER99~rb
General Member
Since: Dec 23, 2006
Posts: 741
Last: Dec 23, 2006
[view latest posts]
Level 6
Category: SoFII Server Support
Posted: Sunday, Sep. 29, 2002 04:50 am
thos i only have it set to use the  
disable_weapon   cvar only for what i want disabled

i mean why add  in what ya dont want disabled ?

so i used disable_weapon  only on  what i dont want   to use
in the mapcycle ...per map

not disable_pickup_weapon    as the cvar .. thanks for that tip btw RAMROD :)

works  great :)
Share |
Restricted Access Topic is Locked
Page
Next Page
subscribe
MODSonline.com Forums : Soldier of Fortune : SoFII Server Support

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»