aliens

Author Topic: [HWP] Some "new" tanks (ruleset only)  (Read 13183 times)

Offline civilian

  • Colonel
  • ****
  • Posts: 154
    • View Profile
[HWP] Some "new" tanks (ruleset only)
« on: April 29, 2014, 11:28:21 am »
Acid-Shotgun Hovertank:

Code: [Select]
items:
  - type: STR_HOVERTANK_ACID
    size: 6
    costSell: 400000
    transferTime: 96
    weight: 1
    bigSprite: 40
    floorSprite: 0
    handSprite: 0
    bulletSprite: 8
    fireSound: 18
    hitSound: 19
    power: 60
    damageType: 8
    hitAnimation: 26
    accuracySnap: 70
    accuracyAimed: 85
    tuSnap: 25
    tuAimed: 33
    battleType: 1
    fixedWeapon: true
    clipSize: -1
    invWidth: 2
    invHeight: 3
    turretType: 3
    arcingShot: true
    blastRadius: 0
    shotgunPellets: 8
    maxRange: 20
    listOrder: 1708
units:
  - type: STR_HOVERTANK_ACID
    race: STR_HOVERTANK_ACID
    stats:
      tu: 100
      stamina: 100
      health: 90
      bravery: 110
      reactions: 30
      firing: 65
      throwing: 0
      strength: 60
      psiStrength: 100
      psiSkill: 0
      melee: 70
    armor: HOVERTANK_ARMOR
    standHeight: 12
    kneelHeight: 12
    floatHeight: 6
    value: 20
    deathSound: 23
    moveSound: 40
    energyRecovery: 50
manufacture:
  - name: STR_HOVERTANK_ACID
    category: STR_HEAVY_WEAPONS_PLATFORM
    requires:
      - STR_PLASMA_CANNON
      - STR_NEW_FIGHTER_CRAFT
      - STR_CELATID_CORPSE
      - STR_SNAKEMAN_CORPSE
      - STR_CHRYSSALID_CORPSE
    space: 30
    time: 1200
    cost: 800000
    listOrder: 748
    requiredItems:
      STR_ALIEN_ALLOYS: 10
      STR_ELERIUM_115: 20
      STR_UFO_POWER_SOURCE: 1
      STR_UFO_NAVIGATION: 1
ufopaedia:
  - id: STR_HOVERTANK_ACID
    type_id: 3
    section: STR_HEAVY_WEAPONS_PLATFORMS
    weapon: STR_ACID_CANNON
    requires:
      - STR_PLASMA_CANNON
      - STR_NEW_FIGHTER_CRAFT
      - STR_CELATID_CORPSE
      - STR_SNAKEMAN_CORPSE
      - STR_CHRYSSALID_CORPSE
    text: STR_HOVERTANK_ACID_UFOPEDIA
extraStrings:
  - type: en-GB
    strings:
      STR_HOVERTANK_ACID: Hovertank/Toxin
      STR_ACID_CANNON: Toxin Spray
      STR_HOVERTANK_ACID_UFOPEDIA: Our best scientists came up with this gruesome weapon to battle the aliens. It lacks a bit of range but it is extremely powerful.
  - type: en-US
    strings:
      STR_HOVERTANK_ACID: Hovertank/Toxin
      STR_ACID_CANNON: Toxin Spray
      STR_HOVERTANK_ACID_UFOPEDIA: Our best scientists came up with this gruesome weapon to battle the aliens. It lacks a bit of range but it is extremely powerful.

Scout-Hovercraft:
Code: [Select]
items:
  - type: STR_HOVERTANK_SCOUT
    size: 6
    costSell: 400000
    transferTime: 96
    weight: 1
    bigSprite: 40
    floorSprite: 0
    handSprite: 0
    bulletSprite: 3
    fireSound: 88
    hitSound: 13
    power: 80
    damageType: 9
    hitAnimation: 26
    accuracyAimed: 85
    tuAimed: 33
    battleType: 1
    fixedWeapon: true
    clipSize: -1
    invWidth: 2
    invHeight: 3
    turretType: 4
    blastRadius: 5
    listOrder: 1709
