aliens

Author Topic: double simultaneous shot  (Read 3807 times)

Offline bulletdesigner

  • Commander
  • *****
  • Posts: 685
    • View Profile
double simultaneous shot
« on: October 17, 2017, 10:11:44 pm »
i´ve been looking in forum a way do to a double barrel gun but not shotgun (stormbolter) , but i tried in item the  ->   shotgunPellets: 2    but the spread is crazy and show no bulletsprite..
So is there any line to apply 2 times the damage in the same shot? Meaning i did a bulletsprite with 2 bullets even it still counts as the same projectile

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11721
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: double simultaneous shot
« Reply #1 on: October 17, 2017, 11:43:40 pm »
Not sure what effect you're going for, but you could try playing arouns with shotgunChoke and shotgunSpread. (You're using OXCE+, right?)

Offline ohartenstein23

  • Commander
  • *****
  • Posts: 1933
  • Flamethrowers fry cyberdisk circuits
    • View Profile
Re: double simultaneous shot
« Reply #2 on: October 17, 2017, 11:51:13 pm »
Assuming OXCE+:
Code: [Select]
items:
  - type: STR_STORMBOLTER
    shotgunBehavior: 1 # Turns on improved shotgun code
    ...
  - type: STR_STORMBOLTER_CLIP
    shotgunPellets: 2
    shotgunSpread: 5 # Accuracy of "second" shot is 100 - spread = 95 to hit same target as "first" shot
« Last Edit: October 17, 2017, 11:54:42 pm by ohartenstein23 »