Portal 2 Scripting

Any aspects of level design for the Source engine.

Portal 2 Scripting

Postby RageCompeX on Fri May 27, 2011 1:49 pm

Hey, I need some help with scripting in Portal 2

So as you probably know then, you can create elevators for arrival and departure, mine are co-op. There are 2 problems I have and they are both with scripts.

In the arrival elevator I want to edit the testchamber signs, script located in scripts/vscripts/coop and then there is coop_lightboard_icons. I found tutorial on how to do the SP lightboards, but they are much easyer, and I don't really know how to do it in the coop version. also, I don't think so but is there a difference in the script for showing in the elevator or just a normal prop?

So the script has "tracks" and the actual maps below it, I created a "track_6" and some icons below it like this:

"Track_6"
{
"cube_drop" "1"
"cube_button" "1"
"crushers" "1"
"laser_cube" "1"
"turret" "1"
"tbeams" "1"
"button_stand" "1"
}
}
then at the bottom I created this:

//TRACK 6
"mp_coop_myfirstmap"
{
"cube_drop" "1"
"cube_button" "1"
"crushers" "1"
"laser_cube" "1"
"turret" "1"
"tbeams" "1"
"button_stand" "1"

}
}
}

(last 2 } because it's end of script)
EDIT: seems like tabs don't work, ah well, you guys know what I mean right :D
so it's still not working...what am I doing wrong or what do I need to do else? Im not getting any errors in game

Second problem is the departing elevator, now I followed this on developers wiki:
[url]developer.valvesoftware.com/wiki/Level_Transition_(Portal_2)[/url]
and I just changed:
"mp_coop_easiest",
"mp_coop_easiest_two"
to my maps names but still, when going into elevator it loads for ever but no new map. ¬_¬
RageCompeX
Dumpling
Dumpling
 
Joined: Fri May 27, 2011 1:45 pm

Return to Hammer Editor Help

Who is online

Users browsing this forum: No registered users