StrataSource / Portal-2-Community-Edition

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

Port hl2_gamerules from Mapbase #1378

Open MyGamepedia opened 1 year ago

MyGamepedia commented 1 year ago

Which component should be improved?

Entity

Describe your suggestion

We already have it in game, but probably not functional. In Mapbase we can use it for - override the default citizen type, toggle legacy and ep2 flashlight versions, change stunstick pickup behavior, allow SP respawn, set player squad autosummon. I suggest because of it's not only new opportunities, adding of this entity should solve some problems that in game currently, https://github.com/StrataSource/Portal-2-Community-Edition/issues/1377 https://github.com/StrataSource/Portal-2-Community-Edition/issues/1376 and stunstick that player use as weapon by default.

hl2_gamerules. bandicam 2023-06-16 17-57-10-409

P2CE stunstick. 20230616173313_1

hl2_gamerules inputs.

bandicam 2023-06-16 17-59-13-536

AWildErin commented 1 year ago

This would be re-implemented as a separate entity. We have info_portal_gamerules, so we would implement info_hl2_gamerules since you are never meant to be spawning this entity.