armors:
  - type: HOVERTANK_SCOUT_ARMOR
    spriteSheet: TANKS.PCK
    corpseBattle:
      - HOVERTANK_CORPSE_1
      - HOVERTANK_CORPSE_2
      - HOVERTANK_CORPSE_3
      - HOVERTANK_CORPSE_4
    frontArmor: 140
    sideArmor: 130
    rearArmor: 120
    underArmor: 110
    drawingRoutine: 2
    movementType: 1
    size: 2
    damageModifier:
      - 1.0
      - 1.0
      - 0.8
      - 0.8
      - 1.0
      - 0.8
      - 0.0
      - 0.8
      - 0.4
      - 0.0
    loftempsSet: [ 92, 89, 90, 91 ]
units:
  - type: STR_HOVERTANK_SCOUT
    race: STR_HOVERTANK_SCOUT
    stats:
      tu: 120
      stamina: 120
      health: 120
      bravery: 110
      reactions: 0
      firing: 65
      throwing: 0
      strength: 60
      psiStrength: 100
      psiSkill: 0
      melee: 0
    armor: HOVERTANK_SCOUT_ARMOR
    standHeight: 12
    kneelHeight: 12
    floatHeight: 6
    value: 20
    deathSound: 23
    moveSound: 40
    energyRecovery: 50
manufacture:
  - name: STR_HOVERTANK_SCOUT
    category: STR_HEAVY_WEAPONS_PLATFORM
    requires:
      - STR_PLASMA_CANNON
      - STR_NEW_FIGHTER_CRAFT
    space: 30
    time: 1000
    cost: 600000
    listOrder: 749
    requiredItems:
      STR_ALIEN_ALLOYS: 15
      STR_ELERIUM_115: 20
      STR_UFO_POWER_SOURCE: 1
      STR_UFO_NAVIGATION: 1
ufopaedia:
  - id: STR_HOVERTANK_SCOUT
    type_id: 3
    section: STR_HEAVY_WEAPONS_PLATFORMS
    weapon: STR_SCOUT_SMOKE_CANNON
    requires:
      - STR_PLASMA_CANNON
      - STR_NEW_FIGHTER_CRAFT
    text: STR_HOVERTANK_SCOUT_UFOPEDIA
extraSounds:
  - type: BATTLE.CAT
    files:
      88: Resources/Scoutdrone/pop.wav
extraStrings:
  - type: en-GB
    strings:
      STR_HOVERTANK_SCOUT: Hovertank/Scout
      STR_SCOUT_SMOKE_CANNON: Smoke Grenade
      STR_HOVERTANK_SCOUT_UFOPEDIA: This hovertank is a special development for scouting the battle area. Tough armor, high speed, this leaves no room for big weapons of course.
  - type: en-US
    strings:
      STR_HOVERTANK_SCOUT: Hovertank/Scout
      STR_SCOUT_SMOKE_CANNON: Smoke Grenade
      STR_HOVERTANK_SCOUT_UFOPEDIA: This hovertank is a special development for scouting the battle area. Tough armor, high speed, this leaves no room for big weapons of course.

Artillery-Tank:

Code: [Select]
items:
  - type: STR_TANK_GRENADE_LAUNCHER
    size: 6
    costBuy: 420000
    costSell: 120000
    transferTime: 96
    weight: 1
    bigSprite: 42
    floorSprite: 0
    handSprite: 0
    bulletSprite: 3
    fireSound: 4
    compatibleAmmo:
      - STR_HWP_GRENADES
    accuracySnap: 65
    accuracyAimed: 115
    tuSnap: 45
    tuAimed: 70
    battleType: 1
    fixedWeapon: true
    invWidth: 2
    invHeight: 3
    turretType: 1
    arcingShot: true
    listOrder: 1210
  - type: STR_HWP_GRENADES
    size: 0.6
    costBuy: 1000
    costSell: 350
    transferTime: 48
    weight: 1
    bigSprite: -1
    floorSprite: 16
    hitSound: 0
    hitAnimation: 0
    power: 50
    damageType: 3
    clipSize: 15
    battleType: 2
    invWidth: 1
    invHeight: 3
    listOrder: 1211
