Smiley face
 
  Forum Index    Search    Usergroups    Edit your profile    Members    Arcade    Ranks

 Reputation    Medals    Staff    Statistics    Board Rules    Forum FAQ    Private MessagesLogin, Check Messages    Log in 

Search for at
Soldier Of Fortune 2 Advanced Search



Post new topicReply to topicprinter-friendly viewThank Post
   Soldier Of Fortune 2 Forum Index » Soldier Of Fortune 2 - Double Helix - SOF2 General Support » ext_date change at multiple maps & Disabling weapons
 View previous topic :: View next topic  
Author Message
Punisher
Administrator
Administrator


In Game: The Punisher
Gender: Gender:Male
Joined: May 04, 2012
Last Visit: Aug 16, 2017
Age: 20
Posts: 716

Netherlands.png 
Reputation: 3199
votes: 3
Medals: 2 (View more...)
Distinguished Uploader (Amount: 1)

Status: Offline
PostPosted: Mon May 12, 2014 5:28 pm
PostPost subject: No icon ext_date change at multiple maps & Disabling weapons
Reply with quote

Hi Guys,

This is kind of a dumb question but i have no clue how to make the damage files change between diff maps.

For Example at mp_jor1 i have Normal damage on and at mp_shop2 i have Real Damage on.
I've added these lines in the mapcycle:

g_weaponmod "ext_data/RD.wpn"

Which makes the mapcycle file like this:

Hidden: 

mapcycle
{
map1
{
Command "map mp_jor1"
  cvars
  {
g_weaponmod "ext_data/ND.wpn"
  }
}
map2
{
Command "map mp_shop2"
  cvars
  {
g_weaponmod "ext_data/RD.wpn"
  }
}
}



( ND.wpn is my Normal Damage file and RD.wpn is the Real Damage file ).

But when im starting my server back up everything is still the Normal Damage.

Also when im trying to disable weapons, its not working.

I've added these lines:
g_availableweapon “2000000022000”  // only knifes, ak and sniper are enable combination.

And i've added it also into my mapcycle, which looked likes this:

Hidden: 

mapcycle
{
map1
{
Command "map mp_jor1"
  cvars
  {
g_weaponmod "ext_data/ND.wpn"
g_availableweapon “2000000022000”
  }
}
map2
{
Command "map mp_shop2"
  cvars
  {
g_weaponmod "ext_data/RD.wpn"
  }
}
}



But when starting server again the weapons arent gone.

I've also tried adding the lines into my server.cfg but it didnt had any effect, but when i turned my RD.wpn into SOF2.wpn it worked but it didnt went back to ND.wpn when im getting to jor1 again.

I've tested this both on a Local Server and on the baka server.

Did i do something wrong or what?
I know its possible to switch between damages at maps, atleast i've done it before on baka server and [cc] is doing the same.

Yours Sincerely,
Punisher


Website: House of Pain Server - Website
Serverlist: House of Pain Server - Serverlist

<a><img></a>

<a><img></a>
Back to top
View user's profile Send private message
Sponsor
Teo
Owner
Owner
Administrator
Administrator


In Game: Teo

Joined: Sep 21, 2009
Last Visit: Aug 21, 2017
Age: 36
Posts: 1117
Location: Milan
Italy.png 
Reputation: 4592
votes: 6
Medals: 6 (View more...)
Dedication (Amount: 1)

Status: Offline
PostPosted: Tue May 13, 2014 1:11 am
PostPost subject: No icon Re: ext_date change at multiple maps & Disabling weapons
Reply with quote

ok tell me what u exactely need please


Game Hosting: www.proclanservers.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website Visit member's Facebook: http://www.facebook.com/ricordalo
kingsfloo
Moderator
Moderator


Gender: Gender:Female
Joined: Jan 15, 2014
Last Visit: Jul 18, 2017
Age: 24
Posts: 57
Location: Argentina
Argentina.png 
Reputation: 328.3
votes: 1
Medals: 2 (View more...)
Distinguished Uploader (Amount: 1)

