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

exclusion zone in fog

Do you want to start editing Freelancer, but have no clue where to begin? This is the place for you to find things and talk about getting started on Freelancer Modding

Post Sat Oct 02, 2004 12:48 am

exclusion zone in fog

hi @ all

@ first sorry about my english. i m from austria and my english is very bad.
here is my problem. i write a fog zone in my system and there is a planet too. now i wanna create a zone around the planet without fog. i write a exclusion zone in my sys.ini.

[zone
nickname = Zone_A901_Bernhard_exclusion
pos = 0, 0, -112000
shape = SPHERE
size = 4000
property_flags = 65536
property_fog_color = 0.000000, 100.000000, 160.000000
visit = 1
sort = 99

ok if i look now in game in my system the map shows the exclusion zone but the fog is always around the planet. now i add the exclusion zone in the nebula.ini.

[Exclusion Zones
exclusion = Zone_A901_Bernhard_exclusion

here comes the problem. if i start the game it crashes. i think the game wanna exclusion the exclusion zone from the exclusion zone and thats no working.
please can you help me? maybe i forgot to add whatever in another file too?

Duddits (newbie)







Edited by - Duddits on 10/2/2004 1:49:08 AM

Post Sat Oct 02, 2004 6:20 am

Did you try your system without the exclusion zone?
Is there any other exclusion zone defined in your nebula file that doesn't exist in your system?

Post Sat Oct 02, 2004 6:27 am

There's more to an exclusion zone entry than just that. Try copying this into the nebula's ini file (obviously make the name changes)

[Exclusion Zones
exclusion = Zone_Ew02_01_exclusion
fog_far = 7000.000000
zone_shell = solar\nebula\plain_inner_sphere.3db
shell_scalar = 1
max_alpha = 0.500000
exclusion_tint = 255, 200, 150

That should give you a basic exclusion.

Post Sat Oct 02, 2004 7:52 am

hi @ all

friendly fire and darkstone thx for help.
@ friendly fire no i defind only this one exclusion zone in nebula file.
@ darkstone i took this defind zone from sigma 13 nebula file.
in this nebula file are defind zones like this one from me with only fog_far and zones like this one which you write in your reply. please can you explain me what this all means?

[Exclusion Zones
exclusion = Zone_Ew02_01_exclusion
fog_far = 7000.000000
zone_shell = solar\nebula\plain_inner_sphere.3db ; what means this ?
shell_scalar = 1 ; what means this ?
max_alpha = 0.500000 ; what means this ?
exclusion_tint = 255, 200, 150 ; what means this?

@ all can you tell me it exists a list where is explained all things they defind in all files of freelancer?

Duddits

Post Sat Oct 02, 2004 8:17 am

I've no idea what it all means, I was just making sure you had a complete entry.

Post Sat Oct 02, 2004 10:51 am

@Darkstone : All the coding you asked him to add isn't necessary. It only makes you able to define more things in the exclusion zone. But I use these only when I want a particular effect.

@Duddits :

[Exclusion Zones
exclusion = Zone_Ew02_01_exclusion
fog_far = 7000.000000
zone_shell = solar\nebula\plain_inner_sphere.3db ;When you see an exclusion zone, you always have the feeling there's a kind of sphere that define the edges of the exclusion right? Well it is true and this line defines what will the sphere look. The colors are defined by your nebula's colors though.
shell_scalar = 1 ;How much time will the texture of the sphere defined right up will repeat. As when you have tiles. You can have 1 tile. But you can reduce the size of each tile and have 4 tiles to occupy the same space.
max_alpha = 0.500000 ;I think, if I remember well, that this defines how bright the exclusion zone will be compared to normal space. So if you want to make a dark exclusion zone, lower this param, and vice-versa.
exclusion_tint = 255, 200, 150 ;Gives the light color of the exclusion zone. In RGB params. Like that I think you could have a blue light in the nebula but have your ship lighten by yellow in the exclusion zone only.

Again as I said to DarkStone, these params are optional.

EDIT : Also you didn't answer me : If you put a ";" before each line of the exclusion zone entry in your nebula and in your system file, does your system crash?

Edited by - Friendly_Fire on 10/2/2004 11:52:25 AM

Post Sat Oct 02, 2004 12:45 pm

hi @ all

friendly fire thx a lot fpr your explain. it helps me very much :-). at thiese things i have many questions. i only copy the files and changing it to my system but i wanna know what these all means. you can help me at this way?
but now to the exclusion zones. i deleted all and defind it new. lol its running! but please dont ask me why. i dont know what i have changed now. let me show you an example ok ? my first fog was the badlands fog from system new york.

here the definition in new york file:

[Nebula
file = solar\nebula\Li01_Badlands_Nebula.ini
zone = Zone_Li01_Badlands_Nebula

here the change to my system:

[Nebula
file = solar\nebula\A901_Silvia_Nebula.ini
zone = Zone_A901_Silvia_Nebula

here the nebula zone in new york (i take what i need):

[zone
nickname = Zone_Li01_Badlands_Nebula
ids_name = 261208
pos = -7460, 0, 63000
shape = ELLIPSOID
size = 55000, 20000, 35000
property_flags = 32768
property_fog_color = 10.000000, 7.000000, 30.000000
spacedust = radioactivedust_blue
spacedust_maxparticles = 50
ids_info = 65996
visit = 32
sort = 25

here my nebula zone:

[zone
nickname = Zone_A901_Silvia_Nebula
ids_name =
pos = 0, 0, 112000
shape = ELLIPSOID
size = 30000, 30000, 30000
property_flags = 32768
property_fog_color = 10.000000, 7.000000, 30.000000
spacedust = radioactivedust_blue
spacedust_maxparticles = 50
ids_info =
visit = 1
sort = 99

here a exclusion zone from new york:

[zone
nickname = Zone_Li01_Exclusion_depot
pos = 56328, 0, -52363
shape = SPHERE
size = 2000
property_flags = 196608
property_fog_color = 20.000000, 18.000000, 24.000000
edge_fraction = 0.300000
sort = 99.500000

here my exclusion zone:

[zone
nickname = Zone_A901_Silvia_Exclusion
pos = 0, 0, 112000
shape = SPHERE
size = 7000
property_flags = 32768
property_fog_color = 10.000000, 7.000000, 30.000000
sort = 99

and here my new defined nebula.ini:

[TexturePanels
file = solar\nebula\generic_shapes.ini

[properties
flag = nebula

[Fog
fog_enabled = 1
near = 0
distance = 1000
color = 10, 7, 30

[Exclusion Zones
exclusion = Zone_A901_Silvia_Exclusion
fog_far = 19000

[Exterior
shape = generic_exterior1
shape = generic_exterior2
shape = generic_exterior3
shape = generic_exterior4
shape_weights = 1, 1, 1, 1
fill_shape = nebula_circle2
plane_slices = 3
bit_radius = 10000
bit_radius_random_variation = 0.200000
min_bits = 3
max_bits = 8
move_bit_percent = 0.500000
equator_bias = 0.500000
color = 40, 30, 90

[NebulaLight
ambient = 15, 10, 45
sun_burnthrough_intensity = 0.500000
sun_burnthrough_scaler = 1.750000

[Clouds
max_distance = 300
puff_count = 10
puff_radius = 100
puff_colora = 45, 40, 160
puff_colorb = 55, 10, 20
puff_max_alpha = 0.500000
puff_shape = generic_cloud1
puff_shape = generic_cloud2
puff_shape = generic_cloud3
puff_shape = generic_cloud4
puff_weights = 1, 1, 1, 1
puff_drift = 1.000000
near_fade_distance = 125, 200
lightning_intensity = 1.000000
lightning_color = 65, 25, 85
lightning_gap = 5.000000
lightning_duration = 0.500000

[BackgroundLightning
duration = 0.750000
gap = 3.000000
color = 35, 15, 65

[DynamicLightning
gap = 1
duration = 0.400000
color = 180, 200, 220
ambient_intensity = 1
intensity_increase = 1

and these are running :-).

Duddits

Return to Freelancer Modding for Beginners Forum