units:
  - type: STR_TANK_GRENADE_LAUNCHER
    race: STR_TANK_GRENADE_LAUNCHER
    stats:
      tu: 80
      stamina: 100
      health: 100
      bravery: 110
      reactions: 20
      firing: 65
      throwing: 0
      strength: 60
      psiStrength: 100
      psiSkill: 0
      melee: 70
    armor: TANK_ARMOR
    standHeight: 16
    kneelHeight: 16
    value: 20
    deathSound: 23
    moveSound: 14
    energyRecovery: 50
ufopaedia:
  - id: STR_TANK_GRENADE_LAUNCHER
    type_id: 3
    section: STR_HEAVY_WEAPONS_PLATFORMS
    text: STR_TANK_GRENADE_LAUNCHER_UFOPEDIA
    weapon: STR_HWP_GRENADES
    listOrder: 2202
extraStrings:
  - type: en-GB
    strings:
      STR_TANK_GRENADE_LAUNCHER: Tank/Artillery
      STR_HWP_GRENADES: HWP Grenades
      STR_TANK_GRENADE_LAUNCHER_UFOPEDIA: While it lacks the brute force of other tank weapons, the Artillery Tank is great for indirect fire-support.
  - type: en-US
    strings:
      STR_TANK_GRENADE_LAUNCHER: Tank/Artillery
      STR_HWP_GRENADES: HWP Grenades
      STR_TANK_GRENADE_LAUNCHER_UFOPEDIA: While it lacks the brute force of other tank weapons, the Artillery Tank is great for indirect fire-support.

have fun!  :)
« Last Edit: May 17, 2014, 04:08:38 am by Warboy1982 »

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11408
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: Some "new" tanks (ruleset only)
« Reply #1 on: April 29, 2014, 03:46:57 pm »
I'm just in the process of putting together a tank compilation for the Final Mod Pack Project, perhaps I'll draw some inspiration from this. :)

Offline civilian

  • Colonel
  • ****
  • Posts: 154
    • View Profile
Re: Some "new" tanks (ruleset only)
« Reply #2 on: May 01, 2014, 12:19:10 pm »
Feel free to use whatever you need!  :)

