Death-Destiny
Forum Regular

Posts: 932
Registered: 12-07 |
Well, I just tested it (in some map I made up) and there was only one coding error I saw. I believe "HIVE A 3 A_Chase(CHF_DONTMOVE)" ought to be "HIVE A 3 A_Chase(0,"Missile",CHF_DONTMOVE)". Since A_Chase takes three parameter, it assumes anything entered to be the first, which in this case must be a string. Entering 0 for the first parameter means that state cannot be entered (which it shouldn't since that refers to melee attacks.) "Missile" is the undestood default that replicates standard behavior, but you have to enter it to get to the last parameter, which should be the CHF_DONTMOVE.
Otherwise, it is an enemy that spits Lost Souls at the player like the pain elemental. There are other things I saw that I think you want to do though:
-You gave it "+Spawnceiling," but unless you give it"+Nogravity" as well, it will simply fall to the ground.
-The CHF_DONTMOVE only works during the frames it's referencing, so it will creep forward every time it attacks. To make it perfectly stationary, it's speed should be 0.
-Also, weapons like the SSG or rocket gun can knock it back, if you don't want it to move period, it's mass should be like 10000000 or some huge number so it's too heavy to knock back.
-If you want it to spawn Bee's instead of Lost Souls, that function is entered like "A_PainAttack(Bee)".
One problem I believe this will cause is that A_PainAttack has code to check if it will spawn something "too close to the ceiling" according to its comments, so I don't think it will execute either way if you make the Hive stick to the ceiling, so you might want to make the hive on the floor anyway. =/
BTW, ask if you need me to clarify anyhting since I'm a programmer and might have overlooked something else I need to explain to someone just learning.
|