Randomized items (DECORATE function)
Moderator: GZDoom Developers
Randomized items (DECORATE function)
Now that it's possible to add non-replacing decorations and enemies (and soon weapons), I'm sure there are many people clamouring to use such things in old levels.
Obviously they could edit levels and manually add and replace things themselves, but there is an alternative solution, one which would allow new items to appear in *any* level with no effort require on the part of the player: a new DECORATE function.
Examples of usage:
TechLamp
(other functions)
Random TechLampRed TechLampGreen
ZombieMan
(other functions)
Random ZombieTwoPistols ZombieFists ZombieCrawl
Shotgun
(other functions)
Random Rifle Blaster Sniper
Obviously they could edit levels and manually add and replace things themselves, but there is an alternative solution, one which would allow new items to appear in *any* level with no effort require on the part of the player: a new DECORATE function.
Examples of usage:
TechLamp
(other functions)
Random TechLampRed TechLampGreen
ZombieMan
(other functions)
Random ZombieTwoPistols ZombieFists ZombieCrawl
Shotgun
(other functions)
Random Rifle Blaster Sniper
- Cutmanmike
- Posts: 11335
- Joined: Mon Oct 06, 2003 3:41 pm
- Operating System Version (Optional): Windows 10
- Location: United Kingdom
- Contact:
No need for an engine change.
http://forum.zdoom.org/viewtopic.php?t=6704
http://forum.zdoom.org/viewtopic.php?t=6704