Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Trigger* FGD definitions #172

Open
tmob03 opened this issue Mar 22, 2023 · 6 comments
Open

Add Trigger* FGD definitions #172

tmob03 opened this issue Mar 22, 2023 · 6 comments

Comments

@tmob03
Copy link
Member

tmob03 commented Mar 22, 2023

A few triggers found without definitions in P2CE:

trigger_callback
trigger_survival_playarea
trigger_portal
trigger_super_armor
trigger_momentum_reversespeed
trigger_momentum_setspeed
trigger_momentum_teleport
trigger_momentum_userinput
trigger_fog
trigger

Note: Some of this are probably partially/non functional. In which case they should be put in engine category to hide from FGD users, or taken out of the game completely if possible.

@tmob03
Copy link
Member Author

tmob03 commented Mar 22, 2023

I can kind of slowly complete this myself, but would be nice if someone with code access could give me the keyvalues and Inputs/outputs of these ents, so I don't need to do a lot of fiddling and guessing with the ent_info* commands.

@craftablescience
Copy link
Member

https://developer.valvesoftware.com/wiki/Trigger_survival_playarea

does literally nothing in p2ce

@craftablescience
Copy link
Member

trigger_callback - zero functionality for mappers
trigger_portal - might be functional
trigger_momentum_* - identical to the versions without momentum in the name
trigger_fog - might be useful actually
trigger - probably should be internal??

so, trigger_portal and trigger_fog are really the only ones worth investigating

@craftablescience
Copy link
Member

trigger_fog keyvalues:

color: "fogcolor"
color: "fogcolor2"
vector: "fogdir"
bool: "fogenable"
bool: "fogblend"
float: "fogstart"
float: "fogend"
float: "farz"

and looking more closely at trigger_portal its definitely meant to be internal

@tmob03
Copy link
Member Author

tmob03 commented Mar 22, 2023

Thanks!

@vrad-exe
Copy link

trigger_portal was an entity leftover in the SDK which p2ce re-enabled, according to the VDC it's basically just a trigger_teleport but it can reorient entity positions and velocities to a new orientation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants