HI
Is there anyway I could create the Leaf spawner effect in GZDoom using Decorate? I tryed
compliling a bit of Zdoom code in Visual c++ but haven't had any luck,
I haven't worked with source code much, and am out of ideas.
Hexen type Leaf Spawner in GZDoom?
Moderator: Graf Zahl
- Gez
- Developer
- Posts: 1399
- Joined: Mon Oct 22, 2007 16:47
Re: Hexen type Leaf Spawner in GZDoom?
Why not using the leaf spawner directly?
-
- Posts: 4
- Joined: Sat Aug 15, 2009 5:37
Re: Hexen type Leaf Spawner in GZDoom?
There is a way to put this spawnpoint in directly? You mean in DoomBuilder
or Wintex useing Decorate? I tryed the code in Decorate and GZDoom gives me
a error when it get to lines like A_LeafSpawn or any Hexen code, how do I get around
this?
or Wintex useing Decorate? I tryed the code in Decorate and GZDoom gives me
a error when it get to lines like A_LeafSpawn or any Hexen code, how do I get around
this?
-
- Posts: 91
- Joined: Thu Aug 09, 2007 19:07
Re: Hexen type Leaf Spawner in GZDoom?
Making an actor which inherits all of it's properties from Leaf Spawner?
- Gez
- Developer
- Posts: 1399
- Joined: Mon Oct 22, 2007 16:47
Re: Hexen type Leaf Spawner in GZDoom?
Yes. If your map is not for Hexen, you can simply use a randomspawner to give it a doomednum you can use in Doom.Komet302 wrote:There is a way to put this spawnpoint in directly? You mean in DoomBuilder
A single line of DECORATE code is all that you need:
Code: Select all
Actor MyLeafSpawner: RandomSpawner 20000 { DropItem "LeafSpawner" }
You can use another number than 20000 if you want. Just find one that's not used by another Doom actor. This results in an actor that will place a LeafSpawner (since it'll choose randomly from only one dropitem, it'll always select the leafspawner) and disappear, in effect being strictly equivalent to putting a leafspawner directly.
-
- Posts: 4
- Joined: Sat Aug 15, 2009 5:37
Re: Hexen type Leaf Spawner in GZDoom?
I entered Actor MyLeafSpawner: RandomSpawner 20000 { DropItem "LeafSpawner" }
into my Decorate file it shows up in doombuilder as MyLeafSpawner: but it doesn't seem to recognize the number 20000. I'm not useing this number for any other actor. I must be missing something.
into my Decorate file it shows up in doombuilder as MyLeafSpawner: but it doesn't seem to recognize the number 20000. I'm not useing this number for any other actor. I must be missing something.
-
- Posts: 4
- Joined: Sat Aug 15, 2009 5:37
Re: Hexen type Leaf Spawner in GZDoom?
my mistake, think I got it figured out now thanks for the help!