Clever-Boy / entityplus

Automatically exported from code.google.com/p/entityplus
1 stars 0 forks source link

Lock player input. #137

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
There is a point in my map where I do not want the player's controls pressed, 
especially FIRE.

I need an entity (similar to the target_speed?) that I can use to lock the 
player's input.  And of course, able to unlock it.  

Original issue reported on code.google.com by ryanbris...@gmail.com on 13 Sep 2011 at 3:26

GoogleCodeExporter commented 9 years ago
I'll probably implement this as a spawnflag on target_playerspeed some time. In 
the meantime, is it an option to use a target_cutscene instead? If the 
letterbox effect (the black bars at top/bottom of the screen) is a problem then 
you can remove it by executing a script (with target_script) that sets 
cg_letterboxSize to 1.

Note that from 1.0 onward, setting cg_letterBoxSize to 0 completely removes the 
letterbox effect.

Original comment by era...@gmail.com on 14 Sep 2011 at 2:57

GoogleCodeExporter commented 9 years ago
That would work, but then I need a camera scene where the player dies because 
I'm planning to setup my map so that when a player dies, they will see Game 
Over screen--but cannot press any keys to Continue--and then after 5 second 
delay I will execute a script to do "map krep01"

Original comment by ryanbris...@gmail.com on 15 Sep 2011 at 4:45

GoogleCodeExporter commented 9 years ago
I still have the option of not doing this.  My map is setup for a player to 
Contine--as a precaution--but, I'm still thinking about it.

Original comment by ryanbris...@gmail.com on 15 Sep 2011 at 4:48