Making clouds

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
JimmyAngler
High General
High General
Posts: 837
Joined: Mon Nov 04, 2013 10:37 am
Projects :: Battlefront Halation
Games I'm Playing :: SWBF 1-2-2015
xbox live or psn: none
Location: Area 51

Making clouds

Post by JimmyAngler »

So, I'm trying to make a large cloud that stretches over the entire map. The reason for this is to hide the nothingness below my security base map, which is placed at 100 height in ZE. I have all the meshes, textures, odf's and whatnot in the right folders, and I placed about 50 props in ZE at ground 0.

Here is the scb_prop_dust.odf
Hidden/Spoiler:
[code][GameObjectClass]

ClassLabel = "dusteffect"
GeometryName = "scb_prop_dust.msh"


[Properties]

MinPos = "-10 80 -10"
MaxPos = "50 90 50"
MinVel = "-10 0 -10"
MaxVel = "10 1 10"
MinSize = "15"
MaxSize = "20"
MinLifeTime = "2"
MaxLifeTime = "3"
Alpha = "1.0"
NumParticles = "80"
MaxDistance = "150"
Texture = "whitedust"
SpawnSound = ""[/code]
What I'm trying to do is basically the same as Marth did in Prothean Skyway.

Like this ->http://steamcommunity.com/profiles/7656 ... 5681334648


Only problem is, nothing shows up ingame... :(

Any thoughts?
User avatar
Kingpin
Jedi
Jedi
Posts: 1096
Joined: Fri Sep 13, 2013 7:09 pm
Projects :: The Sith Wars II
Location: Denver, CO
Contact:

Re: Making clouds

Post by Kingpin »

Why did you build your map so high? You can right click to lower terrain.
JimmyAngler
High General
High General
Posts: 837
Joined: Mon Nov 04, 2013 10:37 am
Projects :: Battlefront Halation
Games I'm Playing :: SWBF 1-2-2015
xbox live or psn: none
Location: Area 51

Re: Making clouds

Post by JimmyAngler »

You know, I don't know why. Maybe it was before I know how to hide the terrain..
Well I lowered it and I got it to show up, but I guess they are really thin and need quite a bit of fluffy-ing. Could someone just explain each line in the odf then?
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: Making clouds

Post by Marth8880 »

By the way, barriers and stuff don't really work at great heights. :d

Code: Select all

[GameObjectClass]      

ClassLabel      =   "dusteffect"
GeometryName   =   "scb_prop_dust.msh" // editor mesh


[Properties]      

MinPos = "-10 80 -10" // minimum particle position values (XYZ)
MaxPos = "50 90 50" // maximum particle position values (XYZ)
MinVel = "-10 0 -10" // minimum particle velocity values (XYZ - forwards is north)
MaxVel = "10 1 10" // maximum particle velocity values (XYZ - forwards is north)
MinSize = "15" // minimum size of particles
MaxSize = "20" // maximum size of particles
MinLifeTime = "2" // minimum duration of time (in seconds) particles can exist
MaxLifeTime = "3" // maximum duration of time (in seconds) particles can exist
Alpha = "1.0" // transparency (0.0 .. 1.0) of particles (0.0 = completely transparent, 1.0 = completely opaque)
NumParticles = "80" // number of particles that can exist at once
MaxDistance = "150" // maximum particle view distance in meters(?)
Texture = "whitedust" // particle texture
SpawnSound = "" // sound property played when effect is spawned
Notes:
- Rotation of dusteffect prop does *not* determine or affect direction in which particles move. You have to set up the MinVel and MaxVel values to orient the particle movement in the rotation you desire.
- The MinPos and MaxPos values are based on the center of the dusteffect prop, not the center of the world space.
Post Reply