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

**Tutorial** Making Smart Mines

Here you find the different tutorials on editing and MODing Freelancer

Post Sun Dec 18, 2005 8:54 am

**Tutorial** Making Smart Mines

How often do you use mines? Yeah, I didn't think you did. The main problem with mines is that they go after anyone nearby and are just as likely to hit you as an enemy. So here's how to change the Drone mine to only track whoever is currently targeted. Of course, you can do this with any mine, just change the damage and effects.

Go into weapon_equip.ini and replace this:

[Explosion
nickname = mine01_mark01_explosion
effect = li_mine01_blast25
lifetime = 0.000000, 0.000000
process = disappear
strength = 100
radius = 16
hull_damage = 326
energy_damage = 0
impulse = 0

[Mine
nickname = mine01_mark01_ammo
explosion_arch = mine01_mark01_explosion
loot_appearance = ammo_crate
units_per_container = 10
requires_ammo = true
hit_pts = 2
one_shot_sound = fire_mine_regular
detonation_dist = 4
lifetime = 10
force_gun_ori = true
DA_archetype = equipment\models\mines\br_plasma_mine.3db
material_library = equipment\models\br_equip.mat
ids_name = 265165
ids_info = 266165
mass = 0.100000
volume = 0.000000
owner_safe_time = 4
linear_drag = 0.400000
seek_dist = 400
top_speed = 60
acceleration = 200
const_effect = li_mine01

[MineDropper
nickname = mine01_mark01
ids_name = 263165
ids_info = 264165
DA_archetype = equipment\models\weapons\li_cm_dropper01.cmp
material_library = equipment\models\li_equip.mat
HP_child = HPConnect
hit_pts = 400
explosion_resistance = 1.000000
debris_type = debris_normal
parent_impulse = 20
child_impulse = 80
volume = 0.000000
mass = 10
damage_per_fire = 0
power_usage = 0
refire_delay = 1
muzzle_velocity = 20
toughness = 3.300000
projectile_archetype = mine01_mark01_ammo
dry_fire_sound = fire_dry
separation_explosion = sever_debris
lootable = true
LODranges = 0, 20, 60, 100

With this (Make sure to close the tags though):

[Motor
nickname = mine01_mark01_motor
lifetime = 1
accel = 100
delay = 0

[Explosion
nickname = mine01_mark01_explosion
effect = li_mine01_blast25
lifetime = 0.000000, 0.000000
process = disappear
strength = 100
radius = 60
hull_damage = 326
energy_damage = 0
impulse = 0

[Munition
nickname = mine01_mark01_ammo
explosion_arch = mine01_mark01_explosion
loot_appearance = ammo_crate
units_per_container = 1
hp_type = hp_gun
requires_ammo = true
hit_pts = 250
one_shot_sound = fire_mine_regular
detonation_dist = 40
lifetime = 10
Motor = mine01_mark01_motor
force_gun_ori = true
const_effect = li_mine01
HP_trail_parent = HPExhaust
seeker = LOCK
time_to_lock = 0
seeker_range = 750
seeker_fov_deg = 180
max_angular_velocity = 4.355000
DA_archetype = equipment\models\mines\br_plasma_mine.3db
material_library = equipment\models\br_equip.mat
ids_name = 265165
ids_info = 266165
mass = 1
volume = 0.000000

[Gun
nickname = mine01_mark01
ids_name = 263165
ids_info = 264165
DA_archetype = equipment\models\weapons\li_cm_dropper01.cmp
material_library = equipment\models\li_equip.mat
HP_child = HPConnect
hit_pts = 400
explosion_resistance = 1.000000
debris_type = debris_normal
parent_impulse = 20
child_impulse = 80
volume = 0.000000
mass = 10
hp_gun_type = hp_mine_dropper
damage_per_fire = 0
power_usage = 0
refire_delay = 1
muzzle_velocity = 5
toughness = 3.300000
projectile_archetype = mine01_mark01_ammo
dry_fire_sound = fire_dry
separation_explosion = sever_debris
auto_turret = false
turn_rate = 0
lootable = true
LODranges = 0, 20, 60, 100

Voila, you have a smart mine! Not only does it hit who you want it to, it also has a large blast radius so it can hit enemies close to them. However, because this works by basically changing it into a missile, you can't fire it by hitting E. Q does work, but if you have other missiles it will fire them as well. I would suggest mapping keys for setting and activating weapon groups 1 and 2, then setting the mine to group 2 and your normal guns to 1. Also, the mine will not track any target in front of you.

Want to get the chapters of A Freelancer Parody before anyone else? Click here for more info.

Do a barrel roll!

Edited by - Starman Omega on 12/18/2005 8:56:01 AM

Post Sun Dec 25, 2005 12:23 pm

An easier way is to just jack up owner_safe_time to over 100.

Post Sun Dec 25, 2005 12:55 pm

just what I was thinking too.

Return to Freelancer Editing Tutorial Forum