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 can I make the munition look like a bullet?

The general place to discuss MOD''ing Freelancer!

Post Fri Aug 18, 2006 2:15 am

How can I make the munition look like a bullet?

i've tried many times but sadly no results

Edited by - wazzup on 8/18/2006 3:50:10 AM

Ogu

Post Fri Aug 18, 2006 6:05 am

Short of making it a missile, and making your own model of a 'bullet', you can mess around with the beam_effects.ini file.

Everything there should be pretty self explanatory. Try something short, where the head and core widths are the same. Ball and Thin might work well for head and trail textures, respectively. Don't forget to make your own proj entry in effects.ini - thats the const_effect you'll use in weapon_equip.ini. But I assume you've already tried this

Post Fri Aug 18, 2006 9:43 am

i'll be honest u may think i i'm stupid but i didnt understand a thing u wrote

Edited by - wazzup on 8/18/2006 10:44:07 AM

Ogu

Post Fri Aug 18, 2006 10:23 am

I don't think you're stupid

What did you try btw?

In the Data\FX folder you will see beam_effects.ini. Open that and you will see entries like this:

Here's a 2 minute tutorial.

[BeamSpear ;<- Closing bracket
nickname = pi_neutron_01_beam ;the name, can be anything
tip_length = 5 ;how long the tip of your effect is
tail_length = 70 ;how long the tail is
head_width = 3 ;how wide the head (front) of your beam is
core_width = 2 ;how wide the core (middle) of your beam is
tip_color = 157, 0, 0 ;RGB tip color - use paint to find out what they are
core_color = 200, 50, 50 ;RGB core color
outter_color = 157, 0, 0 ;RGB color, this seems to surround your beam a bit
tail_color = 255, 255, 255 ;RGB colors
head_brightness = 1 ; how bright the head is
trail_brightness = 0.800000 ; how bright the trail is
head_texture = star ; head texture, usually 'star' or 'ball'
trail_texture = wide ; trail texture, usually 'wide' or 'thin'
flash_size = 3 ;the size of the flash of the effect

Do what I said in the above post and you'll make something like this:

[BeamSpear ;<- Closing Bracket
nickname = bullet_beam
tip_length = 1
tail_length = 3
head_width = 2
core_width = 2
tip_color = 192, 192, 192 ;light grey
core_color = 140, 140, 30 ;dark yellow for some color
outter_color = 92, 92, 92 ;grey
tail_color = 92, 92, 92 ;grey
head_brightness = 1
trail_brightness = 1
head_texture = ball
trail_texture = thin
flash_size = 1

You can copy that and add it to beam_effects.ini, just add the closing bracket after BeamSpear.

Now open Effects.ini. You'll see something like this:

[Effect ;<- Closing bracket
nickname = pi_neutron_01_proj ;name, can be anything
effect_type = EFT_WEAPON_PROJ ;leave this alone
vis_effect = pi_neutron_01_proj ;special preset effect
vis_beam = pi_neutron_01_beam ;the beam from beam_effects.ini

So, you can guess what we're going to do here.

[Effect ;<-Closing bracket
nickname = bullet_proj
effect_type = EFT_WEAPON_PROJ
vis_beam = bullet_beam

I got rid of the vis_effect because we don't need it. We just want to see the beam. So you can add that into effects.ini (add the bracket after Effect). Weapon_equip.ini is where you specify what projectiles get used for what guns. I'll use an existing gun (the Justice Mk I), but you can read a tutorial and make your own if you want. Open weapon_equip.ini and find li_gun01_mark01_ammo (which is what the Justice Mk I shoots).

[Munition
nickname = li_gun01_mark01_ammo
hp_type = hp_gun
requires_ammo = false
hit_pts = 2
hull_damage = 16.3
energy_damage = 0
weapon_type = W_Laser01
one_shot_sound = fire_laser1
munition_hit_effect = li_laser_01_impact
const_effect = li_laser_01_proj ;put your new effect from effects.ini here!
lifetime = 0.8
force_gun_ori = false
mass = 1
volume = 0.0001

Your 'const_effect' will be 'bullet_proj'. Just replace
const_effect = li_laser_01_proj
with
const_effect = bullet_proj

Save the file and go try it out. Buy the Justice Mk I from Manhattan and fire a few shots. I just made up those colors in my head but they should be kind of bullety...I think. You can try changing the colors and sizes in beam_effects.ini and make your own beams. I hope it works a bit...

This is the only way I can think of to make a bullet-like projectile without making your own model of a bullet and firing that...If you need something else you can post here or email me (profile).

Edited by - Ogu on 8/18/2006 11:24:41 AM

Post Sat Aug 19, 2006 12:02 am

hey thanks i'll try this later cus i don't have time now

Return to Freelancer General Editing Forum