Status: Offline
PostPosted: Tue May 13, 2014 7:55 am
PostPost subject: No icon Re: ext_date change at multiple maps & Disabling weapons
Reply with quote

yes its very possible ...in fact i was using ND , XD and also a funny RPG.wpn in differents maps and this works....

im going to sleep now  Rolling Eyes  ...but tomorrow i check your mapcycle if u want  Wink ..

i just let u 1 idea about disable some weapons...did u try disable the weapons adding this?

disable_pickup_weapon_MP5 "1"  //adding this u disable this weapon...just do it for the others what u want to disable too
Back to top
View user's profile Send private message
Punisher
Administrator
Administrator


In Game: The Punisher
Gender: Gender:Male
Joined: May 04, 2012
Last Visit: Aug 16, 2017
Age: 20
Posts: 716

Netherlands.png 
Reputation: 3199
votes: 3
Medals: 2 (View more...)
Dedication (Amount: 1)

Status: Offline
PostPosted: Tue May 13, 2014 11:11 am
PostPost subject: No icon Re: ext_date change at multiple maps & Disabling weapons
Reply with quote

Ye I tested it, but I'm not sure that if I used 1 or 0, at the availableweapkn I tested on both.

For teo,
I'm trying to disable certain weapons but the commands I normally use aren't working.
Also I'm trying to have different damages at different maps

For example.
Jor1 ND damage
Shop2 RD damage
Mines of moria XD damage


Website: House of Pain Server - Website
Serverlist: House of Pain Server - Serverlist

<a><img></a>

<a><img></a>
Back to top
View user's profile Send private message
Sponsor
Teo
Owner
Owner
Administrator
Administrator


In Game: Teo

Joined: Sep 21, 2009
Last Visit: Aug 21, 2017
Age: 36
Posts: 1117
Location: Milan
Italy.png 
Reputation: 4592
votes: 6
Medals: 6 (View more...)
Site Supporter (Amount: 1)

Status: Offline
PostPosted: Tue May 13, 2014 12:39 pm
PostPost subject: No icon Re: ext_date change at multiple maps & Disabling weapons
Reply with quote

Punisher wrote (View Post):
Ye I tested it, but I'm not sure that if I used 1 or 0, at the availableweapkn I tested on both.

For teo,
I'm trying to disable certain weapons but the commands I normally use aren't working.
Also I'm trying to have different damages at different maps


about the available weapon file, be sure your mapcycle include your edited weapon file or it will be unaffected is in the config there is a default one.

also the different weabon mod should be set in the mapcycle for what i know your mapcycle file should be this why:

Code:
mapcycle
{
       map1
      {
            command "map mp_col1; set g_gravity 800; kick allbots; exec botfile"

            cvars
            {
               g_gametype "ctf"
               g_motd "^3Next Map is JOR1"
            scorelimit 8
                        g_availableWeapons "2222222222211"
                        g_weaponMod "ext_data/WHAT_YOU_NEED.wpn"
                        .....
                        .....
                        ..... OTHER_CAVS_YOU_LIKE                        
          }
      }
       map2
      {
            command "map mp_jor1; set g_gravity 800; kick allbots; exec botfile"

            cvars
            {
               g_gametype "ctf"
               g_motd "^3Next Map is COL1"
            scorelimit 8
                        g_availableWeapons "2222222222211"
                        g_weaponMod "ext_data/WHAT_YOU_NEED.wpn"
                        .....
                        .....
                        ..... OTHER_CAVS_YOU_LIKE                        
          }
      }
}


Game Hosting: www.proclanservers.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website Visit member's Facebook: http://www.facebook.com/ricordalo
Punisher
Administrator
Administrator


In Game: The Punisher
Gender: Gender:Male
Joined: May 04, 2012
Last Visit: Aug 16, 2017
Age: 20
Posts: 716

Netherlands.png 
Reputation: 3199
votes: 3
Medals: 2 (View more...)
Dedication (Amount: 1)

Status: Offline
PostPosted: Tue May 13, 2014 1:21 pm
PostPost subject: No icon Re: ext_date change at multiple maps & Disabling weapons
Reply with quote

I've added the lines you said Teo but its not working, neither are is the g_weaponMod "ext_date/ND.wpn", the jor1 takes the weaponfile correctly ak 3 bullets, sniper 3 bullets and rest 0 bullets but when im getting back to SOF2.wpn its still the Hunt.wpn file and when changing maps its still at Hunt.wpn.


Website: House of Pain Server - Website
Serverlist: House of Pain Server - Serverlist

<a><img></a>

<a><img></a>


Last edited by Punisher on Tue May 13, 2014 1:52 pm; edited 1 time in total
Back to top
View user's profile Send private message
Teo
Owner
Owner
Administrator
Administrator


In Game: Teo

Joined: Sep 21, 2009
Last Visit: Aug 21, 2017
Age: 36
Posts: 1117
Location: Milan
Italy.png 
Reputation: 4592
votes: 6
Medals: 6 (View more...)
Distinguished Uploader (Amount: 1)

Status: Offline
PostPosted: Tue May 13, 2014 1:47 pm
PostPost subject: No icon Re: ext_date change at multiple maps & Disabling weapons
Reply with quote

send me your server.cfg i'll fix it


Game Hosting: www.proclanservers.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website Visit member's Facebook: http://www.facebook.com/ricordalo
Punisher
Administrator
Administrator


In Game: The Punisher
Gender: Gender:Male
Joined: May 04, 2012
Last Visit: Aug 16, 2017
Age: 20
Posts: 716

Netherlands.png 
Reputation: 3199
votes: 3
Medals: 2 (View more...)
Dedication (Amount: 1)

Status: Offline
PostPosted: Tue May 13, 2014 1:56 pm
PostPost subject: No icon Re: ext_date change at multiple maps & Disabling weapons
Reply with quote

1 fixed 1 problem, Weapons are disabled at it should be.

Only my g_weaponMod isnt working yet.


Website: House of Pain Server - Website
Serverlist: House of Pain Server - Serverlist

<a><img></a>

<a><img></a>
Back to top
View user's profile Send private message
Sponsor
Smiley face
Teo
Owner
Owner
Administrator
Administrator


In Game: Teo

Joined: Sep 21, 2009
Last Visit: Aug 21, 2017
Age: 36
Posts: 1117
Location: Milan
Italy.png 
Reputation: 4592
votes: 6
Medals: 6 (View more...)
Dedication (Amount: 1)

Status: Offline
PostPosted: Tue May 13, 2014 1:58 pm
PostPost subject: No icon Re: ext_date change at multiple maps & Disabling weapons
Reply with quote

told you already if you send me the file i will lok at it is difficult to try understand how the file works without read what there is written.  Smile


Game Hosting: www.proclanservers.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website Visit member's Facebook: http://www.facebook.com/ricordalo
Punisher
Administrator
Administrator


In Game: The Punisher
Gender: Gender:Male
Joined: May 04, 2012
Last Visit: Aug 16, 2017
Age: 20
Posts: 716

Netherlands.png 
Reputation: 3199
votes: 3
Medals: 2 (View more...)
Dedication (Amount: 1)

Status: Offline
PostPosted: Tue May 13, 2014 1:59 pm
PostPost subject: No icon Re: ext_date change at multiple maps & Disabling weapons
Reply with quote

Server.cfg

Hidden: 

writeconfig sof2mp.cfg
wait

seta sv_hostname "^S//^-Baka^S|. ^-Public^S-^-Server^S!"
seta rconpassword "Something..." // Your serverpassword.
seta sv_maxclients "24" // The number of player slots

// Do not Edit
sets "^$Hosted By" "^3V1Servers.com"
sets "^$10 Locations" "^3NL|DE|FR|UK|US"
seta g_motd "^3V1Servers.com"



