Important Message

You are browsing the archived Lancers Reactor forums. You cannot register or login.
The content may be outdated and links may not be functional.


To get the latest in Freelancer news, mods, modding and downloads, go to
The-Starport

Beam Weapons

The general place to discuss MOD''ing Freelancer!

Post Fri Aug 03, 2007 5:25 am

Beam Weapons

is it possible to created a beam effect by making the gun fire many projectiles at once that are all traveling at slightly different speeds so it looks as if it is stretching away from the gun in a beam effect.

i don't no which all the files i need to change which is why i would have done it myself butcould this be made to work?

Post Fri Aug 03, 2007 5:38 am

There actually is a beam weapon effect in FL


vis_effect = gf_bolt04
vis_generic = gf_bolt04

F!R

Post Fri Aug 03, 2007 9:20 am

. to use different speeds you would have 2 assign more than one munition
to a gun.
We tried that - and this seems 2 be a nogo.

Background:
We created a "multifire" missile launcher from one of the gun models
which have more than one HpFire (br_auto_shotgun.cmp).
To get a visible effect of more then one missile, we tried 2 assigne different munition and ended up with some "dispersion_angle" great enough 2 let the missiles "spread" away.

imho assigning different munitions 2 a weapon won´t work.

Post Sat Aug 04, 2007 3:40 am

thanks
i never new there was an effect like that in the game shame you can't do multiple shots or it would look like the ship got destroyed in one shot

Post Sat Aug 04, 2007 5:01 am

You can also make your very own beams in all colors, lenghts and thichkness!

Here's the code for one of my beams!

[BeamBolt
nickname = Ion_beam1
tip_length = 5
core_length = 200
tail_length = 2
head_width = 1
core_width = 1
sec_core_width = 2
tip_color = 225, 255, 255
core_color = 225, 255, 255
outter_color = 255, 255, 255
sec_core_color = 225, 255, 255
sec_outter_color = 255, 255, 255
tail_color = 255, 255, 255
head_brightness = 1
trail_brightness = 1
head_texture = ball
trail_texture = ball
flash_size = 3

To make beams use "ball" as both head and trail texture! Then use core_length to make the beam long or short... The rest is selfexplanatory! And as said there's already a beam effect in FL, but that one shoots right through other ships (doesn't stop when hitting) so of you don't want that your best approach to make beam weapons would be like mine above!

http://img241.imageshack.us/my.php?imag ... jpgpg4.jpg

Post Sat Aug 04, 2007 5:48 am

do you know where i can find a key for the colours to numbers?

Post Sat Aug 04, 2007 6:04 am

Yup... MS-paint can do that! Just choose colors - alter/define colors and there you should be able to see the numbers!

And sorry if my directions aren't 100%, but I'm running a danish version of MS paint!

Post Sat Aug 04, 2007 6:19 am

Thanks mh-dk, in fact your beam effect also looks better.

Post Sat Aug 04, 2007 10:00 am

thanks every one for your help

*Edit:-does anyone know how to get a machine gun effect and are there and sound effects already in the game so i don't have to put in my own?

Edited by - mega_cleva_tom on 8/8/2007 9:16:31 AM

Post Wed Aug 08, 2007 2:54 pm

Hmm... I've been thinking about making such effect myself!

I'll try it tomorrow and if it looks any good I can post the code!? :-)

Also... If anyone is interessted I got loads of beam and bolt effects that I could submit to Lancers as a modders resource!? :-)

Just give me a sound if you're interessted and if it's a good idea to submit them!

Edited by - mh-dk on 8/8/2007 4:09:23 PM

Post Fri Aug 10, 2007 1:27 pm

yeah, its a good idea. It would be good to see more than the affects that are already in the game cause you could make machine guns that do tons of hull but practicly no shield damage worth mentioning and stuff like that

Post Fri Aug 10, 2007 2:24 pm

Already made the effect m8... But I wish to make some more beams before I submit them to lancers! Just so you other modders can have something to play with! :-)

Post Fri Aug 10, 2007 3:38 pm

Go ahead, I would really appreciate it

Post Sat Aug 18, 2007 11:00 am

what is the name of the file that contains the effects so i can change the colour of :
vis_effect = gf_bolt04
vis_generic = gf_bolt04

Return to Freelancer General Editing Forum