[Tutorial] How to use Obsidian Mapadd

Archived Source Engine and Obsidian Tutorials.
User avatar
Hyperjag3
npc_strider
npc_strider
Posts: 604
Joined: Mon May 29, 2006 8:54 am
Contact:

Post by Hyperjag3 »

In a bsp file it appears like this:

Code: Select all

{
"model" "*17"
"origin" "884 -1022 36"
"spawnflags" "1057"
"unlocked_sentence" "0"
"locked_sentence" "0"
"unlocked_sound" "0"
"locked_sound" "0"
"wait" "3"
"sounds" "0"
"lip" "0"
"health" "0"
"speed" "5"
"movedir" "0 0 0"
"disablereceiveshadows" "0"
"rendercolor" "255 255 255"
"renderamt" "255"
"rendermode" "0"
"renderfx" "0"
"classname" "func_button"
"OnPressed" "changelevel_door,Toggle,,0,-1"
}
So maybe try the format of "OnPressed" "changelevel_door,Toggle,,0,-1" although I'm not positive that it will work.
skidz
Obsidian Gold
Obsidian Gold
Posts: 3228
Joined: Mon May 29, 2006 6:36 am
Location: Maple Ridge, BC
Contact:

Post by skidz »

yes that works awsome, and should be exactly how you all do it.
Post Reply