added func door

This commit is contained in:
zombie maniac 2023-09-30 14:38:04 -04:00
parent 611e72791d
commit 15db50e15f
Signed by untrusted user: nbrooks211
GPG key ID: F43C85C0DF0C334E

View file

@ -5,9 +5,13 @@ ENTITIES
func_commentary func_commentary
acts just like the ones one source engine acts just like the ones one source engine
floats a model in the air and slowly spins floats a model in the air and slowly spins
spins rapidly when triggered and turns grey when done
plays a sound file when ttriggered
can be triggered by pressing E while looking at it can be triggered by pressing E while looking at it
it will use 3 textures:
texture 1: idle texture used before activated
texture 2: texture while playing sound (after being activated)
texture 3: texture after sound stops playing
when triggered switch to texture 2, spin rapidly, and play sound file
after sound file stops playing switch to texture 3 and stop rotating entirly
func_cardboardcutout func_cardboardcutout
would typically be a flat (possibly 2 sided) sprite and the texture would typically be a person would typically be a flat (possibly 2 sided) sprite and the texture would typically be a person
@ -19,13 +23,31 @@ player
first person first person
walkaround and jump walkaround and jump
can interact with buttons and other objects by hitting E can interact with buttons and other objects by hitting E
would be funny and probably better tbh if movement was using quake physics
also quicker base movement speed
buttons: buttons: (idk how buttons are supposed tonwork exactly
They exist all buttons will have 2 textures:
They trigger somthing idle
They change to a different texure when activated activated
They move in when activated
They play a sound button_once:
when triggered, switch to the activated texture, play a sound, and trigger somthing
can obly be pressed once
button_multiple
when triggered, switch to the activated texture, play a sound, and trigger somthing
after a few seconds switch to idle texture
func_door:
when triggered moves in a specified direction (or towards an entity idc specified direction would proabbky be easier on my end) and plays a sound while moving
waits a few seconds
closes and plays a sound while moving
whenever it starts or stops moving it plays a sound
so 3 sounds in total
func_door_rotating
same as above but rotates
physics object: physics object:
can be picked uo with E can be picked uo with E
@ -41,6 +63,10 @@ thusbwill probabky have be done on the godot side some blocks will be not solid
func_elevator func_elevator
when the player steps on this it will rise up after a few seconds to a pre determinted height when the player steps on this it will rise up after a few seconds to a pre determinted height
item_suit
is an obj in the world
upon contact with the player is disapears and plays 2 sounds
more specialized shit might change later more specialized shit might change later
chess chess
@ -93,4 +119,4 @@ Anti bully shields activated
rgb lighting activated rgb lighting activated
photon torpedos deactivated pay 15.99$ to activate them indtantly photon torpedos deactivated pay 15.99$ to activate them indtantly
have a very good day have a very good day
i wall make sure of it i will make sure of it