Oh and remember: arcing shots combined with autoshots can cause the game to hang (at least it did with the Piratez Mod's flamethrower, not sure if the newest git fixed this)
« Last Edit: May 01, 2014, 12:20:43 pm by civilian »

Offline Dioxine

  • Commander
  • *****
  • Posts: 5412
  • punk not dead
    • View Profile
    • Nocturnal Productions
Re: Some "new" tanks (ruleset only)
« Reply #3 on: May 01, 2014, 03:39:11 pm »
It had been fixed a few weeks ago... at least it seems so. If this bug persists, I'll let the Elder Gods know :)

Offline civilian

  • Colonel
  • ****
  • Posts: 154
    • View Profile
Re: Some "new" tanks (ruleset only)
« Reply #4 on: May 02, 2014, 11:40:38 am »
Great, then I can reenable it for some other weapons, too. Thanks for the update, Dioxine!

Offline Aldorn

  • Commander
  • *****
  • Posts: 750
    • View Profile
Re: Some "new" tanks (ruleset only)
« Reply #5 on: May 10, 2014, 03:08:59 pm »
French translation

Acid-Shotgun Hovertank:
Code: [Select]
extraStrings:
  - type: fr
    strings:
      STR_HOVERTANK_ACID: Blindé Anti-G Toxine
      STR_ACID_CANNON: Canon à Toxine
      STR_HOVERTANK_ACID_UFOPEDIA: Mise au point par nos meilleurs scientifiques, cette technologie quelque peu sordide s'avère extrêmement dévastatrice, bien que proposant une portée très limitée.

Scout-Hovercraft:
Code: [Select]
extraStrings:
  - type: fr
    strings:
      STR_HOVERTANK_SCOUT: Blindé Anti-G Éclaireur
      STR_SCOUT_SMOKE_CANNON: Grenade Fumigène
      STR_HOVERTANK_SCOUT_UFOPEDIA: L'objet principal de cet aérochar réside dans la reconnaissance du terrain.  Constitué d'un blindage des plus résistants, aux dépends d'un armement très limité, son atout principal reste son importante mobilité.

Artillery-Tank:

Code: [Select]
extraStrings:
  - type: fr
    strings:
      STR_TANK_GRENADE_LAUNCHER: Blindé Artilleur
      STR_HWP_GRENADES: Grenades PAL
      STR_TANK_GRENADE_LAUNCHER_UFOPEDIA: Bien que disposant d'un armement moins puissant que les autres PAL, le Blindé Artilleur est très utile dans un rôle de support indirect.
« Last Edit: May 14, 2014, 10:21:16 pm by Aldorn »

Offline Sectoid_Soldier

  • Sergeant
  • **
  • Posts: 43
    • View Profile
Re: Some "new" tanks (ruleset only)
« Reply #6 on: May 10, 2014, 03:16:41 pm »
I've always wanted to have the Tank-Cannon fire explosives, instead of AP. An auto-shot feature might be better, or even a machine gun type weapon. But now, with Open XCOM, one can use mods, and make what one pleases.

I like this game.

Offline Human Ktulu

  • Colonel
  • ****
  • Posts: 129
  • Cuistre !
    • View Profile
Re: Some "new" tanks (ruleset only)
« Reply #7 on: May 10, 2014, 03:36:33 pm »
Quote
Aérochar
Nice, but I use the term of "Blindé Anti-G" for the Get Localisation project.

Offline Aldorn

  • Commander
  • *****
  • Posts: 750
    • View Profile
Re: Some "new" tanks (ruleset only)
« Reply #8 on: May 10, 2014, 03:40:52 pm »
You are right

I saw both expressions in global french translation and did not really know which one to use

Feel free to add corrections you want (just copy/paste/correct it)

We work as a team if you agree  ;)

Offline civilian

  • Colonel
  • ****
  • Posts: 154
    • View Profile
Re: Some "new" tanks (ruleset only)
« Reply #9 on: May 14, 2014, 11:56:57 am »
Merci beaucoup pour la texte, Aldorn!  :)

Offline Aldorn

  • Commander
  • *****
  • Posts: 750
    • View Profile
Re: Some "new" tanks (ruleset only)
« Reply #10 on: May 14, 2014, 10:19:55 pm »
Merci beaucoup pour le texte, Aldorn!  :)

You're welcome

And congratulations for your job, and for your French !

Offline Aldorn

  • Commander
  • *****
  • Posts: 750
    • View Profile
Re: Some "new" tanks (ruleset only)
« Reply #11 on: May 16, 2014, 02:29:46 am »
Regarding your Tank/Grenade Launcher (and certainly for others) that I tested, I had to make a small correction to fix issue in ufopaedia (i.e. initially displaying "HWP Grenades" for both Weapon and Ammunition)

Solution :

1) Under ufopaedia section, replace
Code: [Select]
    weapon: STR_HWP_GRENADES
with
Code: [Select]
    weapon: STR_HWP_GRENADE_LAUNCHER

2) Define a new reference under extraStrings as below
Code: [Select]
      STR_HWP_GRENADE_LAUNCHER: Grenade Launcher


