Custom Dark Servant

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!
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
Hell-met
Posts: 43
Joined: Mon Oct 28, 2019 9:23 pm

Custom Dark Servant

Post by Hell-met »

Hello

I'd like to script my own summoning doll (heretic/hexen artifact) but so far it seems A_Summon is hardcoded to the minotaurfriend. Is there no way to change the summoned monster?

https://zdoom.org/wiki/Classes:ArtiDarkServant <- these
User avatar
Virathas
Posts: 254
Joined: Thu Aug 10, 2017 9:38 am

Re: Custom Dark Servant

Post by Virathas »

If you are using DECORATE (zandronum compatibility) then basing your item on this one will not help you, as it is in fact hard coded.

If you are using ZScript, however, it all is easily editable. Note that A_Summon is a method of SummoningDoll, that is spawned by the actual item.

(If DECORATE is the only option, then you could use CustomInventory that would spawn in a similar projectile that upon collision/time would spawn your monster. And if no place available, spawn item instead. These are all possible via DECORATE/ACS)
Kzer-Za
Posts: 522
Joined: Sat Aug 19, 2017 11:52 pm
Graphics Processor: nVidia (Modern GZDoom)

Re: Custom Dark Servant

Post by Kzer-Za »

Or you could simply create an actor that replaces minotaurfriend, I suppose. Of course it won't work if you still need the minotaurfriend to be available in the game. But if you don't need it, then it's the simplest way, I think.
Hell-met
Posts: 43
Joined: Mon Oct 28, 2019 9:23 pm

Re: Custom Dark Servant

Post by Hell-met »

thanks guys! replacing the minotaurfriend seems like my best bet right now
Post Reply

Return to “Scripting”