1
User modifications / Re: UFO scripting: guide to changing scriptable parameters
« on: February 21, 2015, 01:25:19 pm »
Thanks, ShipIt and DarkRain.
After experimenting a bit with lightcolour, lightintensity and particle size, here we go:
(s. attachment).
Just replace the 0ufo.pk3 in \UFOAI-2.5\base directory with the one attached.
Start the game.
Have fun.
------------------------------------
Fore more details:
The absolutely ONLY thing that has been changed in the game files is the appearance of ep ammo shots of the assault rifle/ heavy machine gun/ sniper rifle.
------------------------------------
That is exactly and only:
file 1 - weapons_plasma.ufo
modified
lines 389, 410, 433, (assault rifle)
lines 455, 497, 520, (heavy machine gun)
lines 543, 587, 609 (sniper rifle)
=> changed projectile def to bullet_ep / bullet-hmg_ep / bullet-sniper_ep
file 2 - ptl_weaponsfx.ufo
added
lines 258-324
=> new bullet definitions for ep_ammo
copied the standard bullet definitions,
changed picture to "plasmaPulse"
(used as pic for shots of alien plasma rifle),
changed the lightcolour to the one of ContinousBeam particle,
changed lightintensity to 0.9,
increased the lenght of the bullet_ep / bullet-hmg_ep from 40 to 50.
----------------------------------------
After experimenting a bit with lightcolour, lightintensity and particle size, here we go:
(s. attachment).
Just replace the 0ufo.pk3 in \UFOAI-2.5\base directory with the one attached.
Start the game.
Have fun.
------------------------------------
Fore more details:
The absolutely ONLY thing that has been changed in the game files is the appearance of ep ammo shots of the assault rifle/ heavy machine gun/ sniper rifle.
------------------------------------
That is exactly and only:
file 1 - weapons_plasma.ufo
modified
lines 389, 410, 433, (assault rifle)
lines 455, 497, 520, (heavy machine gun)
lines 543, 587, 609 (sniper rifle)
=> changed projectile def to bullet_ep / bullet-hmg_ep / bullet-sniper_ep
file 2 - ptl_weaponsfx.ufo
added
lines 258-324
=> new bullet definitions for ep_ammo
copied the standard bullet definitions,
changed picture to "plasmaPulse"
(used as pic for shots of alien plasma rifle),
changed the lightcolour to the one of ContinousBeam particle,
changed lightintensity to 0.9,
increased the lenght of the bullet_ep / bullet-hmg_ep from 40 to 50.
----------------------------------------