241
Modding / Re: Need help on some weapon effects
« on: November 29, 2017, 04:18:02 PM »
Oh ok now I understand what you mean!
Starsector 0.97a is out! (02/02/24); New blog post: Simulator Enhancements (03/13/24)
Then the only way available to you would be to have the missile split in a cloud of invisible ion cannon shots a bit like the sabot but all around, you probably won't be able to do it without programming otherwise. (ion damage doesn't work with vanilla AOE, vanilla missiles don't have proxy fuse).
{
"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}]
}
You should PM a moderator and ask him to move this topic to the mods section.
10-minute kitbash, on a completely random suggestion by Techhead in the Discord channel: