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 add explosions to a ship?

The general place to discuss MOD''ing Freelancer!

Post Tue Apr 08, 2003 9:38 pm

How can I add explosions to a ship?

Hey
I just began making stations etc. destructable. Now how can I add explosions so the ships don`t just disapear? I know that Reynen made all bases and battleships destructable with explosions.

Post Wed Apr 09, 2003 12:14 am

Why not ask the person who did it Here's an example for blowing up newark station.

Open solararch.ini Do a search for stations until you get to large stations. Look below.

[Solar
nickname = largestation1
ids_name = 60219
ids_info = 60220
type = STATION
DA_archetype = solar\dockable\station_large_b_lod.cmp
material_library = ships\liberty\li_capships.mat
material_library = fx\envmapbasic.mat
envmap_material = envmapbasic
LODranges = 0, 2000, 3000, 4000, 7000, 40000
mass = 10000.000000
loadout = space_station
docking_sphere = berth, HpDockMountA, 5.000000, Sc_open dock1
docking_sphere = berth, HpDockMountB, 5.000000, Sc_open dock2
docking_sphere = berth, HpDockMountC, 5.000000, Sc_open dock3
docking_sphere = berth, HpDockMountD, 5.000000, Sc_open dock4
docking_sphere = moor_large, HpDockMountE, 10.000000
docking_sphere = moor_large, HpDockMountF, 10.000000
docking_sphere = moor_medium, HpDockMountG, 5.000000
docking_sphere = moor_medium, HpDockMountH, 5.000000
docking_sphere = moor_medium, HpDockMountI, 5.000000
docking_sphere = moor_medium, HpDockMountJ, 5.000000
docking_sphere = moor_medium, HpDockMountK, 5.000000
docking_sphere = moor_medium, HpDockMountL, 5.000000
docking_sphere = moor_medium, HpDockMountM, 5.000000
docking_sphere = moor_medium, HpDockMountN, 5.000000
docking_sphere = moor_medium, HpDockMountO, 5.000000
docking_sphere = moor_medium, HpDockMountP, 5.000000
docking_sphere = moor_medium, HpDockMountQ, 5.000000
docking_sphere = moor_medium, HpDockMountR, 5.000000
docking_camera = 0
solar_radius = 800
shape_name = NAV_largestation
hit_pts = 5000000 --------- station HP
destructible = true ----------- must be set to true
explosion_arch = explosion_pirate_depot -------------- explosion type
fuse = dyson_generator_fuse, 0.000000, 1
------- explosion variable

NOW open explosions.ini


[explosion
nickname = explosion_pirate_depot
lifetime = 0.000000, 1.000000
process = disappear
debris_impulse = 50 ------------ how fast stuff moves when stuff explodes
effect = explosion_pirate_depot ---------------- calls itself
debris_type = debris_solar_short, 0.600000
debris_type = debris_solar_long, 0.400000
num_child_pieces = 10 -------------------- effects amount of debrie
innards_debris_start_time = 0.000000
innards_debris_num = 50 -------------------- effects amount of debrie
innards_debris_radius = 500 --------------- effects how far they start out going
innards_debris_object = simple_dyson_debris01 ------ BIG pieces
innards_debris_object = simple_dyson_debris02
innards_debris_object = simple_dyson_debris03
innards_debris_object = simple_dyson_debris04
innards_debris_object = simple_dyson_debris05

See nickname = explosion_pirate_depot2 & 3 for smaller explosions

NOW open Effects_explosions.ini

[Effect
nickname = explosion_pirate_depot
effect_type = EFT_EXPLOSION_VERY_LARGE ---- new added value
snd_effect = csx_monster01 ----- sound effect
lgt_effect = elite_flash_to_red --- effect
lgt_range_scale = 3000 ----- size of effect
lgt_radius = 3000 ----- size of effect

NOW open Effects.ini

[EffectLOD
type = lod_type_very_large
max_lod_screen_size = 500 ----- size of effect
min_lod_screen_size = 10 ----- size of effect
min_screen_size = 10 ----- size of effect

CONGRATULATIONS! You've done your first station!

Now you have about 500+ stations to go more to go, no I'm not joking.

It takes more work if you want different explosions.

Part of the Freelancer SDK Team
http://www.homebs.com/flsdk/
Tutorials, Utilties, Mods, and much more.

Post Wed Apr 09, 2003 12:54 pm

Thanks,
That should help

Return to Freelancer General Editing Forum