aliens

Author Topic: [WEAPON] New Heavy Weapons  (Read 3443 times)

Offline NastyKhan

  • Sergeant
  • **
  • Posts: 17
    • View Profile
[WEAPON] New Heavy Weapons
« on: June 14, 2021, 12:15:25 am »
Hi,

I'm new. Please check my first mod ever :) Tested several times on OXCE, so should be fine.

https://openxcom.mod.io/new-heavy-weapons

• Auto-cannon and Heavy Cannon removed
• Sniper Rifle added. Piercing ammo only.
• Granade Launcher added. Explosive, incendiary and smoke ammo available.
• Light Machine Gun added. Piercing ammo only.

Best regards

Offline The Martian

  • Commander
  • *****
  • Posts: 609
  • "It implores you to listen to its arguments..."
    • View Profile
Re: [WEAPON] New Heavy Weapons
« Reply #1 on: June 14, 2021, 05:04:52 am »
Excellent sprite work NastyKhan!

Offline NastyKhan

  • Sergeant
  • **
  • Posts: 17
    • View Profile
Re: [WEAPON] New Heavy Weapons
« Reply #2 on: June 14, 2021, 09:35:02 am »
Thanks, Colonel :)

Wait until you hear the sounds!

Best regards

Offline gaffer

  • Captain
  • ***
  • Posts: 59
    • View Profile
    • Email
Re: [WEAPON] New Heavy Weapons
« Reply #3 on: June 23, 2021, 08:22:58 pm »
Great looking work! Looking forward go trying this.

Offline x-com_player

  • Squaddie
  • *
  • Posts: 9
    • View Profile
    • Email
Re: [WEAPON] New Heavy Weapons
« Reply #4 on: January 03, 2022, 09:13:48 pm »
Hi, using your mod with OXCE 7.3.
1. I may suggest adding new HW to starting base. Changed 'startingBase' rul file. see in attchment.

2. I added 2 new fire mods to Light Machine Gun, so now its 3 types of fire:
 - Auto snap shot: 3 rounds, low accurancy
 - Auto aimed shot: 3 rounds, high accurancy
 - Rapid shot: 5 rounds, lowest accurancy and low cost

Currently cant fix description strings in Ufopedia.

Offline Dioxine

  • Commander
  • *****
  • Posts: 5305
  • punk not dead
    • View Profile
    • Nocturnal Productions
    • Email
Re: [WEAPON] New Heavy Weapons
« Reply #5 on: January 08, 2022, 05:55:35 am »
Code: [Select]
  STR_SHOT_TYPE_AUTO: " Auto (x{0})"
  STR_SHOT_TYPE_SNAP: " Snap (x{0})"
  STR_SHOT_TYPE_AIMED: " Aimed (x{0})"

Modifying language file like this will make the Pedia display correct number of shots for all firing modes. However, it won't display custom name for firing modes, there's no such option.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 7379
    • View Profile
Re: [WEAPON] New Heavy Weapons
« Reply #6 on: January 08, 2022, 10:40:44 am »
I will look into this.
Maybe there's something we can do...

Offline The Reaver of Darkness

  • Commander
  • *****
  • Posts: 1473
    • View Profile
Re: [WEAPON] New Heavy Weapons
« Reply #7 on: January 09, 2022, 10:08:39 am »
Currently cant fix description strings in Ufopedia.

Add this to your language files:
Code: [Select]
  STR_SHOT_TYPE_SNAP: "Snap (x{0})"
  STR_SHOT_TYPE_AIMED: "Aimed (x{0})"

edit: oh nvm Dioxine already had the answer! :P
« Last Edit: January 09, 2022, 10:10:28 am by The Reaver of Darkness »

Offline NastyKhan

  • Sergeant
  • **
  • Posts: 17
    • View Profile
Re: [WEAPON] New Heavy Weapons
« Reply #8 on: January 09, 2022, 02:06:37 pm »
I would just like to say, that this gun has custom sound and custom bullet sprite to emulate short burst per shot.
That means 5 "shots" are actually 5 short bursts.

Offline x-com_player

  • Squaddie
  • *
  • Posts: 9
    • View Profile
    • Email
Re: [WEAPON] New Heavy Weapons
« Reply #9 on: January 12, 2022, 12:36:08 pm »
Thatnk you for help!

I would just like to say, that this gun has custom sound and custom bullet sprite to emulate short burst per shot.
That means 5 "shots" are actually 5 short bursts.
That is totally ok. 5 shots sould like 5 bursts, same as 3 shots sound like 3 bursts.

Also, game supports arc shots so granage launcher also may have 2 mods: linear shot and ark shot.

Offline NastyKhan

  • Sergeant
  • **
  • Posts: 17
    • View Profile
Re: [WEAPON] New Heavy Weapons
« Reply #10 on: January 12, 2022, 02:35:13 pm »
Quote from: x-com_player
Also, game supports arc shots so granage launcher also may have 2 mods: linear shot and ark shot.

That's true. I was thinking about ark shot initially as I found it more intuitive, but I quickly learned that ark shots and explosives don't really like each other. Especially indoor.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 7379
    • View Profile
Re: [WEAPON] New Heavy Weapons
« Reply #11 on: January 15, 2022, 12:13:49 pm »
Currently cant fix description strings in Ufopedia.

I've added new fields for custom short names in the ufopedia.

Example:

Code: [Select]
items:
  - type: STR_RIFLE
    confAimed:
      shots: 4
      name: STR_BIG_BOOM
      shortName: STR_BIG_BOOM_SHORT
    confSnap:
      name: STR_SMALL_BOOM
      shortName: STR_SMALL_BOOM_SHORT
    confAuto:
      shots: 2
      name: STR_SMALL_BOOM_X2
      shortName: STR_SMALL_BOOM_X2_SHORT

Code: [Select]
extraStrings:
  - type: en-US
    strings:
      STR_BIG_BOOM: "Big boom"
      STR_BIG_BOOM_SHORT: "Big (x{0})"
      STR_SMALL_BOOM: "Small boom"
      STR_SMALL_BOOM_SHORT: "Small"
      STR_SMALL_BOOM_X2: "Double boom"
      STR_SMALL_BOOM_X2_SHORT: "Small (x{0})"

Feature will be available in OXCE 7.4.1

Offline x-com_player

  • Squaddie
  • *
  • Posts: 9
    • View Profile
    • Email
Re: [WEAPON] New Heavy Weapons
« Reply #12 on: January 16, 2022, 02:48:31 pm »
Thank you, Meridian! Much appreciated.

Offline The Reaver of Darkness

  • Commander
  • *****
  • Posts: 1473
    • View Profile
Re: [WEAPON] New Heavy Weapons
« Reply #13 on: January 25, 2022, 03:40:54 pm »
Yes, thank you! I also wanted this!