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

Help!

The general place to discuss MOD''ing Freelancer!

Post Sat Mar 22, 2003 6:33 am

Help!

Well, I need a little bit of help. I want to make a class10 light fighter, 4 class 10 weapon slots, torpedo/disrupter slot, mines and coutermeasure slot. Id like it to have the Liberty Defender graphic and physics aswell. If anyone could help, id be happy

And the noobs were like: woah[!

Post Sat Mar 22, 2003 8:21 am

*phew* already the second ship modder I save today... =D

Oooook, adding an all new ship with the defender graphics is highly impractical (though I can tell you how to do that too, but no need...) therefore we'll take the easier way and just boost up the already-present defender to make it class10-compatible, mmmmmkay?

First go and get the ini decompressor from the utilities section of this site if you dont have it already. Then go to the shiparch.ini and look for _this_ section (its the defender stats, the easiest way to track it down is the 237033, its name ID):

[Ship
ids_name = 237033
ids_info = 66567
ids_info1 = 66568
ids_info2 = 66608
ids_info3 = 66569
ship_class = 1
nickname = li_elite
msg_id_prefix = gcs_refer_shiparch_Libhf
mission_property = can_use_berths
LODranges = 0, 75, 150, 1300
type = FIGHTER
DA_archetype = ships\liberty\li_elite\li_elite.cmp
material_library = ships\liberty\li_playerships.mat
material_library = fx\envmapbasic.mat
envmap_material = envmapbasic
cockpit = cockpits\liberty\l_elite.ini
pilot_mesh = generic_pilot
nanobot_limit = 14
shield_battery_limit = 14
mass = 150.000000
hold_size = 30
linear_drag = 1.000000
fuse = intermed_damage_smallship01, 0.000000, 400
fuse = intermed_damage_smallship02, 0.000000, 200
fuse = intermed_damage_smallship03, 0.000000, 133
max_bank_angle = 30
camera_offset = 8, 34
camera_angular_acceleration = 0.050000
camera_horizontal_turn_angle = 17
camera_vertical_turn_up_angle = 5
camera_vertical_turn_down_angle = 25
camera_turn_look_ahead_slerp_amount = 1.000000
hit_pts = 1600
explosion_arch = explosion_li_elite
surface_hit_effects = 0, small_hull_hit_light01, small_hull_hit_light02, small_hull_hit_light03
surface_hit_effects = 150, small_hull_hit_medium01, small_hull_hit_medium02, small_hull_hit_medium03
surface_hit_effects = 300, small_hull_hit_heavy01, small_hull_hit_heavy02, small_hull_hit_heavy03
steering_torque = 50000.000000, 50000.000000, 230000.000000
angular_drag = 40000.000000, 40000.000000, 141000.000000
rotation_inertia = 8400.000000, 8400.000000, 8400.000000
nudge_force = 30000.000000
strafe_force = 20000
strafe_power_usage = 2
bay_door_anim = Sc_open baydoor
bay_doors_open_snd = cargo_doors_open
bay_doors_close_snd = cargo_doors_close
HP_bay_surface = HpBayDoor01
HP_bay_external = HpBayDoor02
HP_tractor_source = HpTractor_Source
num_exhaust_nozzles = 2
shield_link = l_elite_shield01, HpMount, HpShield01
hp_type = hp_gun_special_4, HpWeapon01, HpWeapon02
hp_type = hp_gun_special_3, HpWeapon01, HpWeapon02, HpWeapon03, HpWeapon04, HpWeapon05
hp_type = hp_gun_special_2, HpWeapon01, HpWeapon02, HpWeapon03, HpWeapon04, HpWeapon05
hp_type = hp_gun_special_1, HpWeapon01, HpWeapon02, HpWeapon03, HpWeapon04, HpWeapon05
hp_type = hp_elite_shield_special_4, HpShield01
hp_type = hp_elite_shield_special_3, HpShield01
hp_type = hp_elite_shield_special_2, HpShield01
hp_type = hp_elite_shield_special_1, HpShield01
hp_type = hp_thruster, HpThruster01
hp_type = hp_mine_dropper, HpMine01
hp_type = hp_countermeasure_dropper, HpCM01
hp_type = hp_turret_special_4, HpTurret01
hp_type = hp_turret_special_3, HpTurret01
hp_type = hp_turret_special_2, HpTurret01
hp_type = hp_turret_special_1, HpTurret01
hp_type = hp_torpedo_special_1, HpTorpedo01
hp_type = hp_torpedo_special_2, HpTorpedo01


See all those "hp_type =" lines? These are the hardpoint stats of the bird.

hp_type = hp_gun_special_2, HpWeapon01, HpWeapon02, HpWeapon03, HpWeapon04, HpWeapon05

means, in words, that "class2 weaponry (hp_gun_special_2) can be mounted in the following hardpoints: 1,2,3,4,5" (the HpWeapon1,2... and so on strings)

So if you want the defender to eat c9 weapons in all five gun hardpoints, just add this line in there:

hp_type = hp_gun_special_9, HpWeapon01, HpWeapon02, HpWeapon03, HpWeapon04, HpWeapon05

Understood the system? If you want it to just have 4 weapon slots instead of five, just remove the "HpWeapon5" from all gun class declarations. Don't forget to up the shields class capability too. If you want it to be a light fighter instead of a heavy one (although that change is rather cosmetical imho) change

ship_class 1
to
ship_class 0

(0=light fighter, 1=heavy/veryheavy fighter, 2=freighter). Now, since this is the "normal" defender, just go to the Liberty system and buy it where it can be bought. (on that battleship... forgot its name. )

That should take care of it.

D_R


+++ " Infinity? Nah, been there. " +++ =)

Post Sat Mar 22, 2003 9:15 am

Wow, thanks!

And the noobs were like: woah[!

Post Sat Mar 22, 2003 9:22 am

Hmm, is there anyway I can make it a tad more maneuvarable(sp)? As in, it turns faster or something, I really apreciate the help ronin

And the noobs were like: woah[!

Post Sat Mar 22, 2003 9:40 am

Grr, thats not the ship I was looking for =/ Im looking for the one kind flies.

And the noobs were like: woah[!

Post Sat Mar 22, 2003 9:58 am

Hm? Sorry, I didn't understand you last post... "one kind flies"? Huh?
Please elaborate...

---

<edit>
Ahhhh, I think you mean "King" not "kind"... I'm not sure which vessel he's using, but go find it in lancersreactors ships section ( http://www.lancersreactor.com/t/flships/default.asp ) and tell me which one it is. I'll go give you the ID so you can find the section in the shiparch.ini. (you can also find the ID yourself, it is in some other post around here how to do that - just an offer ^_^)

---


The Maneuverability can be influenced by changing these lines (a part of the code I already posted above) I never experimented with this, but I'd say higher number means higher turn/pitch/yaw rates:

steering_torque = 50000.000000, 50000.000000, 230000.000000
angular_drag = 40000.000000, 40000.000000, 141000.000000
rotation_inertia = 8400.000000, 8400.000000, 8400.000000
nudge_force = 30000.000000
strafe_force = 20000

D_R


+++ " Infinity? Nah, been there. " +++ =)

Edited by - Digital_Ronin on 22-03-2003 10:01:17

Post Sat Mar 22, 2003 10:02 am

Doh, kind = king

And the noobs were like: woah[!

Post Sat Mar 22, 2003 10:47 am

Okay, ill find it in the morning, tired as hell right now

And the noobs were like: woah[!

Post Sat Mar 22, 2003 12:09 pm

Okay, its a patriot, not a Defender, sorry bout that ronin

And the noobs were like: woah[!

Post Sat Mar 22, 2003 2:41 pm

OooooK, so exactly the same process as above, only you search for
ID : 237034
in the shiparch.ini instead of the old 237033. And then you buy it at... uhh, I think Manhattan sells it.

Tell me when you get in trouble. I'll be here to help.

<edit>
Oh, I just noticed that the "Patriot" does not have a Turret hardpoint. Hmmmm... I'm not familiar with the Patriot's .cmp-file, but I doubt that it has a "sleeping" one. And afaik, we are not able to add enitrely new hardpoints yet... but I could show you how to turn your "mine" or "torpedo" slot into a turret if that helps you. Just tell me.

D_R


+++ " Infinity? Nah, been there. " +++ =)


Edited by - Digital_Ronin on 22-03-2003 14:42:24

Edited by - Digital_Ronin on 22-03-2003 14:46:58

Post Sat Mar 22, 2003 6:33 pm

Yeah that would be great Ronin. Thank you soooo much for helping

And the noobs were like: woah[!

Post Sat Mar 22, 2003 6:39 pm

I know this is asking alot, but I need to be able to change it to be for sale at Battleship Missouri, I sort of umm... deleted Manhattan while fiddling

And the noobs were like: woah[!

Post Sat Mar 22, 2003 6:46 pm

Ahh, got manhattan back, but it's selling nothing currently =/


And the noobs were like: woah[!

Post Sat Mar 22, 2003 11:21 pm

Bump! Im a noob at modding =/

And the noobs were like: woah[!

Post Sun Mar 23, 2003 6:30 am

Status report: working, except for one tiny detail; I cant figure out how to get a torpedo launcher on there =/

And the noobs were like: woah[!

Return to Freelancer General Editing Forum