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

Members Online

»
0 Active | 6 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 Scripting
Coding related issues dealing with Soldier of Fortune II.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: Mapcycle
Jossa
General Member
Since: Mar 6, 2004
Posts: 2
Last: Jun 13, 2004
[view latest posts]
Level 0
Category: SoFII Scripting
Posted: Sunday, Jun. 13, 2004 04:58 am
[EmPiRe/]

info@empiresof.tk

HIGH all!

Can anybody explain me if it's possible to enable mapcylce on servers which run the first version of SOF2 Double Helix?

I tried the commands one should use in GOLD edition but no can do in the first version.

Yours sincerely,

Jossa
Share |
Foxhound
Preferred PLUS Member
Since: May 31, 2002
Posts: 5983
Last: Sep 6, 2014
[view latest posts]
Level 10
Admin
Forum Moderator
Im a fan of MODSonair
Category: SoFII Scripting
Posted: Sunday, Jun. 13, 2004 05:18 am
ummm, yeah there is a way but it's been so long that I forget how and will have to look over my old files to figure it out. Until then have you tried out Game Runners?

It's a great little program that take away all that nasty and unnecessary file creation bit. However if you're still adamant about having to do things the old way let me know.

Cheers
I sometimes wonder... "Why is that frisbee getting larger?" .............and then it hits me.

Go ahead... You Play I Mod : MODSonline.com
Support Modsonline by becoming a PREFERRED MEMBER today

01001001 00100000 01100001 01101101 00100000 01000110 01101111 01111000 01101000 01101111 01110101 01101110 01100100
Share |
Foxhound
Preferred PLUS Member
Since: May 31, 2002
Posts: 5983
Last: Sep 6, 2014
[view latest posts]
Level 10
Admin
Forum Moderator
Im a fan of MODSonair
Category: SoFII Scripting
Posted: Sunday, Jun. 13, 2004 05:26 am
Ah heck thought it would take me longer but didn't I found one of my old ones and it goes something like this:

Quote:

mapcycle
{
kam2
{
command "map mp_kam2"

cvars
{
scorelimit 10
timelimit 30
g_gametype "ctf"
}
}

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

cvars
{
scorelimit 10
timelimit 30
g_gametype "ctf"
}
}

rmgsnow
{
command "rmgmap 1 small 3 ? 2 snowy 4 ? 0"

cvars
{
scorelimit 10
timelimit 30
g_gametype "ctf"
}
}

col1
{
command "map mp_col1"

cvars
{
scorelimit 10
timelimit 30
g_gametype "ctf"
}
}

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

cvars
{
scorelimit 10
timelimit 30
g_gametype "ctf"
}
}

shop
{
command "map mp_shop"

cvars
{
scorelimit 10
timelimit 0
g_gametype "inf"
}
}

finca
{
command "map mp_finca"

cvars
{
scorelimit 10
timelimit 0
g_gametype "inf"
}
}

raven
{
command "map mp_raven"

cvars
{
scorelimit 10
timelimit 0
g_gametype "inf"
}
}

colombia
{
command "map mp_col1"

cvars
{
scorelimit 10
timelimit 0
g_gametype "inf"
}
}

hongkong
{
command "map mp_hk1"

cvars
{
scorelimit 10
timelimit 0
g_gametype "inf"
}
}
}


You can edit and add maps as you see fit. For the most part you should see how trhey are set up for game types etc. Hope this helps

You can download an example here.

Cheers
I sometimes wonder... "Why is that frisbee getting larger?" .............and then it hits me.

Go ahead... You Play I Mod : MODSonline.com
Support Modsonline by becoming a PREFERRED MEMBER today

01001001 00100000 01100001 01101101 00100000 01000110 01101111 01111000 01101000 01101111 01110101 01101110 01100100
Share |
Jossa
General Member
Since: Mar 6, 2004
Posts: 2
Last: Jun 13, 2004
[view latest posts]
Level 0
Category: SoFII Scripting
Posted: Sunday, Jun. 13, 2004 07:05 am
Dear Foxhound,

Thanks for your fast reply. I realy appreciate that. Nevertheless it didn't solve my problem.

I put your fix1inf.mapcycle in my base/mp folder, ran my server, typed in the litlle green console: sv_mapcycle fix1inf.mapcycle and ... damn, the same map started over again and again.

Would you please be so kind to figure out something more for me?

Yours sincerely,

Jossa
Share |
Foxhound
Preferred PLUS Member
Since: May 31, 2002
Posts: 5983
Last: Sep 6, 2014
[view latest posts]
Level 10
Admin
Forum Moderator
Im a fan of MODSonair
Category: SoFII Scripting
Posted: Sunday, Jun. 13, 2004 07:34 am
If memory serves the cvar sv_mapcycle is to be used only in the server.cfg file.

It should be a line like this somewhere down at the bottom:

seta sv_mapcycle "fix1inf.mapcycle"

Using rcon mapcycle in console will only change the map to the next one in the mapcycle and if I remember correctly that's pretty much one of two commands available to the admin in ref to maps.

You can download an example server.cfg file here. Just so you know the Game Runner Program creates all these files for you. **hint hint**

Cheers
I sometimes wonder... "Why is that frisbee getting larger?" .............and then it hits me.

Go ahead... You Play I Mod : MODSonline.com
Support Modsonline by becoming a PREFERRED MEMBER today

01001001 00100000 01100001 01101101 00100000 01000110 01101111 01111000 01101000 01101111 01110101 01101110 01100100
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Soldier of Fortune : SoFII Scripting

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

»