OpenXcom Forum
Modding => Work In Progress => Topic started by: BlackLibrary on February 16, 2014, 12:29:03 pm
-
When I attempted to override a weapons fire sound with an ammos fire sound, it did not seem to work. It stayed with the fire sound for the weapon. This is different than the hit sound field. That does get replaced by the ammo's hit sound.
Am I missing something?
I tried emptying the value of the fire sound in the weapon item itself with no success, either.
-
Ok...my post must be confusing folks. What I'm playing with is the idea of recoverable battery that goes with laser weapons. However, your engineers can rig a battery to output exponentially more power based on certain research actions accomplished. So I wanted to play with the experience. The rigged batteries will various properties. One will get rigged with elerium (consume) to output damage comparable plasma rifle (not hvy rifle). Another jury rig will up the damage if alien alloy is utilized (consumed) in its construction. Another rig, this one, basically blows things up like a turbolaser. I just want to vary the player experience with each jury rigged battery utilized.
So include an exhibit A for consumption:
items:
- type: STR_RIGGED_LASER_BATTERY
size: 0.1
costBuy: 0
costSell: 350
weight: 2
bigSprite: 123
floorSprite: 92
fireSound: 104
hitSound: 105
hitAnimation: 36
power: 95
damageType: 3
clipSize: 4
battleType: 2
armor: 50
recover: true
listOrder: 2209
- type: STR_LASER_BATTERY
size: 0.1
costBuy: 500
costSell: 350
weight: 2
bigSprite: 123
floorSprite: 92
fireSound: 11
hitSound: 19
hitAnimation: 36
power: 46
damageType: 4
clipSize: 99
battleType: 2
armor: 50
recover: true
listOrder: 2208
- type: STR_LASER_PISTOL
fireSound: 104
bulletSprite: 5
compatibleAmmo:
- STR_LASER_BATTERY
- STR_RIGGED_LASER_BATTERY
extraSprites:
- type: BIGOBS.PCK
files:
123: Resources/lasertech/battery_pack.gif
- type: FLOOROB.PCK
files:
92: Resources/lasertech/floorob_ammo.gif
extraSounds:
- type: BATTLE.CAT
files:
104: Resources/lasertech/Overcharged_Laser.wav
105: Resources/lasertech/Overcharged_laser_hit.wav
-
ammo overriding fire sounds has now been implemented. enjoy.
-
Does what it says on the tin! LOL! Awesome.