[Tutorial] How to use Obsidian Mapadd

Archived Source Engine and Obsidian Tutorials.
skidz
Obsidian Gold
Obsidian Gold
Posts: 3228
Joined: Mon May 29, 2006 6:36 am
Location: Maple Ridge, BC
Contact:

Post by skidz »

You could use a cfg script to turn lives mode on. Or you could change the worldspawn entity. cfg route is easier.
Take a look at oc_freezingpoint_cfg.txt
Setting mp_teamoverride to 1 will force teams on a map.
User avatar
Lark
npc_advisor
npc_advisor
Posts: 1077
Joined: Sat Jun 10, 2006 3:21 am
Location: Termina
Contact:

Post by Lark »

skidz wrote:You could use a cfg script to turn lives mode on. Or you could change the worldspawn entity. cfg route is easier.
Take a look at oc_freezingpoint_cfg.txt
Setting mp_teamoverride to 1 will force teams on a map.
I dont want teams just normal lives and I dont know how to turn them on but I also want to turn on hl1 style crossbow how would I add that?
User avatar
Hyperjag3
npc_strider
npc_strider
Posts: 604
Joined: Mon May 29, 2006 8:54 am
Contact:

Post by Hyperjag3 »

"mp_livesoverride"
{
"Force Lives Mode"
{ BOOL }
{ "0" }
}

"mp_numlives"
{
"Number of Lives"
{ NUMBER 0 99 }
{ "0" }
}

"mp_hl1crossbow"
{
"Half-Life 1 Style Crossbow"
{ BOOL }
{ "0" }
}

From settings.scr in the cfg directory.
User avatar
Lark
npc_advisor
npc_advisor
Posts: 1077
Joined: Sat Jun 10, 2006 3:21 am
Location: Termina
Contact:

Post by Lark »

ok I think I get it so it should look like this right?

"oc_noamz"
{
mp_livesoverride "1"
mp_numlives "5"
mp_hl1crossbow "1"
}
User avatar
Hyperjag3
npc_strider
npc_strider
Posts: 604
Joined: Mon May 29, 2006 8:54 am
Contact:

Post by Hyperjag3 »

Yes, that should work fine.
Svanrog
Combine Rebel
Combine Rebel
Posts: 1319
Joined: Tue Jul 25, 2006 9:17 pm

Post by Svanrog »

gtaiiilc wrote:ok I think I get it so it should look like this right?

"oc_noamz"
{
mp_livesoverride "1"
mp_numlives "5"
mp_hl1crossbow "1"
}
So this will force the map to always be played with lives, even if the server's settings are not set to lives game mode?
[JSC][GU]PREDATOR
Obsidian Premium
Obsidian Premium
Posts: 1624
Joined: Mon May 29, 2006 12:06 pm

Post by [JSC][GU]PREDATOR »

So what exactly happens when you run out of lives? do you just go into spectator or what?
User avatar
Lark
npc_advisor
npc_advisor
Posts: 1077
Joined: Sat Jun 10, 2006 3:21 am
Location: Termina
Contact:

Post by Lark »

[JSC][GU]PREDATOR wrote:So what exactly happens when you run out of lives? do you just go into spectator or what?
yes and I have made the first fan mapadd for a map they did not make!
skidz
Obsidian Gold
Obsidian Gold
Posts: 3228
Joined: Mon May 29, 2006 6:36 am
Location: Maple Ridge, BC
Contact:

Post by skidz »

hmm, when everyone on the team runs out of lives the game ends. use the lives manager ent to give lives even to dead players.
User avatar
Hyperjag3
npc_strider
npc_strider
Posts: 604
Joined: Mon May 29, 2006 8:54 am
Contact:

Post by Hyperjag3 »

I don't think there's currently support for reviving dead players :wink:.
Svanrog
Combine Rebel
Combine Rebel
Posts: 1319
Joined: Tue Jul 25, 2006 9:17 pm

Post by Svanrog »

Will there be support in the future?
User avatar
Hyperjag3
npc_strider
npc_strider
Posts: 604
Joined: Mon May 29, 2006 8:54 am
Contact:

Post by Hyperjag3 »

It's next on my project list.
User avatar
Lark
npc_advisor
npc_advisor
Posts: 1077
Joined: Sat Jun 10, 2006 3:21 am
Location: Termina
Contact:

Post by Lark »

Hyperjag3 wrote:It's next on my project list.
what about being able to turn off head crabs comeing off(off the dead body and as a live npc)
User avatar
Shana
Lead Developer
Lead Developer
Posts: 2971
Joined: Tue Aug 29, 2006 8:12 pm
Location: Germany
Contact:

Post by Shana »

i have a problem: i removed a point_servercomand entitie with the name "restart"(it changed the map to antlion_troppers2), i changed the outputs of a trigger_once and i tried to add a game end_entitie, but it doesn´t work.

Code: Select all

kanny_lockdown
{
remove
{
Targetname 
{ 
"Restart" {} 
} 

Modify 
{ 
Origin 
{ 
"-3424 6042 66" 
{ 
connections
	{
		"OnTrigger" "end,EndGame,,0,-1"
	}

Add
{
"game_end"
{
	"targetname" "end"
	"origin" "-3426 6045 67"
}
}
}
whats wrong with it?
skidz
Obsidian Gold
Obsidian Gold
Posts: 3228
Joined: Mon May 29, 2006 6:36 am
Location: Maple Ridge, BC
Contact:

Post by skidz »

I dont believe

connections
{
"OnTrigger" "end,EndGame,,0,-1"
}

is the way it works, only in vmf files. I cant remember the line used to add.

Code: Select all

	Modify
	{
		Origin
		{
			"-3424 6042 66"
			{
                          //everything should be in there.
			}
		}
	}
Let me get back to you about how to use outputs.
Post Reply