Unsupported zDoom functionality?

Discuss all aspects related to modding Zandronum here.
Post Reply
RobbyPants
 
Posts: 37
Joined: Wed Mar 13, 2013 12:53 am

Unsupported zDoom functionality?

#1

Post by RobbyPants » Thu Mar 21, 2013 1:11 am

I'm working on modifying the Pain Elemental so that it makes zombies, and I don't want them shooting out at the player the same way that a Lost Soul does. Looking at the zDoom wiki, the third parameter in the A_PainAttack script does just that. However, when I attempt to run the file, it complains that it only wants one parameter (It says it's expecting a ')' but got ',').

Is there anything wrong with this line?

Code: Select all

PAIN F 1 Bright A_PainAttack("Zombie1", 0, PAF_NOSKULLATTACK, 0)
If I remove the other three parameters, it works fine, other than that the zombies go shooting across the screen.

TheMisterCat
 
Posts: 79
Joined: Mon Jun 04, 2012 2:21 pm
Location: NZ

RE: Unsupported zDoom functionality?

#2

Post by TheMisterCat » Thu Mar 21, 2013 1:28 am

yeah, the extra parameters aren't supported yet. you're better off using A_SpawnItemEx if you want them to just drop down

RobbyPants
 
Posts: 37
Joined: Wed Mar 13, 2013 12:53 am

RE: Unsupported zDoom functionality?

#3

Post by RobbyPants » Thu Mar 21, 2013 6:29 pm

TheMisterCat wrote: yeah, the extra parameters aren't supported yet. you're better off using A_SpawnItemEx if you want them to just drop down
That looks very useful. Thank you! I'll have to test it out tonight.

TerminusEst13
Retired Staff / Community Team Member
Posts: 865
Joined: Tue Jun 05, 2012 11:06 pm

RE: Unsupported zDoom functionality?

#4

Post by TerminusEst13 » Thu Mar 21, 2013 8:44 pm

Half the time in Zandronum modding is spent trying to replicate advanced ZDoom functions.

You're gonna have to get used to this, man. :p
The Ranger - New class for HeXen.
ZDoom Wars - I drew some pictures.
Samsara - Some class-based mod I guess?
Metroid: Dreadnought - I am a dumb fanboy.
DemonSteele - ~come with me to anime world~

User avatar
ibm5155
Addicted to Zandronum
Posts: 1641
Joined: Tue Jun 05, 2012 9:32 pm
Location: Somewhere, over the rainbow

RE: Unsupported zDoom functionality?

#5

Post by ibm5155 » Fri Mar 22, 2013 2:12 am

/\
Lol that´s true.
Projects
Cursed Maze: DONE, V2.0
Zombie Horde - ZM09 map update: [3/15/13]
Need help with English? Then you've come to the right place!

<this post is proof of "Decline">

Post Reply