Anyway, following your inspiration, I created a new unit : Tank/MachineGun
Code: [Select]
items:
  - type: STR_TANK_HMG
    size: 6
    costBuy: 420000
    costSell: 120000
    transferTime: 96
    weight: 1
    bigSprite: 43
    floorSprite: 0
    handSprite: 0
    bulletSprite: 4
    fireSound: 12
    compatibleAmmo:
      - STR_HWP_HMG_SHELLS
    accuracyAuto: 50
    tuAuto: 60
    battleType: 1
    fixedWeapon: true
    invWidth: 2
    invHeight: 3
    turretType: 0
    arcingShot: true
    listOrder: 1212
    autoShots: 8
    autoRange: 20
  - type: STR_HWP_HMG_SHELLS
    size: 0.1
    costBuy: 1000
    costSell: 350
    transferTime: 48
    weight: 1
    bigSprite: -1
    floorSprite: 12
    hitSound: 13
    hitAnimation: 26
    power: 50
    damageType: 1
    clipSize: 80
    battleType: 2
    invWidth: 1
    invHeight: 3
    listOrder: 1213
units:
  - type: STR_TANK_HMG
    race: STR_TANK_HMG
    stats:
      tu: 80
      stamina: 100
      health: 100
      bravery: 110
      reactions: 20
      firing: 65
      throwing: 0
      strength: 60
      psiStrength: 100
      psiSkill: 0
      melee: 70
    armor: TANK_ARMOR
    standHeight: 16
    kneelHeight: 16
    value: 20
    deathSound: 23
    moveSound: 14
    energyRecovery: 50
ufopaedia:
  - id: STR_TANK_HMG
    type_id: 3
    section: STR_HEAVY_WEAPONS_PLATFORMS
    text: STR_TANK_HMG_UFOPEDIA
    weapon: STR_HWP_HMG
    listOrder: 2203
extraStrings:
  - type: en-GB
    strings:
      STR_TANK_HMG: Tank/MachineGun
      STR_HWP_HMG: Heavy Machine Gun
      STR_HWP_HMG_SHELLS: Machine Gun Shells
      STR_TANK_HMG_UFOPEDIA: The Tank Machine Gun is equipped with a Heavy Machine Gun, which is ideal for covering purposes, specially on open spaces.
  - type: en-US
    strings:
      STR_TANK_HMG: Tank/MachineGun
      STR_HWP_HMG: Heavy Machine Gun
      STR_HWP_HMG_SHELLS: Machine Gun Shells
      STR_TANK_HMG_UFOPEDIA: The Tank Machine Gun is equipped with a Heavy Machine Gun, which is ideal for covering purposes, specially on open spaces.
  - type: fr
    strings:
      STR_TANK_HMG: Blindé Mitrailleur
      STR_HWP_HMG: Mitrailleuse Lourde
      STR_HWP_HMG_SHELLS: Cartouches PAL
      STR_TANK_HMG_UFOPEDIA: Le Blindé Mitrailleur est équipé d'une Mitrailleuse Lourde, idéale en couverture surtout en terrain découvert.
« Last Edit: May 16, 2014, 02:34:04 am by Aldorn »

Offline Warboy1982

  • Administrator
  • Commander
  • *****
  • Posts: 2333
  • Developer
    • View Profile
Re: [HWP] Some "new" tanks (ruleset only)
« Reply #12 on: May 17, 2014, 04:09:11 am »
don't forget to [TAG] your mods

Offline Aldorn

  • Commander
  • *****
  • Posts: 750
    • View Profile
Re: [HWP] Some "new" tanks (ruleset only)
« Reply #13 on: May 17, 2014, 11:47:26 am »
A stupid question of a newbie, just for my information : what do you mean by "to [TAG] your mod" ? Add it on OpenXcom Mod Site ?

Offline Warboy1982

  • Administrator
  • Commander
  • *****
  • Posts: 2333
  • Developer
    • View Profile
Re: [HWP] Some "new" tanks (ruleset only)
« Reply #14 on: May 17, 2014, 12:58:26 pm »
i mean all threads in the completed mod section should have tags in square brackets, like [WEAPON] or [HWP] to indicate their content for ease of searching in future, as per my post here: https://openxcom.org/forum/index.php?topic=1700.0