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

Stupid question about nebulas

The general place to discuss MOD''ing Freelancer!

Post Sat Apr 17, 2004 1:45 pm

Stupid question about nebulas

I want to aske you guys something...

Some time ago i made my Order system and made a great looking nebula.
The nebula cloud was eliptical with a big exclusion zone on one of it's edges.
I've put a planet in that zone and it could be seen trough the nebula..a really cool effect.

Sadly, I lost all files and I had to start over.

Now, I can't get the nebula exclusion zone to be completely empty.
This are the entry files I used:
--------------------
IN MY SYSTEM FILE:
--------------------

[Nebula
file = solar\nebula\Or01_ice_crystal_cloud.ini
zone = Zone_Or01_Ice_Nebula

[zone
nickname = Zone_Or01_Ice_Nebula
pos = -35000, 0, -62000
shape = ELLIPSOID
size = 50000, 30000, 25000
property_flags = 32768
property_fog_color = 80.000000, 85.000000, 140.000000
spacedust = icedust
spacedust_maxparticles = 150
visit = 36
sort = 99.500000
Music = zone_field_ice

[zone
nickname = ZONE_Or01_Aeglos_IceNebula_exclusion
pos = -19100, 0, -48000
shape = SPHERE
size = 12000
property_flags = 16400
spacedust = oxygendust
spacedust_maxparticles = 200
visit = 128
sort = 18


--------------------
IN MY NEBULA FILE:
------------------------
[TexturePanels
file = solar\nebula\generic_shapes.ini

[Fog
fog_enabled = 1
near = 0
distance = 1750
color = 50, 70, 100

[properties
flag = nebula

[Exclusion Zones
exclusion = ZONE_Or01_Aeglos_IceNebula_exclusion
fog_far = 5000.000000
zone_shell = solar\nebula\generic_exclusion.3db
shell_scalar = 1.100000
max_alpha = 0.700000
exclusion_tint = 150, 150, 255


[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 = 2
bit_radius = 9000
bit_radius_random_variation = 0.200000
min_bits = 11
max_bits = 11
move_bit_percent = 0.750000
equator_bias = 0.500000
color = 90, 105, 200

[NebulaLight
ambient = 30, 60, 80
sun_burnthrough_intensity = 0.500000
sun_burnthrough_scaler = 1.750000

[Clouds
max_distance = 500
puff_count = 10
puff_radius = 100
puff_colora = 100, 105, 190
puff_colorb = 200, 200, 255
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 = 10, 10, 10
lightning_gap = 20.000000
lightning_duration = 0.500000

[BackgroundLightning
duration = 0.500000
gap = 10.000000
color = 20, 20, 20

-----------------
I used the Li05_Tahoe_Ice_crystal_cloud as a template, but I found no exlusion zone it used that has a completely "empty" space...

How do I make a completely empty exclusion zone?

On the good side - I got my Order encoiunters to work. Now there are Guardian and Anubis patrols and Transport runs all over the system!

Post Sun Apr 18, 2004 8:54 am

Anyone?

B.t.w. - Does anyone have a list of property_flags and just what each number means?

Edited by - Firewing on 4/18/2004 10:03:24 AM

Post Mon Apr 19, 2004 5:11 pm

Don't give me credit for these, I copied them from anothers post, Der-Matthi or Louva-Deus I think. Do a search for the full post.

Property Flags:

32768 = Nebula Type
if u set this one ... your zone will have the outer appearance on the navmap like a nebula for this u need a set property_fog_color to a color you like ... what about pink ?

2049//258 = Ice Asteroid Type
this will make a asteroid field (don't know if it works with nebula too but it should) look like ice asteroid billboards ...like whitney ice field

512 = Lava Rocks
mh ... yes lava rocks

130 = Debris Type
remember the pittsburgh debris field on the map ... yes that way

66 = Rock Type
... looks like average big rocks on the map, you know?


0 = Invisible
256 = small ice asteroids.



Don't think you need the spacedust entries in your exclusion zone;

[zone
nickname = ZONE_Or01_Aeglos_IceNebula_exclusion
pos = -19100, 0, -48000
shape = SPHERE
size = 12000
property_flags = 16400
spacedust = oxygendust <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
spacedust_maxparticles = 200 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
visit = 128
sort = 18

S

Post Sun Jan 02, 2005 5:35 am

The property_flags value shows different images on the nav map for zones. The image which appears depends of which bits are set in the value. The lowest bit has the highest priority. Here is a list with all values i figured out:

64 = rock asteroids
128 = debris field
256, 2048 = ice asteroids
512 = lava asteroids
1024 = green asteroids like in Omicron system
4096 = mine field
8192 = asteroid field (like Badlands in New York)
32768 = nebula (the propery_fog_color is used here!)
65536, 131072 = exclusion

All the lower bits seems to have no impact. I couldn't find any differences using 64 or a value between 65 and 127.

Post Sun Jan 02, 2005 6:14 am

I also have a question concerning nebulas:

How would you prevent dynamical light from lightsources ([LightSource) from getting into the nebula and illuminating your ship?

For example, i created a black nebula and i want the ship in the nebula to be completely dark... but those lightsources do not get affected by the nebula

Post Sun Jan 02, 2005 7:53 am

@w0dk4 : I might be wrong, but in the nebula INI file, there are these entries :

[NebulaLight
ambient = 30, 40, 80
sun_burnthrough_intensity = 1
sun_burnthrough_scaler = 1

Putting the intensity to 0 might affect the nebula light. But careful, you might not see anything like this...

I am not sure it'll work though. Never tried it.

@Firewing : Well, what do you exactly mean by not empty? If it is the fog, maybe upping "fog_far" to twice the exclusion size could help, as it would automatically remove the fog so the entire exclusion is visible, no matter where you are.

Edited by - FriendlyFire on 1/2/2005 7:56:31 AM

Return to Freelancer General Editing Forum