How do you make "Tool kits" for Engineers (like med kit/ammo packs)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Harmor

    #1

    How do you make "Tool kits" for Engineers (like med kit/ammo packs)

    I'm trying to figure out how to make a "Took kit" that works like the Medic's med kit and the Support's ammo pack for an Engineer.

    I pretty much have figured out how to add a new option to the Engineer's kit, but am unsure how to make it "repair" an object next to it like a supply crate.

    I want it to ONLY repair, not spawn a supply crate.
  • imported_CheetahShrk

    #2
    Re: How do you make "Tool kits" for Engineers (like med kit/ammo packs)

    I am not sure, but I think it has something to do with this


    rem ---BeginComp:ReplenishingAmmoComp ---
    ObjectTemplate.createComponent ReplenishingAmmoComp
    ObjectTemplate.ammo.magSize -1
    ObjectTemplate.ammo.changeMagAt 1
    ObjectTemplate.ammo.minimumTimeUntilReload 0.5
    ObjectTemplate.ammo.abilityDrain 0.06
    ObjectTemplate.ammo.abilityRadius 4
    ObjectTemplate.ammo.abilityStrength 3
    ObjectTemplate.ammo.abilityCost 0.3
    ObjectTemplate.ammo.abilityMaterial 84
    ObjectTemplate.ammo.replenishingType RTHeal
    ObjectTemplate.ammo.onlyActiveWhileFiring 1
    rem ---EndComp ---

    The abilityMaterial part with replenishingType might be it but I am not sure.

    Comment

    • Harmor

      #3
      Re: How do you make "Tool kits" for Engineers (like med kit/ammo packs)

      Originally posted by CheetahShrk
      I am not sure, but I think it has something to do with this


      rem ---BeginComp:ReplenishingAmmoComp ---
      ObjectTemplate.createComponent ReplenishingAmmoComp
      ObjectTemplate.ammo.magSize -1
      ObjectTemplate.ammo.changeMagAt 1
      ObjectTemplate.ammo.minimumTimeUntilReload 0.5
      ObjectTemplate.ammo.abilityDrain 0.06
      ObjectTemplate.ammo.abilityRadius 4
      ObjectTemplate.ammo.abilityStrength 3
      ObjectTemplate.ammo.abilityCost 0.3
      ObjectTemplate.ammo.abilityMaterial 84
      ObjectTemplate.ammo.replenishingType RTHeal
      ObjectTemplate.ammo.onlyActiveWhileFiring 1
      rem ---EndComp ---

      The abilityMaterial part with replenishingType might be it but I am not sure.
      I'll play with it.

      Here's a concept picture of the toolbox...I can rip the texture from the uniforms...just have to model it using 3dmax.

      Comment

      Working...