StrataSource / Portal-2-Community-Edition

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

Feature: First person world model. (cl_first_person_uses_world_model) #995

Open xTheLifex opened 1 year ago

xTheLifex commented 1 year ago

Which component should be improved?

Other

Describe your suggestion

Implement / Port the cvar cl_first_person_uses_world_model which makes the player see their own playermodel from their view, and hides the viewmodel. This is present in TF2. This is not considered a cheat command by the game. This can also hopefully make the player cast shadows from projected textures as their model will be rendered.

Showcase available here

vrad-exe commented 1 year ago

P1 has this, not sure if P2 removed it or if it got added to P1 in an update (e.g. Source 2013).

hexaflexahexagon commented 1 year ago

TF2 also has this fwiw

xTheLifex commented 1 year ago

TF2 also has this fwiw

Yeah. Its written in the issue. "This is present in TF2. This is not considered a cheat command by the game."

xTheLifex commented 1 year ago

P1 has this, not sure if P2 removed it or if it got added to P1 in an update (e.g. Source 2013).

Is it present in old TF2 code? (Non-leak)

If it is, could be possible to port it over, right?

hexaflexahexagon commented 1 year ago

TF2 also has this fwiw

Yeah. Its written in the issue. "This is present in TF2. This is not considered a cheat command by the game."

Oops, I can't read. Also the chaos devs have tf2 source code so if that's necessary this would be possible to port over regardless. Though it doesn't seem like a particularly tricky seem to create from scratch anyhow, would just take some time.