Too many objects...?

A forum for discussing map making ideas and problems for the Myth series.
A-Red
Posts: 771
Joined: Fri Jul 23, 2004 8:36 pm

Post by A-Red »

All I can think of is that some custom projectile has a bug, and keeps multiplying itself or something. I really don't know a lot about projectiles, but it might be a good place to start looking?
t o x y n
Posts: 146
Joined: Wed Jul 26, 2006 11:26 pm

Post by t o x y n »

I'm going to start by taking out the Mahir and removing the map action for some of the units and just keeping going until I find out what causes the projectile number to explode by process of elimination. Argh, good thing this isn't a really big level.
t o x y n
Posts: 146
Joined: Wed Jul 26, 2006 11:26 pm

Post by t o x y n »

Hrmmm... problem seems to be gone after getting rid of the Mahir. The new ending battle I came up with is cooler anyway. :D

Gonna make some small fixes here and there and upload what should be the final beta release of this thing later tonite or tomorrow.
User avatar
iron
Site Admin
Posts: 2006
Joined: Thu Feb 26, 2004 1:21 am
Location: diving out of the Sun at 10 o'clock high!
Contact:

Post by iron »

From my rapidly fading memory of making stuff for myth, I think the problem isn't the overall projectile count so much as the _active_ projectile count. Projectiles that are at rest and have gone "dormant" don't count towards the active limit (Myrd could tell you how high that is ... and its a lot higher than it was in 1.3 days).

So the problem will likely be an errant projectile type that is remaining active & never being destroyed or going dormant. Get enough of those being created on a regular basis and you'll fill up the quota pretty quickly.
...playing as long5hot on War Thunder
Myrd
Site Admin
Posts: 4031
Joined: Fri Mar 19, 2004 10:17 pm

Post by Myrd »

Iron is correct.

Projectiles 'in the air' or so, count towards the limit, but not dormant ones on the ground.

Since 1.5 or so, Myth has code that makes hitting this limit harder, since at around 900/1024 projectiles, it stops making unimportant ones (ie bottle smoke, water ripples, etc). So if you're hitting it, some attack, or something, of one or more of your units is generating _way_ too many projectiles (ie: by stuff promoting to proj groups which promote to even more projectiles, etc..., for example). Or they're never becoming dormant.

Best way to test is just try out the units' attacks on their own on a blank map, and see how many projectiles each generates. (And if any remain active long after the attack is over.)
toecutter
Posts: 26
Joined: Sun May 01, 2005 10:57 am
Location: brooklyn
Contact:

Post by toecutter »

I just watched a trowball film when the proj all went batty and bre melee attacks did no dmg. Even tho everything is biodegradable...
there were a TON of soulless, Myrk G and... DUN DUN DUN.... 5 mahir!!!
I think there is something about mahir that is problematic.
toe
Post Reply