StrataSource / Portal-2-Community-Edition

Task tracker for Portal 2: Community Edition
https://www.portal2communityedition.com
146 stars 3 forks source link

Feature: Add "trigger_momentum_promptinput" from Momentum Mod into P2CE. #1628

Open Rip-Rip-Rip opened 6 months ago

Rip-Rip-Rip commented 6 months ago

Which component should be improved?

Entity

Describe your suggestion

I was looking through the entities inside P2CE's hammer and I saw that trigger_momentum_promptinput was there from Momentum Mod, however on trying it in game, it doesn't actually exist in P2CE's branch of the engine. (just a leftover from momentum's fgd).

It would be nice to see this entity featured inside of P2CE for people to use, as I can image it being useful for things like scripted sequences, or just other times where you need to introduce controls to players. Also, the outputs it has are more versatile than what is currently present inside game_ui (such as being able to fire every tick whilst a key is being held down. While they're technically possible through a mix of game_ui and other entities currently, its a much more elegant solution in my opinion).