Ship Weapon Art Fx Editing

I’m having trouble changing color values of different ballistics. Take the flak for instance, I’d like change the color, but editing any flak .tga file I find seems to have no effect. Do I need to edit the shortcut target or something?

It might be getting overriden by the “Colour” value in the FX file.

I don’t exactly know what to edit to allow the custom color of projectile. That page doesn’t offer any tutorials unfortunately.

Find the colour entry in the corresponding fx file and post it here, it’ll explain it to you. It’s essentially R, G, B, A, Time.

I’m having trouble figuring out which file is the specific one for the flak projectile. I’m going through the weapon files and weapon scripts with little luck, though the bullet_flak_combo might be it. I’ll post it here:

fx = {
style = “STYLE_COMBO”,
properties = {
property_06 = {
name = “FX7”,
type = “VARTYPE_STRING”,
value = “”,
},
property_05 = {
name = “FX6”,
type = “VARTYPE_STRING”,
value = “bullet_flak_spray”,
},
property_07 = {
name = “FX8”,
type = “VARTYPE_STRING”,
value = “”,
},
property_02 = {
name = “FX3”,
type = “VARTYPE_STRING”,
value = “”,
},
property_01 = {
name = “Fx2”,
type = “VARTYPE_STRING”,
value = “”,
},
property_04 = {
name = “FX5”,
type = “VARTYPE_STRING”,
value = “”,
},
property_03 = {
name = “FX4”,
type = “VARTYPE_STRING”,
value = “”,
},
property_00 = {
name = “Fx1”,
type = “VARTYPE_STRING”,
value = “”,
},
},
}

open up bullet_flak_spray

It leads me to bullet_single_flak_ring01.

bullet_flak_spray has this:

fx = {
style = “STYLE_SPRAY”,
properties = {
property_16 = {
name = “Particle_Scale”,
type = “VARTYPE_ARRAY_TIMEFLOAT”,
value = {
0,
2,
0.15250,
0.80000,
1,
1,
},
},
property_15 = {
name = “Gravwell_Strength”,
type = “VARTYPE_ARRAY_TIMEFLOAT”,
value = {
0,
9.81000,
1,
9.81000,
},
},
property_09 = {
name = “Emitter_Volume”,
type = “VARTYPE_ARRAY_TIMEVECTOR3”,
value = {
entry_00 = {
0,
0,
0,
0,
},
entry_01 = {
1,
0,
0,
0,
},
},
},
property_04 = {
name = “Emitter_InheritVelocity”,
type = “VARTYPE_FLOAT”,
value = 0,
},
property_03 = {
name = “Emitter_Direction”,
type = “VARTYPE_INT”,
value = 0,
},
property_06 = {
name = “Emitter_Rate”,
type = “VARTYPE_ARRAY_TIMEFLOAT”,
value = {
0,
86.40000,
0.08250,
0,
1,
0,
},
},
property_05 = {
name = “Emitter_Drag”,
type = “VARTYPE_FLOAT”,
value = 0.80000,
},
property_08 = {
name = “Emitter_Deviation”,
type = “VARTYPE_ARRAY_TIMEFLOAT”,
value = {
0,
360,
1,
360,
},
},
property_07 = {
name = “Emitter_Rate_LOD%”,
type = “VARTYPE_ARRAY_TIMEFLOAT”,
value = {
0,
0,
1,
0,
},
},
property_02 = {
name = “Emitter_ScaleSpeed”,
type = “VARTYPE_BOOL”,
value = 0,
},
property_01 = {
name = “Emitter_Loop”,
type = “VARTYPE_BOOL”,
value = 0,
},
property_13 = {
name = “Particle_Fx”,
type = “VARTYPE_STRING”,
value = “BULLET_SINGLE_FLAK_RING01”,
},
property_14 = {
name = “Particle_Dynamics”,
type = “VARTYPE_INT”,
value = 6,
},
property_11 = {
name = “Particle_Speed”,
type = “VARTYPE_ARRAY_TIMEFLOAT”,
value = {
0,
186.13333,
1,
0,
},
},
property_12 = {
name = “Emitter_RotRate”,
type = “VARTYPE_ARRAY_TIMEFLOAT”,
value = {
0,
0,
1,
0,
},
},
property_00 = {
name = “Emitter_Duration”,
type = “VARTYPE_FLOAT”,
value = 2,
},
property_10 = {
name = “Emitter_Offset”,
type = “VARTYPE_ARRAY_TIMEVECTOR3”,
value = {
entry_00 = {
0,
0,
0,
0,
},
entry_01 = {
1,
0,
0,
0,
},
},
},
},
}

