General > User modifications
UFO scripting: guide to changing scriptable parameters
cannonfodder558:
Hello. The extracted files cannot be uploaded. The filetype (*.ufo) is not permitted.
ShipIt:
Using 7zip to compress the needed files would be a workaround. Also makes the up-/download size smaller.
DarkRain:
BTW just to answer the question: we are using the highest compression level (but it isn't required), besides that pk3 files are just renamed zip files, but need to contain the directory, so for example if you modified files from the 'ufos' directory then your pk3 must contain an 'ufos' directory with your modded files, if you additionally added files to 'pics/sfx/weapons' then your pk3 must have said directory with the added files in it, but as stated it is easier to just zip them all attach the zip here and tell people where each of them go
cannonfodder558:
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.
----------------------------------------
Navigation
[0] Message Index
[*] Previous page
Go to full version