MOH:AA New version of Hal's recoil measuring mod

Discussion in 'New Files' started by -----DASH-----, Jun 17, 2010.

  1. -----DASH----- Corporal

    Contributions:
    11
    Specialties:
    Scripting
    Processing:
    Graphics:
    You probably know Hal's brilliant script for secretly measuring a suspected player's recoil. In that thread I announced I was working on a new version.

    Well; finally, here is my version with some bugs fixed:
    - Works with private slots too

    - Doesn't stop working if someone leaves the server; the wrong people will not get the numbers on their screen

    - No more 'ghost shooting' - if first someone was tested and then another person got tested, when the second person shoots the first person fires bullets as well (even if he doesn't have a weapon raised)

    New features
    - The script turns off automatically if the admin leaves
    - Additionally, if the target leaves the admin is notified and the test stops too
    - If the admin changes, both 'old' and 'new' admin are notified
    - Possibility to show ALL players the numbers (set recoiladmin to 'all' for that)

    Installation
    - Put the pk3 on your server and restart it. Make sure no other mods with mike_torso.st conflict.
    - The script starts running as soon a shot is fired.
    - If you are client 4, type 'rcon recoiladmin 4'. The script tells you that you're admin now.
    - Use the same method to set a target, if you want to test yourself use 'rcon recoiltarget 4'.
    - Calculated recoil numbers appear on your screen for every shot. (Learn how to interpret them before you draw conclusions!!)

    NOTES
    - This version only has the possibility of ONE admin at a time (and also one target of course). I have a working version for multiple admins, but I need to add some more features to that first.

    - The variable names changed (sorry, sv_rcladmin was just too complicated to type): now they are simply 'recoiladmin' and 'recoiltarget'.

    - Tested on Spearhead only, let me know how it does on AA (state files for AA are provided in the mod).
    But I just saw Hal typed "Added support for Allied Assault to ShotHandler.scr - Allied Assault required a different command to Spearhead to set the weapon projectile, causing it to fail in the previous version".
    I think I just took that command out lol; I'd have to redo it in another way that I know works as well. Let me know if anyone wants this.

    - I put my own modded mike_torso.st in there, so it could conflict with yours. To make your mike_torso compatible with this mod, look through the one that I provided and search for lines with the word 'recoilHackDetection' in there. Copy those lines into your mike_torso at the right places.



    Credits go to @(...:.:...)@ a.k.a. Hal Blackburn, who made this mod. :icon_pray: I merely modded his mod and share it with you all because I think it works a lot better, but the idea is all his :)
    Also thanks to Sor who helped me with some array problems I had.


    Enjoy and let me know what you think about it.
    1 people like this.
  2. NiTr0 Private

    Contributions:
    1
    Processing:
    Graphics:
    Thx, Dash!! This mod works perfectly to my SH tdm server... Thx for the great job!!
  3. -----DASH----- Corporal

    Contributions:
    11
    Specialties:
    Scripting
    Processing:
    Graphics:
    Thanks man, hope you enjoy it as much as we do.
    Hopefully I have some time the next few days to finish the multiple admin version :)
  4. loeri loeri.tk

    Contributions:
    44
    Specialties:
    Mapper, Scripting, Programming, Support
    Processing:
    Graphics:
    PREMIUM
    I Donated
    Hi,
    I saw some BSE members using this many times and it is mostley efficient :p
    But i installed the pk3 file and when i use the command: recoiladmin 0

    Then i get:
    Unknown command "recoiladmin"

    Can somebody help me?
  5. adamadam90 Private First Class

    Contributions:
    0
    Processing:
    Graphics:
    could u reupload documentation?
  6. angus young Administrator

    Contributions:
    96
    Specialties:
    Scripting, Programming, Pure Gamer, Support
    Processing:
    Graphics:
    Wow I missed this, but nice job Dash! I'm assuming it still uses stufftext though? :S
  7. BigAlBerlin Private

    Contributions:
    0
    Processing:
    Graphics:
    Hello.

    Please reupload.

    Thank you.
  8. angus young Administrator

    Contributions:
    96
    Specialties:
    Scripting, Programming, Pure Gamer, Support
    Processing:
    Graphics:
    The attachment works fine for me. Are you getting an error?
  9. BigAlBerlin Private

    Contributions:
    0
    Processing:
    Graphics:
    Hi

    Hello.

    Yes I get an error. The attachment.php isnt available.
    Tried with IE8 and Opera.

    Regards
  10. xalupeao Private

    Contributions:
    0
    are many lines in mike_torso.st?
  11. pothead Private

    Contributions:
    0
    Anybody knows how this works?

    This is what i did:

    -I installed mod in mainta.
    -Connected to server and try the commands (rcon recoiladmin 0 and rcon recoiltarget 0)
    -nothing happens...
  12. loeri loeri.tk

    Contributions:
    44
    Specialties:
    Mapper, Scripting, Programming, Support
    Processing:
    Graphics:
    PREMIUM
    I Donated
    SAme here it gives the message that the target is 0 but doesnt do anything
  13. -----DASH----- Corporal

    Contributions:
    11
    Specialties:
    Scripting
    Processing:
    Graphics:
    Sorry guys, have been inactive for a while :)
    You have to go on the server, fire at least one bullet to start the script, then set recoiladmin and recoiltarget, and then make sure the recoiltarget fires a gun.
    Then it should work... let me know what goes wrong?

Share This Page