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

How to make beam effects?

The general place to discuss MOD''ing Freelancer!

Post Sat Apr 26, 2003 9:53 pm

How to make beam effects?

Hi i want to make some beam wepaons

i tried the beam mod but i need some effects....
the mod isnt really good

can anyone help me to create a beam weapon (something like an Enterprise Phaser , just that you get an idea of what iam talking of)


Any help would be really nice

thank you

Post Sun Apr 27, 2003 1:15 pm

go into the beam_effects.ini file and add this:

[BeamBolt
nickname = phaser
tip_length = 1
core_length = 998
tail_length = 1
head_width = 1
core_width = 1
sec_core_width = 0.750000
tip_color = 255, 0, 0
core_color = 255, 191, 191
outter_color = 255, 0, 0
sec_core_color = 255, 191, 191
sec_outter_color = 255, 0, 0
tail_color = 255, 0, 0
head_brightness = 1
trail_brightness = 1
head_texture = star
trail_texture = wide
flash_size = 3

then go into the weapon_equip.ini file and add the following:

[Munition
nickname = phaser_ammo
hp_type = hp_gun
requires_ammo = false
hit_pts = 2
hull_damage = 15
energy_damage = 0
weapon_type = W_Laser01
one_shot_sound = fire_laser3
munition_hit_effect = li_laser_04_impact
const_effect = phaser
lifetime = 0.800000
force_gun_ori = false
mass = 1
volume = 0.000100

[Gun
nickname = phaser
ids_name = 1
ids_info = 1
DA_archetype = Equipment\models\weapons\no_fighter_gun.cmp
HP_child = HPConnect
hit_pts = 4215
explosion_resistance = 1.000000
debris_type = debris_normal
parent_impulse = 20
child_impulse = 80
volume = 0.000000
mass = 10
hp_gun_type = hp_gun_special_7
damage_per_fire = 0
power_usage = 33.119999
refire_delay = 0
muzzle_velocity = 20000
use_animation = Sc_fire
toughness = 8.500000
flash_particle_name = li_laser_04_flash
flash_radius = 15
light_anim = l_gun01_flash
projectile_archetype = phaser_ammo
separation_explosion = sever_debris
auto_turret = false
turn_rate = 90
lootable = false
LODranges = 0, 20, 40, 80, 100

then, open up effects.ini and add:

[Effect
nickname = phaser
effect_type = EFT_WEAPON_PROJ
vis_beam = phaser

now, you just have to add it to add it to a shop somewhere, take manhatten for example. go to your weapon_good.ini file and add:

[Good
nickname = phaser
equipment = phaser
category = equipment
price = 65000
item_icon = equipment\models\commodities\nn_icons\EQUIPICON_gun.3db
combinable = false
ids_name = 1
ids_info = 1
shop_archetype = Equipment\models\weapons\no_fighter_gun.cmp

finally, goto the market_misc.ini and search for li01_01_base and underneath this, add the line:

MarketGood = phaser, 20, -1, 10, 10, 0, 1

then, just load up your game, and phasers will be available on Manhatten for the price of 65 000 and the required level of 20 to purchase them. It is also a class 7 weapon.

make sure you back up all your files first. i havent tried this myself, so if it doesnt work, you want to be able to replace the edited files with the old files. someone could check this for me though... *hint*

EDIT: I changed it so that the beams are longer... just change the core_length = # to what ever it needs to be

Edited by - Dreyoh Tau on 27-04-2003 14:55:45

Post Sun Apr 27, 2003 1:42 pm

thank you

i will try it out now

i will report if it worked

Post Sun Apr 27, 2003 1:57 pm

I made the beam longer, so it doesn't travel out of sight before you see it, which is a problem i noticed thinking just now. i am going to test it myself as well.

Return to Freelancer General Editing Forum