Ring01 file:

fx = {
style = “STYLE_RING”,
properties = {
property_27 = {
name = “DepthOffset”,
type = “VARTYPE_FLOAT”,
value = 0,
},
property_26 = {
name = “SortOrder”,
type = “VARTYPE_INT”,
value = 0,
},
property_25 = {
name = “RandomBitmap”,
type = “VARTYPE_BOOL”,
value = 0,
},
property_24 = {
name = “BirthSpawn_Fx”,
type = “VARTYPE_STRING”,
value = “”,
},
property_23 = {
name = “Spawn_Fx”,
type = “VARTYPE_STRING”,
value = “”,
},
property_22 = {
name = “Mesh”,
type = “VARTYPE_STRING”,
value = “Data:art/fx/box.hod”,
},
property_21 = {
name = “Texture”,
type = “VARTYPE_STRING”,
value = “DATA:ART/FX/MUZZLE_FLASHES/FIERY_HEAD_RING_YELLOW.TGA”,
},
property_11 = {
name = “SpinRandom”,
type = “VARTYPE_BOOL”,
value = 0,
},
property_15 = {
name = “UseDepthSort”,
type = “VARTYPE_BOOL”,
value = 0,
},
property_18 = {
name = “Billboard”,
type = “VARTYPE_BOOL”,
value = 1,
},
property_17 = {
name = “AlternateFOV”,
type = “VARTYPE_BOOL”,
value = 0,
},
property_16 = {
name = “Loop”,
type = “VARTYPE_BOOL”,
value = 1,
},
property_19 = {
name = “SelfIlluminated”,
type = “VARTYPE_BOOL”,
value = 0,
},
property_09 = {
name = “SpinEpsilonY”,
type = “VARTYPE_FLOAT”,
value = 0,
},
property_04 = {
name = “SpinZ”,
type = “VARTYPE_ARRAY_TIMEFLOAT”,
value = {
0,
0,
1,
0,
},
},
property_03 = {
name = “SpinY”,
type = “VARTYPE_ARRAY_TIMEFLOAT”,
value = {
0,
0,
1,
0,
},
},
property_06 = {
name = “RadiusEpsilon”,
type = “VARTYPE_FLOAT”,
value = 0,
},
property_05 = {
name = “Colour”,
type = “VARTYPE_ARRAY_TIMECOLOUR”,
value = {
entry_00 = {
0,
0.51887,
0.51887,
0.51887,
1,
},
entry_01 = {
1,
0.52830,
0.52830,
0.52830,
1,
},
},
},
property_08 = {
name = “SpinEpsilonX”,
type = “VARTYPE_FLOAT”,
value = 0,
},
property_07 = {
name = “RateEpsilon”,
type = “VARTYPE_FLOAT”,
value = 0,
},
property_02 = {
name = “SpinX”,
type = “VARTYPE_ARRAY_TIMEFLOAT”,
value = {
0,
0,
1,
0,
},
},
property_01 = {
name = “Offset”,
type = “VARTYPE_ARRAY_TIMEVECTOR3”,
value = {
entry_00 = {
0,
0,
0,
0,
},
entry_01 = {
1,
0,
0,
0,
},
},
},
property_13 = {
name = “UseMesh”,
type = “VARTYPE_BOOL”,
value = 0,
},
property_14 = {
name = “UseDepthTest”,
type = “VARTYPE_BOOL”,
value = 0,
},
property_20 = {
name = “Blending”,
type = “VARTYPE_INT”,
value = 2,
},
property_12 = {
name = “Duration”,
type = “VARTYPE_FLOAT”,
value = 0.50000,
},
property_00 = {
name = “Radius”,
type = “VARTYPE_ARRAY_TIMEFLOAT”,
value = {
0,
2.50000,
1,
2.50000,
},
},
property_10 = {
name = “SpinEpsilonZ”,
type = “VARTYPE_FLOAT”,
value = 0,
},
},
}

Also, is it okay to be posting this on the forum? I don’t want trouble here.

According to this it’s coloring them a weird slate gray at time index 0, I believe.