Thread: css stripper
View Single Post
lce
Junior Member
Join Date: Feb 2019
Old 02-22-2019 , 13:39   Re: css stripper
Reply With Quote #2

You want to use "modify" to remove commands like this. First find the targetname/hammer id of the entity that does the command and put it in a "match" block, then use "delete" after the match to remove the command.
Here is an example of removing the command on ze_roof_adventure_v8 that runs a script to set the total time of the map:
Code:
modify:
{
	match:
	{	
	"targetname" "relay_level1"
	"classname" "logic_relay"
	"hammerid" "254768"
	}
	delete:
	{
	"OnTrigger" "scriptRunScriptCodeinitRound()0-1"
	}
}
Here is Bailopan's documentation on this if you are still confused: http://bailopan.net/stripper/#newconf
If you need to find the info about the entity you are modifying, you can view it all in the Entity Lump Editor in VIDE.

Last edited by lce; 02-22-2019 at 13:42.
lce is offline