// public info
sets "Admin" "^-NO4H, T!NE & Punisher"
sets "Squad" "^S//^-Baka^S|."
sets "Connection" "T3"
sets "Site" "^-SOF2^S.^-org"

// Server MOTD
seta g_motdEnabled 1
seta g_motdDisplayTime 10
seta g_motd1 "^S//^-Welcome to the ^S//^-Baka^S|.^- Public^S-^-Server^S!" // 1st motd line
seta g_motd2 "^S//^-Respect all Players ^S&^- Yourself^S."                 // second motd line
seta g_motd3 "^S//^-Have fun and enjoy your stay^S!"   // 3rd line etc...
seta g_motd4 "^S//^-We are working on some great mini games such as H&S and Stab and some more!^S!"

// Server Message
seta g_messageEnabled 1
seta g_messageStart 60
seta g_motd1 "^S//^-Welcome to the ^S//^-Baka^S|.^- Public^S-^-Server^S!" // 1st motd line
seta g_motd2 "^S//^-Respect all Players ^S&^- Yourself^S."                 // second motd line
seta g_motd3 "^S//^-Have fun and enjoy your stay^S!"   // 3rd line etc...
seta g_motd4 "^S//^-We are working on some great mini games such as H&S and Stab and some more!^S!"


// Master Settings

sets g_duplicatePlayerMax "3"
seta g_smoothclients "0"
seta sv_master3 "master0.gamespy.com"
seta sv_master2 "clanservers.net"
seta sv_master1 "63.146.124.45"
seta sv_banFile "pbans.ban"
seta sv_minPing "0"
seta sv_maxping "0"
seta sv_minRate "0"
seta sv_maxRate "25000"
seta sv_fps "20"

//PB
pb_sv_disable



// Camper Settings
seta g_campermode "1"
seta g_camperaction "0"
seta g_camper "23"

// Rights
seta g_enablereferee "1"
seta g_allowPban "0200"
seta g_alloweventeams "0211"
seta g_allowcancelvote "0211"
seta g_allowmapcycle "0200"
seta g_allowchat "0211"
seta g_allowtalk "0210"
seta g_allowkick "0211"
seta g_allowInfo "0210"
seta g_allowAdminGhost "1"

// Game Settings

seta g_autoEvenTeams "0"
seta g_logHits "0"
seta g_logSync "0"
seta g_maxGameClients "0"
seta sv_privateClients "0"
seta g_gametype "ctf"
seta timelimit "15"
seta g_roundtimelimit "5"
seta g_friendlyFire "0"
seta g_teamForceBalance "1"
seta g_speed "300"
seta g_respawnInvulnerability "1"
seta g_spawnkillBackfire "02"
seta g_followenemy "1"
seta g_forcefollow "0"
seta sv_privatepassword ""
seta g_password ""
seta g_allowvote "1"
seta g_voteduration "120"
seta sv_allowdownload "1"
seta g_timelimit "10"
seta g_inactivity "0"
seta g_timeouttospec "0"
seta g_suicidepenalty "-1"
seta g_teamkillpenalty "-1"
seta sv_allowAnonymous "0"
seta g_doWarmup "1"
seta g_gore "0"
seta teamlimit "0"
seta g_roundstartdelay "5"
seta g_timeextension "10"
seta capturelimit "0"
seta scorelimit "0"
seta gt_bombFuseTime "30"
seta gt_bombDefuseTime "3"
seta gt_bombPlantTime "3"
seta g_roundjointime "15"
seta g_explosiongore "1"
seta g_maxping "0"
seta g_voicefloodcount "0"
seta g_voicefloodpenalty "5"
seta sv_banFilter "1"
seta g_respawnInterval "1"
seta g_forcerespawn "0"
seta g_killSpree "1"
seta dmflags "8"

//Seta g_weaponmod "ext_data/SOF2.wpn" (Use for custom settings)

seta sv_mapcycle "mapcycle.cfg"
mapcycle



Mapcycle.cfg
Hidden: 

