Hello everyone,
I'm trying to make some kind of ion AoE torpedo for my mod (Stop Gap Measure). So far I've manage to integrate the weapon in the game (sprite, .proj and .wpn files) but I fail to introduce two effects :
-Ion effect on all the ship : so far, each team I hit a ship with it, only one system is ionized. I don't think it is a problem of EMP damage to low (1000 dmg in the .csv file), but rather an understanding of how ion damage work. I don't need fancy effect like arcing, but at least several systems/weapons need to be tested by the ion effect.
-Proximity fuze : I want the torpedo to explode with a large detection radius. I took the specs in the flak cannon .proj, but I think I've miss something.
Here is the .proj file, it is based on the reaper torpedo if it can help.
Spoiler
{
"id":"ion_torp",
"specClass":"missile",
"missileType":"ROCKET",
#"sprite":"graphics/missiles/missile_torpedo.png",
#"size":[16,28],
#"center":[8,14],
"sprite":"graphics/filgap/missiles/Ion_torpedo.png",
"size":[10,30],
"center":[5,15],
"collisionRadius":20,
"collisionClass":"MISSILE_FF",
"explosionColor":[100,170,255,255], # purely visual, will get a white additively blended core on top of this color
"explosionRadius":350, # purely visual
"behaviorSpec":{"behavior":"PROXIMITY_FUSE",
"range":100,
"explosionSpec":{"duration":0.1f, # not visual
"radius":300,
"coreRadius":100, # full damage within core radius
"collisionClass":HITS_SHIPS_AND_ASTEROIDS,
"collisionClassByFighter":HITS_SHIPS_AND_ASTEROIDS,
"particleSizeMin":5.0,
"particleSizeRange":3.0,
"particleDuration":1,
"particleCount":200,
"particleColor":[155,220,255,255]},
},
"flameoutTime":5, # total time from flameout to full fadeout
"armingTime":0.5,
"noEngineGlowTime":0.5, # time spent without the engine glow being rendered
"fadeTime":0.5, # fadeout duration
"engineSpec":{"turnAcc":0,
"turnRate":0,
#"acc":35,
"acc":500,
"dec":0},
"engineSlots":[{"id":"ES1",
"loc":[-11, 0],
#"loc":[-14, 0],
#"style":"TORPEDO",
"style":"CUSTOM",
"styleSpec":{
"mode":"QUAD_STRIP", # PARTICLES or QUAD_STRIP, determines which params are used
"engineColor":[155,220,255,255],
"contrailDuration":2,
"contrailWidthMult":1.5,
"contrailWidthAddedFractionAtEnd":1, # can be negative. makes trail spread out/narrow at the end
"contrailMinSeg":5, # min segment length, in pixels
"contrailMaxSpeedMult":0f,
"contrailAngularVelocityMult":0.5f,
"contrailSpawnDistMult":0f, # how far away from engine it starts
"contrailColor":[100,200,255,50],
"glowSizeMult":2.5,
"glowAlternateColor":[0,115,255,255],
"type":"GLOW" # GLOW or SMOKE; additive or regular blend mode
},
"width":10.0,
"length":80.0,
"angle":180.0}]
}
Please understand I'm modding mostly by iteration, I've some basic knowledge of how to type these file, but java programmation is largley unavailable for me to do.
Many thanks,