Weapon scripts

Discussion in 'Coding' started by PreDominance, Nov 11, 2009.

  1. PreDominance

    PreDominance Member

    Messages:
    4,182
    Likes Received:
    0
    Trophy Points:
    0
    Made these awhile ago, pretty sure they work fine. I'll test them again late tonight..
    http://www.mediafire.com/?kdjmjdgzjzm
    There's nothing special about these. Just takes awhile to work out timings, things like that.
     
    Last edited: Nov 12, 2009
  2. PreDominance

    PreDominance Member

    Messages:
    4,182
    Likes Received:
    0
    Trophy Points:
    0
    Sorry, old download link.

    Here.
    http://www.mediafire.com/?kdjmjdgzjzm

    *Edit

    I'll just post them here. The download file contains sounds for when you switch scripts.
    Code:
    // 1: Single-Shot BECAR
    alias "script1" "echo Mode: BE CAR--Single Shot; play script1/rain_drip1; bind mouse1 +script1; alias nextscript script2;alias previousscript script5"
    alias "+script1" "+attack;wait;wait;wait;wait;-attack;wait;wait;wait"
    alias "-script1" "" // blank, just here to stop console spam
    
    // 2: Twin-Shot Machine Pistol
    alias "script2" "echo Mode: Machine-Pistol Twin-Shot; play script1/rain_drip2; bind mouse1 +script2; alias nextscript script3;alias previousscript script1"
    alias "+script2" "+attack;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;-attack;wait;wait;wait;wait;wait;wait;wait;"
    alias "-script2" "" // blank, just here to stop console spam
    
    // 3: Accurate Rifle
    alias "script3" "echo Mode: Rifle Spam, controlled though.; play script1/rain_drip3; bind mouse1 +script3; alias nextscript script4;alias previousscript script2"
    alias "+script3" "+attack;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;-attack;"
    alias "-script3" "" // blank, just here to stop console spam
    
    // 4: Twin-Shot Smg2
    alias "script4" "echo Mode: Twin-Shot SMG2.; play script1/rain_drip4; bind mouse1 +script4; alias nextscript script5;alias previousscript script3"
    alias "+script4" "+attack;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;-attack;wait;wait;wait;wait;wait;wait;wait;"
    alias "-script4" "" // blank, just here to stop console spam
    
    // 5: Regular
    alias script5 "echo Mode: Regular Attack.; bind mouse1 +attack; alias nextscript script1;alias previousscript script4"
    alias +script5 +attack
    alias -script5 -attack
    alias "nextscript" "script1"
    
    bind "mouse1" "+script5"
    bind "pgdn" "nextscript"
    bind pgup "previousscript"
     
    Last edited: Nov 13, 2009
  3. blizzerd

    blizzerd Member

    Messages:
    10,552
    Likes Received:
    60
    Trophy Points:
    0
    these are pretty awesome,

    thumbs go up in belgium
     
  4. PreDominance

    PreDominance Member

    Messages:
    4,182
    Likes Received:
    0
    Trophy Points:
    0
    Let me know if something is amiss..

    Also, post here for new ideas. I can pretty much get anything in.
     
  5. Empty

    Empty Member

    Messages:
    14,912
    Likes Received:
    11
    Trophy Points:
    0
    Lasers.
     
  6. PreDominance

    PreDominance Member

    Messages:
    4,182
    Likes Received:
    0
    Trophy Points:
    0
    Hey! You're the art'eest', I'm just the emp_noob who uses scripts; I don't even know if it's possible to modify tracers in-game.
     
  7. recon

    recon SM Support Dev

    Messages:
    2,348
    Likes Received:
    0
    Trophy Points:
    0
    I'll have to work on a way to automatically detect and ban people who use this.
     
  8. PreDominance

    PreDominance Member

    Messages:
    4,182
    Likes Received:
    0
    Trophy Points:
    0
    Recon, there's no reason for that. Server owners can disable the wait command if they so choose; it's up to them.

    Besides, these aren't game-breaking scripts.
     
  9. Empty

    Empty Member

    Messages:
    14,912
    Likes Received:
    11
    Trophy Points:
    0
    Dear god, people might fire single shots from the carbine, or worse, fire only 2 shots from a rifle.
     
  10. PreDominance

    PreDominance Member

    Messages:
    4,182
    Likes Received:
    0
    Trophy Points:
    0
    Exactly. I can fire single shots from a carbine on my own. This way just makes my life easier.

    Wait.

    Things that make people's lives easier?

    BRING THE BANHAMMOR.
     
  11. blizzerd

    blizzerd Member

    Messages:
    10,552
    Likes Received:
    60
    Trophy Points:
    0
    epo makes athletes training and preforming easier
     
  12. Trickster

    Trickster Retired Developer

    Messages:
    16,576
    Likes Received:
    46
    Trophy Points:
    0
    I consider them a disadvantage. They're primarily for people with parkinsons who spasm over the mouse. Those people usually aren't a threat anyway.
     
  13. PreDominance

    PreDominance Member

    Messages:
    4,182
    Likes Received:
    0
    Trophy Points:
    0
    The BECAR script is great for sniping, and the sensitivity is good for ease-of-sniping.

    Might make an NFHR script, to fire off rapid-er shots, whilst possibly have your mouse scroll down in an anti-recoil sort of way. But I think that's taking it a bit far...using scripts to get past recoil.
     
  14. Trickster

    Trickster Retired Developer

    Messages:
    16,576
    Likes Received:
    46
    Trophy Points:
    0
    Actually, that would be remotely useful, but you forget one thing.

    The recoil itself is coned. Just because the animation moves, that's nothing to do with the actual recoil. The crosshair itself barely moves.
     
  15. Empty

    Empty Member

    Messages:
    14,912
    Likes Received:
    11
    Trophy Points:
    0
    Actually recoil does move the crosshair slightly, it's just much less than the visual kick.
     
  16. PreDominance

    PreDominance Member

    Messages:
    4,182
    Likes Received:
    0
    Trophy Points:
    0
    That probably messes a lot of players up. You see this huge recoil animation, and it's hard (for me, at least) to keep imagining there is no recoil. A script that gets of 4 or 5 shots (rapidly) might help.
     
  17. Chris0132'

    Chris0132' Developer

    Messages:
    9,482
    Likes Received:
    0
    Trophy Points:
    0
    Yes this is my experience too, whenever I test recoiling weapons on a personal server they actually seem to recoil. I don't know if it works on dedicated servers though.
     
  18. blizzerd

    blizzerd Member

    Messages:
    10,552
    Likes Received:
    60
    Trophy Points:
    0
    ive asked the devs to ether make the crosshair move along or cut the whole rocking out

    they never did :(
     
  19. Trickster

    Trickster Retired Developer

    Messages:
    16,576
    Likes Received:
    46
    Trophy Points:
    0
    The recoil of all weapon models in comparison with the crosshair itself is FUBAR.
     
  20. blizzerd

    blizzerd Member

    Messages:
    10,552
    Likes Received:
    60
    Trophy Points:
    0

Share This Page