Admin Pro Torso Question

Started by click, December 03, 2005, 08:13:47 PM

Previous topic - Next topic

click

I noticed you guys have several torso.st files. My server is a Sh server so im sure it uses the nagle_sh_torso.st file. And I also see a NIL_torso.st file.

   

    I need to edit the mike_torso.st file to make my rifles not re-chamber, would I have to edit these other torso.st files in the same manner to achieve this?

   

   The plane mod works really well, I have not had any problems at all since I got it running on the server. Great job!

   

   TY,

   {DOGZ} click

   

   

   {DOGZ}Dogfight Flyable Planes

   66.55.155.192
:D

Elgan {sfx}

you only have to edit nagle_sh_torso.st and maye nagle_sh_legs.st if u need so. all the other files you can leave alone as they dont run.

   

   NIL_legs.st and torso are for error checking reasons, u can leave them too:)

click

Worked like a charm. The new {DOGZ}Spearhead server has become very popluar very fast. thanks again!
:D

click

Im tring to add these states to the nagle_sh_torso.st

   without any luck, I have a feeling its due to stand proper, can anyone shed some light of my failures? a link to the dlownload is:

   

   http://67.19.29.66/~tmt/forum/attachment.php?attachmentid=8544&d=1134147871">http://67.19.29.66/~tmt/forum/attachment.php?attachmentid=8544&d=1134147871

   

   

   

   //state changes/additions for new weapons.

   

   

   ***********************************************************************************************************

   in stand:

   

   

   

         DO_HAMMER      : +ATTACK_PRIMARY IS_WEAPON_ACTIVE "mainhand" "Sledge Hammer"

         DO_HAMMER      : +ATTACK_SECONDARY IS_WEAPON_ACTIVE "mainhand" "Sledge Hammer"

         DO_WELD         : +ATTACK_PRIMARY IS_WEAPON_ACTIVE "mainhand" "Welding Torch"

         DO_WELD         : +ATTACK_SECONDARY IS_WEAPON_ACTIVE "mainhand" "Welding Torch"

         DO_SCREW      : +ATTACK_PRIMARY IS_WEAPON_ACTIVE "mainhand" "Screwdriver"

         DO_SCREW      : +ATTACK_SECONDARY IS_WEAPON_ACTIVE "mainhand" "Screwdriver"

   

   ************************************************************************************************************

   

   in RAISE_WEAPON:

   

         RAISE_SCREW      : IS_NEW_WEAPON "mainhand" "Screwdriver"

         RAISE_SLEDGE      : IS_NEW_WEAPON "mainhand" "Sledge Hammer"

         RAISE_WELD      : IS_NEW_WEAPON "mainhand" "Welding Torch"

   

   ************************************************************************************************************

   

   stand alone states:

   

   

   

   state DO_SCREW

   {

   

      entrycommands

      {

      weaponcommand mainhand name "Colt 45"

      viewmodelanim fire_secondary 1

      weaponcommand mainhand name "Screwdriver"

      commanddelay 0.25 weaponcommand mainhand shoot

      }

   

      action

      {

      pistol_butt   : default

      }

      

      states

      {

       STAND_PROPER   : ANIMDONE_TORSO

      }

   

   

   }

   

   state DO_HAMMER

   {

   

      entrycommands

      {

      weaponcommand mainhand name "Colt 45"

      viewmodelanim fire_secondary 1

      weaponcommand mainhand name "Sledge Hammer"

      commanddelay 0.25 weaponcommand mainhand shoot

      }

   

      action

      {

      pistol_butt   : default

      }

      

      states

      {

       STAND_PROPER   : ANIMDONE_TORSO

      }

   

   

   }

   

   state DO_WELD

   {

   

      entrycommands

      {

      weaponcommand mainhand name "Colt 45"

      viewmodelanim fire

      exec weapons/welder.scr idleon

      weaponcommand mainhand name "Welding Torch"

      commanddelay 0.25 weaponcommand mainhand shoot

      commanddelay 1 exec weapons/welder.scr idleoff

      }

   

      action

      {

      pistol_stand_fire   : default

      }

      

      states

      {

       STAND_PROPER   : ANIMDONE_TORSO

      }

   

   

   }

   

   state RAISE_SCREW

   {

   

      entrycommands

      {

      commanddelay 0.05 activatenewweapon

      commanddelay 0.05 forcetorsostate "STAND_PROPER"

      commanddelay 0.25 exec weapons/screw_angle.scr

      }

   

   }

   

   state RAISE_SLEDGE

   {

   

      entrycommands

      {

      commanddelay 0.05 activatenewweapon

      commanddelay 0.05 forcetorsostate "STAND_PROPER"

      commanddelay 0.25 exec weapons/sledge_angle.scr

      }

   

   }

   

   state RAISE_WELD

   {

   

      entrycommands

      {

      commanddelay 0.05 activatenewweapon

      commanddelay 0.05 forcetorsostate "STAND_PROPER"

      commanddelay 0.25 exec weapons/welder.scr idleoff

      }

   

   }
:D

Elgan {sfx}

hm, looks ok to me, where abouts in stand did u place them?

   

   must be in the same as in sorrids state, ie, above the weapons checks/primary checks,