1. Click here to join our community discord server.

stearable chargers

Discussion in 'Game Server Ideas' started by jarrick, Mar 1, 2011.

  1. jarrick

    jarrick Member

    what would be good from a charger's point of view is to be able to stear whilst charging. you could have it so the mouse does the stearing or the left/right keys. It would still be tricky as there's plenty of stuff around to stop them and you could balance it out by giving them a longer recharge period maybe.
     
  2. marvel

    marvel Head Administrator Staff Member

    This has been asked before several times, this is not possible only Valve can do this.
     
  3. Stefeman

    Stefeman Head Administrator Staff Member

    lol.. Steerable chargers? You serious? xD

    1st. the speed is too big, the charge will be over before you move the charger even an inch..

    2st. If we slowed the speed down for steering, you would get shot instantly, becouse the speed would be way too much slower for player to be able to controll it.

    3st. this cannot be even done.. Valve has either blocked it, or the whole game dosent even have a value to change..


    edit: marvel, you were few seconds faster :p
     
  4. Fa!l

    Fa!l Senior Member

    chargers are to stupid to move another way while they are charging.
     
  5. L1teHawk

    L1teHawk Senior Member

    Well, it can be done, with unimaginable difficulty. You would need to normalize the velocity, then find their client angle input, then find the angle between the x/y axises, modify the x/y portions of the normalized vector, find the new point with regards to their current location, teleport them to that point, re-initialize their charge to the old speed, and finally redo the cycle once every frame. It's better to rely on skill instead of making programmers go through that :)
     
  6. Stefeman

    Stefeman Head Administrator Staff Member

    plugin that does all this, would take hell alot of recourses.. xD
     
  7. L1teHawk

    L1teHawk Senior Member

    It's not necessarily recursive, and it can be done with little lag actually, given that the algorithm is optimized. I see no way to do this in SourcePawn (honor might), but it can be done with SM SDK and VC++. The only problem is I can't seem to get things to compile in VC++ 2010, even with everything properly linked/included.