File Name: Custom Sign Example.rar
File Size: 176.55 KiB
Click here to download Custom Sign Example + Source
&
File Name: Custom Sign Example.rar
File Size: 176.55 KiB
Click here to download Custom Sign Example + Source
&
"custom_sign_example"
{
//Map data
"level_number" "1"
"total_levels" "33"
"startup" "dirty_flicker_flicker"
"dirt" "1"
"icons"
{
"cube_drop" "0"
"cube_bonk" "0"
"paint_bounce" "0"
"paint_speed" "0"
"goop" "0"
"turret" "0"
"turret_burn" "0"
"portal_fling" "0"
"portal_fling_2" "0"
"handoff" "0"
}
}
I can't seem to find any info on if files in a VPK overwrite existing game files on game startup or when a map is loaded from one. I am pretty sure it will still override the sp_lightboard_icons.txt present in the vscripts folder. So don't be a douchebag and release a VPK with a blank one of these to ruin someone's game.
I'll have to do some testing to see how it reacts when there are multiple VPKs with different lightboard files in it.
. Certainly beats the VTF editing that had to be done back in the day.
Awesome.
)EDIT: I decompiled one of the coop maps and saw that they should have a instance for coop signs but they don't. So far I've been able to make a sign appear in coop-mode but all it's values are default, even though I did put code into it.
Looking into it...
I don't know where they shoved in code to label the map one of the 5 courses and what Chamber number it is in the list. I looked through nearly every possible script, even files still in the pak_01.dir.
A mystery...
Quote:
I don't know where they shoved in code to label the map one of the 5 courses
Labels stored in file: resource/portal2_LANGUAGE.txt, "P2COOP_TrackName_X"
And if you put copy of this file to VPK with another lables, it will replace an official labels...
chimera201 wrote:
Is it possible to have unique multiple custom signs in a single level(bsp)?
Should be possible as I think there has to be more than one test chamber shoved in one map in Valve's maps.
...Decompile...