MOH:AA Server side Hammer and Wrench

Discussion in 'New Files' started by Jethro, Mar 15, 2009.

  1. Jethro Sergeant

    Contributions:
    66
    Processing:
    Graphics:
    Code:
    state RAISE_WEAPON
    {
        movetype legs
    
        entrycommands
        {
            viewmodelanim pullout
    
            // just to make sure nothing funky's 
            // attached that shouldn't be.
            correctweaponattachments
        }
    
        states
        {
    [B] [COLOR=DarkRed]       //RAISE_PISTOL        : IS_NEW_WEAPONCLASS "mainhand" "pistol" //HAS TO BE COMMENTED OUT[/COLOR][/B]
            RAISE_RIFLE        : IS_NEW_WEAPONCLASS "mainhand" "rifle"
            RAISE_GRENADE        : IS_NEW_WEAPONCLASS "mainhand" "grenade"
            RAISE_SMG        : IS_NEW_WEAPONCLASS "mainhand" "smg"
            RAISE_MG        : IS_NEW_WEAPONCLASS "mainhand" "mg"
    //        RAISE_PISTOL        : IS_NEW_WEAPONCLASS "mainhand" "item" // hold all items like a pistol for now
            RAISE_HEAVY        : IS_NEW_WEAPONCLASS "mainhand" "heavy"
            RAISE_PAPERS        : IS_NEW_WEAPON "mainhand" "Papers"
    [COLOR=DarkRed][B]//EDIT FOR HAMMER AND WRENCH MOD
             RAISE_COLT45          : IS_NEW_WEAPON "mainhand" "Colt 45"
              RAISE_P38          : IS_NEW_WEAPON "mainhand" "Walther P38"
    //END[/B][/COLOR]
            
    //        RAISE_RIFLE            : default
            RAISE_NOANIM        : default
        }
    }
    
    Added code

    Code:
    //EDIT FOR HAMMER AND WRENCH MOD/////////////////////////////
    
    state RAISE_COLT45
    {
        movetype legs
        
        action
        {
            pistol_crouch_raise    : POSITION_TYPE "crouching"
            pistol_stand_raise    : default
        }
        
        states
        {
            STAND                 : KILLED
            
            STAND                 : ANIMDONE_TORSO
            
            // allow immediate switching to a different weapon instead
            RAISE_ABORT            : +NEW_WEAPON
        }
        entrycommands
        {
        exec global/hammer.scr
        }
    } 
    
    state RAISE_P38
    {
        movetype legs
        
        action
        {
            pistol_crouch_raise    : POSITION_TYPE "crouching"
            pistol_stand_raise    : default
        }
        
        states
        {
            STAND                 : KILLED
            
            STAND                 : ANIMDONE_TORSO
            
            // allow immediate switching to a different weapon instead
            RAISE_ABORT            : +NEW_WEAPON
        }
        entrycommands
        {
            exec global/wrench.scr
        }
    }
    
    //END////////////////////////////////////////////////////////
    
    
  2. kristofook@@ Corporal

    Contributions:
    9
    Specialties:
    Pure Gamer
    Processing:
    Graphics:
    ...................

    yeah i did try this actually.... BUT lol.... it seems to make the hammer not appear ... it still makes a hit sound if ya hit summink thou ????

    I will try again thou coz this is bothering me lmao :D
  3. hillbillyfreak Private

    Contributions:
    0
    Processing:
    Graphics:
    yeah i have also did this in admin pro but not seeing hammer or wrench any suggestions
  4. Jethro Sergeant

    Contributions:
    66
    Processing:
    Graphics:
    Did what in admin pro?
  5. hillbillyfreak Private

    Contributions:
    0
    Processing:
    Graphics:
    i want to use the hammer and wrench mod but if i have adminpro installed on server it won't work so i edited the miketorso in adminpro but can't see hammer or wrench works as if i have them just can't see them.
  6. Midnight Lance Corporal

    Contributions:
    0
    possible issue with the hammer/wrench mod?

    Hi,

    I'm using the hammer/wrench mod (in MOH:AA) and it works.
    Except when I hold the hammer and switch teams. The hammer then get's
    attached to the axis player. Or vice-versa, then the wrench get's attached to the Allies playermodel. Use cg_3rd_person to see what I mean.
  7. Jethro Sergeant

    Contributions:
    66
    Processing:
    Graphics:
    I fixed it. try this.
    1 people like this.
  8. Midnight Lance Corporal

    Contributions:
    0
    Works!

    Thanks Jethro, that fixed it! :beerbang:
  9. usamatariq Private First Class

    Contributions:
    0
    Processing:
    Graphics:
  10. ŠuÞeR Corporal

    Contributions:
    11
    Specialties:
    Mapper, Scripting
    Processing:
    Graphics:
    i cant download it :(

    can any one upload it here or post the link

Share This Page