Page 1 of 1

Map "declarations"

Posted: Tue May 26, 2009 2:59 am
by Gary
No idea if that's what you would call it... anyways I want to know what sort of settings the Mapper can declare, such as the page that comes up when you start a map, player health, player starting weapons and anything else you can think of.

Thanks.

Posted: Sun May 31, 2009 3:29 pm
by ConTron
For the breifing to come up when the map loads (i.e. your own map MOTD), go to maps/cfg and make a text file called:

<yourmapname>_briefing.txt

For spawn items, make something called

<yourmapname>_modify.txt
Example:

oc_mymap
{
SpawnItems
{
"weapon_ar2" "1"
"weapon_crowbar" "1"
}
}

And to set certain CVars when your map loads (e.g setting the crowbar damage)

<yourmapname>_cfg.txt

"oc_mymap"
{
sv_allowgaussjumping 1
}

Posted: Sun May 31, 2009 7:11 pm
by Gary
Thanks

Posted: Thu Jun 04, 2009 9:04 am
by fug4life
ConTron wrote:For the breifing to come up when the map loads (i.e. your own map MOTD), go to maps/cfg and make a text file called:

<yourmapname>_briefing.txt

For spawn items, make something called

<yourmapname>_modify.txt
Example:

oc_mymap
{
SpawnItems
{
"weapon_ar2" "1"
"weapon_crowbar" "1"
}
}

And to set certain CVars when your map loads (e.g setting the crowbar damage)

<yourmapname>_cfg.txt

"oc_mymap"
{
sv_allowgaussjumping 1
}
That = a :thumbsupgabe: