aliens

Author Topic: "Grenade Launcher" for the Rifle  (Read 5447 times)

Offline EchoFourDelta

  • Sergeant
  • **
  • Posts: 14
    • View Profile
"Grenade Launcher" for the Rifle
« on: September 13, 2013, 05:45:19 pm »
Someone correct me if I'm wrong, and tell if I'm missing the forest for the trees, but let's say I wanted to make it so that a soldier could load and fire a grenade from the rifle, to simulate a single-shot grenade. Within the existing structure of the ruleset, I'd simply list the desired second ammo type the rifle could use in addition to its normal magazine, the same as if we were looking at, say, the autocannon and its multiple ammo types, specify the sprite used for the shot, and detail its effects in a similar manner, correct?

Offline SupSuper

  • Lazy Developer
  • Administrator
  • Commander
  • *****
  • Posts: 2162
    • View Profile
Re: "Grenade Launcher" for the Rifle
« Reply #1 on: September 13, 2013, 09:13:59 pm »
Yes, you'd just add it as a new ammo-type item with appropriate properties (ammo items define the properties of the shot) and list it under "compatibleAmmo" for the Rifle.

Offline EchoFourDelta

  • Sergeant
  • **
  • Posts: 14
    • View Profile
Re: "Grenade Launcher" for the Rifle
« Reply #2 on: September 13, 2013, 09:47:15 pm »
Ah, sweet. Thanks a bunch.

Offline moriarty

  • Commander
  • *****
  • Posts: 1421
    • View Profile
    • Luke's OX mod site
Re: "Grenade Launcher" for the Rifle
« Reply #3 on: September 14, 2013, 12:56:59 am »
of course, since a given weapon can only have one type of ammo loaded at any time, you'd need to unload the standard clip from the rifle before loading the grenade "clip".

Offline EchoFourDelta

  • Sergeant
  • **
  • Posts: 14
    • View Profile
Re: "Grenade Launcher" for the Rifle
« Reply #4 on: September 14, 2013, 01:03:03 am »
Oh, yeah, that's no trouble.