View Full Version : enemies
Blackraptor
Sep 14, 2002, 04:21 PM
Well, whenever I make a level and add to many enemies, I get an access viloation Jazz Jackrabbit ran out of internal animational frames, well, I counted all my enemies and had about 60 or 70.
Then I decided to play overlords RHG again and noticed there were over 100 enemies and it still worked. I dont get it, how do you get rid of that access violation so I could flood my levels with enemies.
Newspaz
Sep 14, 2002, 04:24 PM
I think it's not just how many you place but I think it is how you place them. You might get less action violations if you'll spread your enemies all over your level then when you put them all in a small area.
Just a thought though..
Iam Canadian
Sep 14, 2002, 05:44 PM
I think it's the size of a level. If the level is smaller in size, it'll support fewer enemies. Bigger ones, I believe, support more.
Trafton AT
Sep 14, 2002, 06:21 PM
WOW! I'll add another "I think..."
OK, in my experience, if the game uses up all of it's animations, it will start taking away from character animations. This is hardly noticable at first, but then you'll notice that some animations (like Spaz's sidekick) start disappearing in some areas. This, however, can get dangerous because of the way Jazz 2 handles animation overflows. If Jazz 2 runs out of animations completely, it crashes with an access violation. If you move into an area with new animations too quickly for the game to take away from the character animation, the game will crash. This means that certain attacks (Spaz's sidekick, and to a lesser extent Jazz's uppercut) that move the character into areas with more animations without first taking away from the older ones will cause the game to crash. In your case, however, it crashes when it starts. This is because the second the level starts, the game has to render so many animations, it instantly overflows (animations still go on even when they aren't onscreen) and the game crashes. Possible solutions include removing enemies, of course. Another option is to make them more similar. 5 enemies of the same type take less animation power than 5 of different types. Of course, 5 enemies of the same type will still take up more animation power than 1 enemy. Making the level bigger could help, but you'd also have to space out the enemies more, just as Newspaz said. The amount of enemies you need to have this problem is very high, and I dobut it would hurt the level way too much by removing some.
Good luck and sorry for the long post.
Blackraptor
Sep 14, 2002, 06:25 PM
Thanks, Im pretty sure thats what overlord did. (There were 12 floating suckers in one place and 30 float lizards) but Im not so soure that still solves it. I'd be grateful if someone would test it for me. (A.k.a Creating a medium level with lots of different enemies and a medium sized level woth lots of same enemies.
vBulletin® v3.8.2, Copyright ©2000-2025, Jelsoft Enterprises Ltd.