mapcycle
{
map1
{
Command "map mp_jor1;set g_gravity 800"
  cvars
  {
g_gametype "ctf"
g_motd "^3Next map is mp_shop2"
scorelimit 10
timelimit 30
g_availableWeapons "2111111122111"
g_weaponMod "ext_data/Hunt.wpn"
disable_pickup_weapon_AK_74 0
disable_pickup_weapon_AN_M14 2
disable_pickup_weapon_M15 2
disable_pickup_weapon_M19 2
disable_pickup_weapon_M3A1 2
disable_pickup_weapon_M4 2
disable_pickup_weapon_M590 2
disable_pickup_weapon_M60 2
disable_pickup_weapon_M84 2
disable_pickup_weapon_MM_1 2
disable_pickup_weapon_MP5 2
disable_pickup_weapon_MSG90A1 0
disable_pickup_weapon_RPG_7 2
disable_pickup_weapon_SIG551 2
disable_pickup_weapon_SMOHG92 2
disable_pickup_weapon_USAS_12 2
disable_pickup_weapon_US_SOCOM 2
disable_pickup_weapon_microUzi 2
disable_pickup_weapon_silverTalon 2
disable_weapon_knife 0
  }
}
map2
{
Command "map mp_shop2;set g_gravity 800"
  cvars
  {
g_gametype "inf"
g_motd "^3Next map is mp_jor1"
scorelimit 10
timelimit 30
g_availableWeapons "2222222222211"
g_weaponMod "ext_data/ND.wpn"
  }
}
}



Website: House of Pain Server - Website
Serverlist: House of Pain Server - Serverlist

<a><img></a>

<a><img></a>
Back to top
View user's profile Send private message
Teo
Owner
Owner
Administrator
Administrator


In Game: Teo

Joined: Sep 21, 2009
Last Visit: Aug 21, 2017
Age: 36
Posts: 1117
Location: Milan
Italy.png 
Reputation: 4592
votes: 6
Medals: 6 (View more...)
Modder (Amount: 1)

Status: Offline
PostPosted: Tue May 13, 2014 2:01 pm
PostPost subject: No icon Re: ext_date change at multiple maps & Disabling weapons
Reply with quote

is linux or windows? send me plz consol log as well.


Game Hosting: www.proclanservers.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website Visit member's Facebook: http://www.facebook.com/ricordalo
Punisher
Administrator
Administrator


In Game: The Punisher
Gender: Gender:Male
Joined: May 04, 2012
Last Visit: Aug 16, 2017
Age: 20
Posts: 716

Netherlands.png 
Reputation: 3199
votes: 3
Medals: 2 (View more...)
Dedication (Amount: 1)

Status: Offline
PostPosted: Tue May 13, 2014 2:08 pm
PostPost subject: No icon Re: ext_date change at multiple maps & Disabling weapons
Reply with quote

I Fixed both problems,

i forgot to erase the following line in server.cfg:

//Seta g_weaponmod "ext_data/SOF2.wpn" (Use for custom settings)

and for some reasons my ND.wpn has a 0 bullets clips for all weapons, so it looked the same as my  Hunt.wpn.

at the Disabling weapons i used the wrong numbers, instead 2 to disable them i used 0.
so the mapcycle.cfg has these lines with it:

disable_pickup_weapon_AK_74 0
disable_pickup_weapon_AN_M14 2
disable_pickup_weapon_M15 2
disable_pickup_weapon_M19 2
disable_pickup_weapon_M3A1 2
disable_pickup_weapon_M4 2
disable_pickup_weapon_M590 2
disable_pickup_weapon_M60 2
disable_pickup_weapon_M84 2
disable_pickup_weapon_MM_1 2
disable_pickup_weapon_MP5 2
disable_pickup_weapon_MSG90A1 0
disable_pickup_weapon_RPG_7 2
disable_pickup_weapon_SIG551 2
disable_pickup_weapon_SMOHG92 2
disable_pickup_weapon_USAS_12 2
disable_pickup_weapon_US_SOCOM 2
disable_pickup_weapon_microUzi 2
disable_pickup_weapon_silverTalon 2
disable_weapon_knife 0

