Facepunch / garrysmod-requests

Feature requests for Garry's Mod
84 stars 24 forks source link

Hammer entities from other source engine games such as Portal 2 #1283

Open VaasKahnGrim opened 5 years ago

VaasKahnGrim commented 5 years ago

While some people have already recreated crude versions of entities from portal 2 in the case of linked_portal_doors, these lua entities have a few issues of their own and aren't quite compare to games like portal 2 which used them natively.

Having this entity in particular would make utilizing a maps space to the fullest much much easier. without extreme fps impact. currently the lua version that metaconstruct made has an fps drop of around 100. its pretty easy to notice when dropping from 150-200 down to 40-60 fps depending on what is happening near the portal. However this doesn't seem to happen in Portal 2 with the entity. If this were to be made a native entity in garrysmod aswell it would be extremely useful and well appreciated

VaasKahnGrim commented 5 years ago

I've also been looking around and noticed some other entities from portal 2 specifically that would be extremely useful in mapping for garrysmod.

filter_player_held (https://developer.valvesoftware.com/wiki/Filter_player_held) linked_portal_door (https://developer.valvesoftware.com/wiki/Linked_portal_door) <<added this since I also found the valve page on it again prop_linked_portal_door (https://developer.valvesoftware.com/wiki/Prop_linked_portal_door)

robotboy655 commented 5 years ago

Don't expect portals to be added.

VaasKahnGrim commented 5 years ago

would giving a link to the lua ones that were made help in any way?

VaasKahnGrim commented 5 years ago

if not then if I were to submit a recreation myself later could it be reviewed and added into the game natively? because those portal doors are kinda a real game changer for mapping. far far more useful then simply raising limits for hammer and stuff.

That and I personally would be using these alot if added

robotboy655 commented 5 years ago

It's not something that can be done properly in Lua. It can only be imitated.

And if there is some sort of Lua version already just use that.

VaasKahnGrim commented 5 years ago

thats the reason why I suggested a engine/c++ version. the lua one is terrible on performance for clients. FPS litterally gets cut into 1/3 of what it usually is before getting in range of it.

Having this as a native entity would be extremely useful and actually practical to use. even if the devs of facepunch don't do it them selves would you be willing to review something I send for it from trying to remake it with srourceSDK and possibly put it in?