Source-Python-Dev-Team / Source.Python

This plugin aims to use boost::python and create an easily accessible wrapper around the Source Engine API for scripter use.
http://forums.sourcepython.com
GNU General Public License v3.0
163 stars 31 forks source link

Gravity not resetting #49

Closed EinariTuukkanen closed 9 years ago

EinariTuukkanen commented 9 years ago

PlayerEntity.gravity attribute's value is not resetting on player death or round end (needs to be reset to 1.0 manually on spawn to avoid stacking gravity values).

Ayuto commented 9 years ago

Yes, it seems like the engine doesn't reset this value. I'm not sure if SP should take on responsibility to reset this value. That's how the engine works.

satoon101 commented 9 years ago

Is this with the csgo engine? I don't remember the orangebox engine having this issue, but I could be wrong.

I am with Ayuto. This is not something the plugin itself should be worried about.

EinariTuukkanen commented 9 years ago

Alright.

PS. I only tested it in CS:S so apparently it applies to OB at least.

jordanbriere commented 9 years ago

This is not an issue with the plugin. The engine/game is not setting this value on new round/spawn. As long as setting/getting it works, the rest is engine dependant.

EinariTuukkanen commented 9 years ago

Yeah, Ayuto and Satoon answered to this already.