and it looks like this at the moment:

Hidden: 

mapcycle
{
map1
{
Command "map mp_jor1;set g_gravity 800"
  cvars
  {
g_gametype "ctf"
g_motd "^3Next map is mp_shop2"
scorelimit 10
timelimit 30
g_availableWeapons "2111111122111"
g_weaponMod "ext_data/Hunt.wpn"
disable_pickup_weapon_AK_74 0
disable_pickup_weapon_AN_M14 2
disable_pickup_weapon_M15 2
disable_pickup_weapon_M19 2
disable_pickup_weapon_M3A1 2
disable_pickup_weapon_M4 2
disable_pickup_weapon_M590 2
disable_pickup_weapon_M60 2
disable_pickup_weapon_M84 2
disable_pickup_weapon_MM_1 2
disable_pickup_weapon_MP5 2
disable_pickup_weapon_MSG90A1 0
disable_pickup_weapon_RPG_7 2
disable_pickup_weapon_SIG551 2
disable_pickup_weapon_SMOHG92 2
disable_pickup_weapon_USAS_12 2
disable_pickup_weapon_US_SOCOM 2
disable_pickup_weapon_microUzi 2
disable_pickup_weapon_silverTalon 2
disable_weapon_knife 0
  }
}
map2
{
Command "map mp_kam2;set g_gravity 800"
  cvars
  {
g_gametype "inf"
g_motd "^3Next map is mp_jor1"
scorelimit 10
timelimit 30
g_availableWeapons "2222222222211"
g_weaponMod "ext_data/RD.wpn"
disable_pickup_weapon_AK_74 0
disable_pickup_weapon_AN_M14 0
disable_pickup_weapon_M15 0
disable_pickup_weapon_M19 0
disable_pickup_weapon_M3A1 0
disable_pickup_weapon_M4 0
disable_pickup_weapon_M590 0
disable_pickup_weapon_M60 0
disable_pickup_weapon_M84 0
disable_pickup_weapon_MM_1 2
disable_pickup_weapon_MP5 0
disable_pickup_weapon_MSG90A1 0
disable_pickup_weapon_RPG_7 2
disable_pickup_weapon_SIG551 2
disable_pickup_weapon_SMOHG92 0
disable_pickup_weapon_USAS_12 0
disable_pickup_weapon_US_SOCOM 0
disable_pickup_weapon_microUzi 0
disable_pickup_weapon_silverTalon 0
disable_weapon_knife 0
  }
}
}



Website: House of Pain Server - Website
Serverlist: House of Pain Server - Serverlist

<a><img></a>

<a><img></a>
Back to top
View user's profile Send private message
Sponsor
Display posts from previous:
Post new topicReply to topic printer-friendly viewThank Post
Soldier Of Fortune 2 Forum Index »  Soldier Of Fortune 2 - Double Helix - SOF2 General Support
 
Page 1 of 1
Jump to:  
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
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Related topics
 Topics   Replies   Author   Views   Last Post 
No new posts Hi guys 12 Rockertjen 4823 Wed Dec 18, 2013 9:47 am
Punisher View latest post
No new posts Hey guys if anyone remembers playing with me hit me up 1 playdoh 1882 Thu Dec 05, 2013 9:07 am
Teo View latest post
No new posts Sup guys!!! 5 VenOm 3734 Thu Sep 12, 2013 12:01 pm
Hoffers View latest post
No new posts have a good week end guys....dont drink and drive.. 1 LilJoe 1869 Thu Aug 29, 2013 10:58 pm
Teo View latest post
No new posts hello guys! 1 crusher 1814 Sun May 26, 2013 8:25 pm
Teo View latest post
 




Back to Top

SOF2.ORG Multiplayer Community © 2017 All times are UTC + 2 Hours [DST enabled]
 

Copyright ©