Author Topic: My First Mod NEED HELP!  (Read 3093 times)

Offline shiono_the_shade

  • Squaddie
  • *
  • Posts: 3
    • View Profile
My First Mod NEED HELP!
« on: March 15, 2015, 10:34:30 pm »
So, here's my problem:

Trying to make a HWP that can arc rockets (already able to do to the Rocket HWP), and also shoot HWP Cannon Shells.

IS it possible to make a HWP with two weapons?  I'm adding what I've got so far and would appreciate any help.  Mind you I only want the Rockets to arc not the cannon shells.

So far I've had none explosive rockets, arcing cannon shells, normal cannon shells, and normal rockets.  AND always only one weapon, not two.

Any and all help is appreciated!
« Last Edit: March 16, 2015, 02:41:01 am by shiono_the_shade »

Offline Hobbes

  • Commander
  • *****
  • Posts: 2101
  • Infiltration subroutine in progress
    • View Profile
Re: My First Mod NEED HELP!
« Reply #1 on: March 16, 2015, 04:13:02 am »
Hi there. You could check the YetMoreHWPs mod. IIRC there's a unit there that resembles what you're trying to design with a mortar type weapon.

Offline shiono_the_shade

  • Squaddie
  • *
  • Posts: 3
    • View Profile
Re: My First Mod NEED HELP!
« Reply #2 on: March 16, 2015, 04:14:38 am »
It has a hwp with 2 or more weapons on it?

Offline Dioxine

  • Commander
  • *****
  • Posts: 5427
  • punk not dead
    • View Profile
    • Nocturnal Productions
Re: My First Mod NEED HELP!
« Reply #3 on: March 16, 2015, 05:43:11 am »
It is although not sure if the 2nd weapon would/could use ammo.
Make a normal HWP then add, like (in Units, under the HWP in question):

Code: [Select]
   
builtInWeapons:
      - STR_TANK_CANNON
      - AUX_TANK_MG
      - STR_HWP_CANNON_SHELLS

Replace the STR_TANK_CANNON and AUX_TANK_MG with any other weapon you want. Not sure where exactly should be ammo for 2nd weapon declared, I guess on 4th position, but not sure (I haven't done any tank which has each weapon with limited ammo). The order in which these weapons and ammo are declared is of critical importance, so you'll probably have to experiment around before finding the proper way.

Offline shiono_the_shade

  • Squaddie
  • *
  • Posts: 3
    • View Profile
Re: My First Mod NEED HELP!
« Reply #4 on: March 16, 2015, 05:45:38 am »
Thanks man I'll upload the finished tank when it works. Just tried looking up the mod you mentioned and I can't find it, could you link it to me?
« Last Edit: March 17, 2015, 05:31:40 am by shiono_the_shade »