Spawning decals after crossing a linedef
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.
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.
Spawning decals after crossing a linedef
So I want to spawn a decal after you cross a certain linedef. I got all my decals correctly labeled on the lump file. When I place a 9200 thing, I select the Decal ID in DoomBuilder and the decal shows correctly in game.
Now what I want to do is spawn this decal after crossing a linedef. Could this be made with a Mapspot thing placed where you want to spawn the decal, then Spawnspot on the code? I do this to spawn regular things and it works, but it doesn't with decals. Where do I specify the ID of the decal I want to spawn, on the Mapspot arguments or in Spawnspot?
Now what I want to do is spawn this decal after crossing a linedef. Could this be made with a Mapspot thing placed where you want to spawn the decal, then Spawnspot on the code? I do this to spawn regular things and it works, but it doesn't with decals. Where do I specify the ID of the decal I want to spawn, on the Mapspot arguments or in Spawnspot?
Re: Spawning decals after crossing a linedef
The only way I can think of is to make a projectile that will cause this decal then spawn the projectile....
How ever there are a few problems with this, the major problem being that the decal should disappear after a few shots that hit the wall...
I am unfamiliar on decals so this might not be the best solution considering that it isn't much of a solution anyway..
Enjoy!
How ever there are a few problems with this, the major problem being that the decal should disappear after a few shots that hit the wall...
I am unfamiliar on decals so this might not be the best solution considering that it isn't much of a solution anyway..
Enjoy!
Re: Spawning decals after crossing a linedef
How can this be so complicated? It's so easy to spawn any sprite with a mapspot thing and a Spawnspot on the script, how can it be so different from a decal? It's just a sprite after all, I just need to know where to specify the ID of the decal to spawn.
Re: Spawning decals after crossing a linedef
Decals and Actors are two different things. That's not exactly complicated.
I guess there's also a kind of crude way where you use SetLineTexture and a line 1px away from the wall.
I guess there's also a kind of crude way where you use SetLineTexture and a line 1px away from the wall.
Re: Spawning decals after crossing a linedef
Since I've been adding stuff anyway, I give you r4330.
Re: Spawning decals after crossing a linedef
That could be used for Printz's wallmonster idea.
Re: Spawning decals after crossing a linedef
Wow nice, but is there a way to make it work with Zandronum or I have to wait for they to update Zandronum? (my wad is a multiplayer one)randi wrote:Since I've been adding stuff anyway, I give you r4330.
Re: Spawning decals after crossing a linedef
Fork Zandronum and port the relevant changes.tashita wrote:is there a way to make it work with Zandronum
Re: Spawning decals after crossing a linedef
Really only the first two words are necessary hereGez wrote:Fork Zandronum and port the relevant changes.tashita wrote:is there a way to make it work with Zandronum

Fork Zandronum to hell.
Re: Spawning decals after crossing a linedef
Sorry, what does mean Zandronum?
Re: Spawning decals after crossing a linedef
ZDoom has no proper MP, we need Zandronum.Mikk- wrote:Really only the first two words are necessary hereGez wrote:Fork Zandronum and port the relevant changes.tashita wrote:is there a way to make it work with Zandronum
Fork Zandronum to hell.
Re: Spawning decals after crossing a linedef
https://bitbucket.org/Torr_Samaho/zandronumtashita wrote:Sorry, what does mean Zandronum?
See the "fork" button over there? (You might need to register an account for it to appear.) It has already 14 registered forks, it can take one more.
Re: Spawning decals after crossing a linedef
I hope you fully appreciate the irony of telling that to somebody who does use it for multiplayer rather a lot.