Page 1 of 1

Movement penalty

Posted: Mon Oct 22, 2007 9:46 am
by CaptainPoopface
There are fields in the [weap] tag to assign forward, backward and sideways movement penalty, but I've never seen a weapon use them, and I've never gotten any effect from changing them. Is it a deprecated feature?

I would like to make a heavy-duty gun that causes someone to move more slowly than a small handheld gun.

Posted: Mon Oct 22, 2007 2:32 pm
by xzodia
the movement penalty values are prob in the place but they are in there somewhere unless they were removed but that is unlikely

edit:
try this:

Code: Select all

<float name="Unknown" offset="540" visible="True" />
  <float name="Unknown" offset="544" visible="True" />
  <float name="Unknown" offset="548" visible="True" />
  <float name="Unknown" offset="552" visible="True" />
  <enum32 name="Movement Penalized" offset="556" visible="True">
    <option name="Always" value="0" />
    <option name="When Zoomed" value="1" />
    <option name="When Zoomed or Reloading" value="2" />
  </enum32>
  <float name="Forwards Movement Penalty Percentage" offset="560" visible="True" />
  <float name="Sideways And Backwards Movement Penalty Percentage" offset="564" visible="True" />
  <float name="AI Scariness" offset="568" visible="True" />
  <float name="Light Power-on Time (sec)" offset="572" visible="True" />
  <float name="Light Power-off Time (sec)" offset="576" visible="True" />

Posted: Mon Oct 22, 2007 5:17 pm
by DemonicSandwich
Would that percentage be something like this xzodia. \/
1=100%
0.5=50%

Posted: Tue Oct 23, 2007 7:59 am
by xzodia
yea but im not sure if for example 0.5 would slow the person or make them faster (assuming the correct value is changed)