[DECORATE] Multiple Tome of Power types

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
Post Reply
User avatar
jazzmaster9
Posts: 862
Joined: Wed Apr 18, 2012 11:37 pm
Contact:

[DECORATE] Multiple Tome of Power types

Post by jazzmaster9 »

I was wondering if there is a way to implement different types of Tome of Power?
The original Tome of Power changes weapons to a "WeaponPowered" actor with the sisterWeapon tag.

Im planning to implement an Ice, Lightning and Fire tome. Using the Ice tome of Power will change the weapons to a WeaponPoweredIce then the fire Tome will change to WeaponPoweredFire etc.

Would appreciate a helping hand since i am a bit stumped. :?
Thanks in advance
Blue Shadow
Posts: 4949
Joined: Sun Nov 14, 2010 12:59 am

Re: [DECORATE] Multiple Tome of Power types

Post by Blue Shadow »

Since you can't create custom powerups or alter the behavior of existing ones substantially in DECORATE, then the answer is no.

However, achieving what you want, which is having a weapon behave differently depending on the presence of an item, is possible. See this weapon as an example.
Post Reply

Return to “Scripting”