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

Making asteroid mining worth it

The general place to discuss MOD''ing Freelancer!

Post Sat Jun 21, 2003 5:52 am

Making asteroid mining worth it

I haven't seen anyone post anything like this so i'll give it a go. For this example, i opened the Colorado silverton asteroid field ini found in the solar\asteroids directory. Inside, you should look for something like this:

[DynamicAsteroids
asteroid = DAsteroid_mineable_small1 <= Asteroid type. Changing crashes sp missions for some reason
count = 30 <=how many asteroids at a time
placement_radius = 130.000000 <=how far they are from you when it appears
placement_offset = 90.000000 <=distance between them
max_velocity = 15.000000 <=speed of asteroids
max_angular_velocity = 3.000000 <=rotational speed of asteroids
color_shift = 1.000000, 1.000000, 1.000000 <=Not sure

[LootableZone
asteroid_loot_container = lootcrate_ast_loot_silver <= what crate the immovable asteroids eject when destroyed (since their indestructible,= pointless)
asteroid_loot_commodity = commodity_silver <= what the immovable asteroids eject that is inside the crate when destroyed (since their indestructible,= pointless)
dynamic_loot_container = lootcrate_ast_loot_silver <=destructible asteroid crate
dynamic_loot_commodity = commodity_silver <=destructible asteroid loot
asteroid_loot_count = 0, 0 <=asteroid loot amount when destroyed
dynamic_loot_count = 1, 1 <=destructable asteroid loot amount when destroyed min,max. Try dynamic_loot_count = 10, 100 for super rich fields
asteroid_loot_difficulty = 95 <= 1 out of (number) chance of getting loot when invincible asteroid destroyed. Lower = easier to get loot
dynamic_loot_difficulty = 1 <= 1 out of (number) chance of getting loot when destructable asteroid destroyed. Lower = easier to get loot

Mining for resources now can actually pay of if this is done right. No more spending hours in the Dublin fields and fending of Molly's or the schwefelwolke lava fields with its radiation and only a pittance to show for it. You can make asteriod fields have lots of low yield high presence resources or ultra rare motherloads.

To find out which field ini has resources for looting, simply open the asteroids directory and use the search function for any files containing the TEXT not name lootable.

I hope this helps those who have found mining to be excercises in frustration.

Post Sat Jun 21, 2003 8:34 am

Something like this has been done, in a mod available called Miner_Co. But I don't think anyone has explained it properly. Good job!

Post Sat Jun 21, 2003 10:31 am

Good job - but id just like to add something. You can turn the small dynamic asteroids into large ones by doing the following:

1. Open DATA/SOLAR/asteroidarch.ini and add the following text at the bottom:

[DynamicAsteroid
nickname = DAsteroid_big1
DA_archetype = solar\asteroids\models\ast_mineable_90.3db
material_library = solar\ast_mineable.mat
explosion_arch = dast_asteroid_explosion

2. Now go to DATA/SOLAR/ASTEROIDS and find the .ini file for the asteroid field you want to change.

Look for the header [DynamicAsteroids and change the field:

asteroid = (WHATEVER IT SAYS)

to

asteroid = DAsteroid_big1

Also in this file comment out the entire section under [Cube, including the header, e.g.

;[Cube
;asteroid = mineable1_asteroid90, 0.600000, 0.200000, -0.200000, 35, 10, 20
;asteroid = mineable1_asteroid60, 0.400000, -0.700000, -0.200000, 15, 90, 120
;asteroid = mineable1_asteroid30, -0.300000, -0.300000, 0.800000, 85, 0, 185
;asteroid = mineable1_asteroid90, -0.200000, -0.100000, -0.600000, 105, 160, 25
;asteroid = mineable1_asteroid60, -0.700000, 0.400000, -0.400000, 75, 30, 70

To increase the density of the asteroids mess around with the settings in this file under [DynamicAsteroids .

However, this does make asteroid mining a little like pooping balloons, so if anyone knows how to change the HP that would be appreciated.

Edited by - Accushot on 21-06-2003 11:36:22

Post Sat Jun 21, 2003 1:45 pm

For some reason, placing the large dynamic asteroids or removing the unmovable ones seem to crash SP missions so i would'nt recommend it.

Post Sat Jun 21, 2003 1:48 pm

Thanks for the tip.

Post Sun Jun 29, 2003 4:37 pm

How would you make weapons or shields inside of the asteroids?

Post Mon Jun 30, 2003 3:24 am

Correct me if i'm wrong but you are asking for how to place weapons and shields as loot are you not? If so, thats just cheesy but in the spirit of modding i'll tell you.

Just place whatever loot you want in this line:
dynamic_loot_commodity = (what you want)

Return to Freelancer General Editing Forum