Sky property

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
User avatar
.+:icytux:+.
Posts: 2661
Joined: Thu May 17, 2007 1:53 am
Location: Finland

Sky property

Post by .+:icytux:+. »

How Do you make a sky property so that if i as example want it to rain comets from the sky. how to do?
User avatar
Medricel
Posts: 1138
Joined: Sat Nov 20, 2004 9:47 am

Post by Medricel »

There is no such thing as a sky property.

If you want rain, you're going to have to do it manually. The only thing that a Sky sector would do automatically is brighten up when lightning flashes.
User avatar
KeksDose
 
 
Posts: 596
Joined: Thu Jul 05, 2007 6:13 pm
Location: my laboratory
Contact:

Post by KeksDose »

There's quite a big amount of scripting involved. If you want rain you either use ACS and Decorate or Decorate alone.

Let's say you have *Rain* in your map.

Create a *RainDrop* actor and a Raindrop *Fountain*, or Spawner, which is the main word for anything what... spawns =P

In the Raindrop you execute an ACS code which automatically throws the drop down with "ThrustThingZ", then you define your spawner with the action A_SpawnItemEx and your random "XYZ" coordinates how large the spawn range should be.

The ACS-only method is a bit harder, so I don't have a decent script ready right now :/ The easier method would be tons of Mapspots which shoot the comets, and the hard one would be "Spawn" with some more mashing =P

The only thing I really like to use is the Particle Spawn method. It's easy, handy and it doesn't need thousands of tags ;)
User avatar
.+:icytux:+.
Posts: 2661
Joined: Thu May 17, 2007 1:53 am
Location: Finland

Post by .+:icytux:+. »

i would understand much better if youd make a spoiler where the script is :P
User avatar
KeksDose
 
 
Posts: 596
Joined: Thu Jul 05, 2007 6:13 pm
Location: my laboratory
Contact:

Post by KeksDose »

Spoiler:
Cac-o-Fountain 'cuz I don't have decent graphics ready :P
User avatar
.+:icytux:+.
Posts: 2661
Joined: Thu May 17, 2007 1:53 am
Location: Finland

Post by .+:icytux:+. »

ok thanx! thats exactly what i needed... now we really should use those things in Zpack ya know :D
User avatar
KeksDose
 
 
Posts: 596
Joined: Thu Jul 05, 2007 6:13 pm
Location: my laboratory
Contact:

Post by KeksDose »

Cool idea. And the same with snow :P
By the way, you can manually adjust / edit what range you want to have (just modify the A_SpawnItemEx line). I would suggest creating 32 X 32, 64 X 64 and 256 X 256 ones, as they make things a bit simpler. :D
User avatar
.+:icytux:+.
Posts: 2661
Joined: Thu May 17, 2007 1:53 am
Location: Finland

Post by .+:icytux:+. »

yeah it could get useful...
and yo keksdose... you Are the overlord of all cookies :D
User avatar
KeksDose
 
 
Posts: 596
Joined: Thu Jul 05, 2007 6:13 pm
Location: my laboratory
Contact:

Post by KeksDose »

Heh, the overlord of all SFX COOKIES! :D
Hope that a penguin won't look over my shoulder right now and try to punch me with a baseball bat...

By the way...
This *KeksDose* means in English *A bucket of cookies*, just to clarify my custom title, though.

Well, good that the *Cac-O-Rain* (lol) helped, though. Something like that always comes handy =P Right now I'm thinking if I should release a small taste of my latest SFX work, though =/
User avatar
XutaWoo
Posts: 4005
Joined: Sat Dec 30, 2006 4:25 pm
Location: beautiful hills of those who are friends
Contact:

Post by XutaWoo »

You could just do "+SPAWNCEILING" to the spawner.
User avatar
KeksDose
 
 
Posts: 596
Joined: Thu Jul 05, 2007 6:13 pm
Location: my laboratory
Contact:

Post by KeksDose »

That would add less variety. Spawner must be as generic as possible. You can define Z height of everything / any color / any spread / any strength. It's work where much effort must be spent in ;)
User avatar
Penguinator
Posts: 625
Joined: Mon May 22, 2006 6:55 pm
Location: Hell

Post by Penguinator »

KeksDose wrote:Heh, the overlord of all SFX COOKIES! :D
Hope that a penguin won't look over my shoulder right now and try to punch me with a baseball bat...
:ninja:
User avatar
KeksDose
 
 
Posts: 596
Joined: Thu Jul 05, 2007 6:13 pm
Location: my laboratory
Contact:

Post by KeksDose »

Penguinator wrote:
KeksDose wrote:Heh, the overlord of all SFX COOKIES! :D
Hope that a penguin won't look over my shoulder right now and try to punch me with a baseball bat...
:ninja:
...Why do I feel so watched right now?

[Turns slowly to watch into the mirror]

*Nothing*

Ah, well. Let's get back to work :P

*BAM*

*shit*
Locked

Return to “Editing (Archive)”