Nexus Modding > Mod Development / Released Mods

Siege Laser Variant

<< < (2/2)

Arparso:
I know, but it's a rather ugly workaround not really applyable to most ships I'd need it for, because of Nexus' harsh limitations regarding the number of hardpoints. I'll be sticking with the false delay I have now - looks convincingly enough and is easy to implement.

Mularac:
can't argue with that I'll see if I find an other work-arround.

Keldane:
Giving length to the shot's trail:

If you're using a Flare for the ball of energy at the head of the blast, and a Snake for the trailing laser, giving it the length you want is as simple as determining the maximum distance at which the weapon can fire (say, 20000 meters), the rate at which it travels (2000 meters/second), and making the NodeAtt, NodeSus, and NodeDec values of the Snake total the length of time it would take the blast to travel it's maximum distance (in this case, 10 seconds). I would probably go with a NodeAtt of 0, NodeSus of 8, and NodeDec of 2. This way, the Snake is at its full width directly behind the ball, and the last 20% of it slowly tapers to a point.

Below is an example set from my mod_efx.ini file, assuming a travel time of 4 seconds at maximum range.


--- Code: ---EFX 327 // Prototype Beam Cannon

FLARE
Type 12
Size 500
Color 0.5 1 0.5
Color 0 0.5 0
Attack 1
Decay 3
FLARE

STRIP
Texture 12
Length 750
Radius 200
Color 0.5 1 0.5
Color 0 0.5 0
Attack 1
Decay 3
STRIP
EFX

EFX 328

FLARE
Type 4
Size 5000
Color 0.5 1 0.5
ColorB 0 0.5 0
Attack 0.1
Multiply 5 1 0 0
FLARE

SNAKE
Texture 11
TexScale 2000
SRadius 200
ERadius 200
Color 0.5 1 0.5
ColorB 0 0.5 0
NodeSus 3.2
NodeDec 0.8
SNAKE

EFX

EFX 329

FLARE
Type 4
Size 1000
Color 0.5 1 0.5
Color 0 0.5 0
Attack 1
Sustain 1
Decay 2
FLARE

EFX
--- End code ---

Note that the 'Multiply 5 1 0 0' line in the Flare is to make it appear brighter by concentrating 5 flare effects into the same small area. It applies 5 flares in a radius of 1 meter with 0 size variation and 0 random delay between each appearing. It may just be my graphic settings, and I find that without this, the flare appears a little feeble.

Dark-Zero:
Thanks alot for the tips

Navigation

[0] Message Index

[*] Previous page

Go to full version