Repulsionwave Crashes

I want my 15 rapid-fire quantum torpedo launchers Uber-Defiant now! - Get help from modders. Share your work. Discuss modifications.
posted on May 22nd, 2013, 10:52 pm
I'm having trouble with a repulsionwave weapon (the kind used on the stock Klingon super weapon ship). Specifically, it crashes when I fire it. I know the Classic Mod version works, so I tried copying it over, but it still crashed when fired in my mod. Here's my current version, based on the Classic Mod version.

grwave.odf
Code: Select all
ordName = "rwave"
wpnName = "Subspace Shockwave"
tooltip = "Subspace Shockwave - Jach'eng"
verboseTooltip = "tip-grwave.odf"
buttonSlot = 9
popupSlot = 9
buttonBorder = 0
special = 1
shotDelay = 3.5
range = 1000.0f
fireSound = "swkripsh.wav"
classLabel = "cannon"
wpnReticle = "gblast"
needTarget = 1
targetLocation = 1
hotkeyLabel = "HOTKEY_BS"


rwave.odf
Code: Select all
classLabel = "repulsionwave"
specialEnergyCost = 1000
damageBase = 2000
damageVariance = 1
damageThreshold = 10
shieldCrewModifier = 0.2
hullCrewModifier = 0.1
lifeSpan = 10.0f
shotSpeed = 40
Sprite = "klingsuper"
shotColor = 227
repulsionForce = 40.0f
Radius = 1.0
spriteDuration = 1.0
waveArc = 90
waveLength = 110
amplitude = 10
frequency = 10
waveSpeed = 10
rays = 9
segments = 30
spreadSpeed = 30
specialValue = 20


The klingsuper sprite is properly coded and the wsuperkl.tga and wksuperw.tga textures are in the texture folder. I even added the sound file from grwave.odf.
posted on May 22nd, 2013, 11:12 pm
Can we see the crash log? :)
posted on May 22nd, 2013, 11:42 pm
Dominus_Noctis wrote:Can we see the crash log? :)

Yep.

Attachments

exceptArmada2.txt
(17.41 KiB) Downloaded 309 times
posted on May 23rd, 2013, 12:24 am
Ah, woops, seems I missed the obvious - you are missing the Wrwave.odf - that's a hardcoded reference for the RepulsionWave :)
posted on May 23rd, 2013, 12:26 am
Thanks! You should probably add that to the Guide's repulsionwave entry.
posted on May 23rd, 2013, 1:12 am
Yes, I'm editing the reference now - I didn't test that carefully the last time I went over that Ordnance and so made a number of errors. :sweatdrop:
Reply

Who is online

Users browsing this forum: No registered users and 12 guests