Created
September 7, 2024 13:46
-
-
Save Pinsplash/3c5078037a19461d624b54ec7783c12f to your computer and use it in GitHub Desktop.
Portal 2: Make all gel conversion gel without modifying maps
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ent_fire prop_paint_bomb addoutput "painttype 3" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "run at the very start of the level for best results (this message does not know if you did or not)" | |
alias bomb3 "exec bombtype3" | |
ent_create point_clientcommand | |
ent_create logic_timer | |
ent_fire logic_timer addoutput "ontimer point_clientcommand:command:bomb3:0:-1" | |
echo "use <ent_fire logic_timer enable> now if bombs have not already changed color or are doing so unreliably" | |
ent_fire info_paint_sprayer changepainttype 3 | |
ent_fire erase_cleanser kill | |
exec spheretype3 | |
echo "if there is still gel on surfaces that is unchanged, try using <ent_fire info_paint_sprayer start> followed by <ent_fire info_paint_sprayer stop> shoftly after, or <ent_fire paint_sphere paint>" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ent_fire paint_sphere addoutput "paint_type 3" |
i am kind of surprised you can create logic_timers during runtime atleast in previous games eg hl2dm or the like it could crash the server/client.
wouldn't it be easier to put these commands into server.cfg?
don't know. there's a chance that runs before the entities exist.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Put all 3 of these in /Portal 2/portal2/cfg/ and type exec forceconversiongel at the very start of a map.