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

Can anyone tell me how to make a DIAMONDBACK turret?

The general place to discuss MOD''ing Freelancer!

Post Tue Jun 17, 2003 4:04 pm

Can anyone tell me how to make a DIAMONDBACK turret?

It would be really cool if i could make some level 10 turrets for my sabre, I'd love a diamond back turret, is it possible to make one? ANd i'd like to put it in a wreck with the diamondbacks. Thanks.

Post Tue Jun 17, 2003 8:49 pm

I'm assuming general knowledge of bini.etc

Back up your files first !

Try this for the turret:

[Munition
nickname = special_gun04_turret_ammo
hp_type = hp_gun
requires_ammo = false
hit_pts = 2
hull_damage = 1173
energy_damage = 0
one_shot_sound = fire_tachyon5
munition_hit_effect = sp_bloodhound_03_impact
const_effect = sp_bloodhound_03_proj
lifetime = 1.166
force_gun_ori = false
mass = 1
volume = 0.000100

[Gun
nickname = special_gun04_turret
ids_name = 263539
ids_info = 264539
DA_archetype = equipment\models\weapons\li_smlturret.cmp
material_library = equipment\models\li_equip.mat
HP_child = HPConnect
hit_pts = 6752
explosion_resistance = 1.000000
debris_type = debris_normal
parent_impulse = 20
child_impulse = 80
volume = 0.000000
mass = 10
hp_gun_type = hp_turret_special_10
damage_per_fire = 0
power_usage = 293
refire_delay = 0.500000
muzzle_velocity = 600
use_animation = Sc_fire
toughness = 19.600000
flash_particle_name = sp_bloodhound_03_flash
flash_radius = 15
light_anim = l_gun01_flash
projectile_archetype = special_gun04_turret_ammo
separation_explosion = sever_debris
auto_turret = true
turn_rate = 90
lootable = true
LODranges = 0, 20, 60, 100

(Copy this and append to weapon_equip.ini: don't forget to add the second square bracket around [gun and [munition )


Then in weapon_good.ini add this block

[Good
nickname = special_gun04_turret
equipment = special_gun04_turret
category = equipment
price = 115660
item_icon = equipment\models\commodities\nn_icons\EQUIPICON_turret.3db
combinable = false
ids_name = 263539
ids_info = 264539
shop_archetype = equipment\models\weapons\co_proton_cooker.cmp
material_library = equipment\models\ge_equip.mat

(Again don't forget the second square braket: this forum can't display them)


Finally add it to a base in market_misc.ini : we'll use Manhatten for now

[BaseGood
base = Li01_01_base
MarketGood = li_gun01_mark01, 0, -1, 10, 10, 0, 1
MarketGood = li_gun01_mark02, 0, -0.200000, 10, 10, 0, 1
etc
etc

Add this line

MarketGood = special_gun04_turret, 0, -1, 10, 10, 0, 1

Start the game, buy and enjoy

Notes
1. I've just hand written this, not tested it- hope there's no silly mistakes.
2. For cheaper price, change the price in weapon_good.ini
3. Info cards and names will all still say "Diamondback" without reference to it being a turret.
4. Play around with "refire_delay" to change firing rate (0.12 = 8.33, 0.25 = 4)
5. Muzzle_velocity = projectile speed but if you change this remember that the range is refire_delay x muzzle_velocity
6. power_usage is enormous at 293 - you'll probably want to change this !

Have fun.

C

Post Tue Jun 17, 2003 9:15 pm

God, I've tried editing 3 times and kept crashing out - anyway, for the wreck bit, find ships / loadouts.ini

[Loadout
nickname = SECRET_rh_n_rh_elite_bw05d
archetype = rh_elite
equip = rh_gun01_mark01, HpWeapon01
equip = rh_gun01_mark01, HpWeapon02
equip = special_gun04, HpWeapon03
equip = special_gun04, HpWeapon04
equip = rh_turret01_mark01, HpTurret01
equip = cruise_disruptor01_mark01, HpTorpedo01
cargo = cruise_disruptor01_mark01_ammo, 5
equip = mine01_mark01, HpMine01
cargo = mine01_mark01_ammo, 20
equip = ge_s_cm_01, HpCM01
cargo = ge_s_cm_01_ammo, 20

This is the current loadout of the diamondback wreck. Try changing
equip = rh_turret01_mark01, HpTurret01
to
equip = special_gun04_turret, HpTurret01

(Not sure if this will drop properly but worth a try)

By the way in my bit above under [Good

shop_archetype = equipment\models\weapons\co_proton_cooker.cmp
material_library = equipment\models\ge_equip.mat

should be

shop_archetype = equipment\models\weapons\li_smlturret.cmp
material_library = equipment\models\li_equip.mat

if you want the shop to display the turret correctly on the vendor's platform, although it won't really make any difference, you can still buy and shoot it.

Post Wed Jun 18, 2003 10:05 am

Thanks guys!!

Post Fri Jun 20, 2003 12:16 am

Actually I've just tested this and it's quite a nice turret, though I changed the refire to 0.25, hull damage to 587 and energy to 147. Quick way to add in a class 10 turret, of which there should have been more in the game (i.e more than none).

Post Tue Jul 01, 2003 7:53 pm

Hmm. For some reason its like a diamondback but its orange, how can I change it back to being blue? Thanks.

Post Tue Jul 01, 2003 8:34 pm

nm, i just needed to change sp_bloodhound_03 to sp_bloodhound_01

Return to Freelancer General Editing Forum