Battlezone Universe

Battlezone Universe => Archive Vault => Public 1.3 Beta Archive => Topic started by: Fishbone on October 29, 2004, 01:29:54 AM

Title: undestructable buildings
Post by: Fishbone on October 29, 2004, 01:29:54 AM
recently, I come accross a very weird bug that I am quite sure is caused by my assets (DuneCommand).
After a certain time of multiworld play (real multiworld with at least 2 internet players) the enemy buildings become undestructable.
whatever you shoot at them, they recover in the next world update and the only way to kill them is demolish them with a constructor.

Commando mentioned that he has never seen the bug in stock maps, but he has seen it on some Greenheart maps. This indicates that it is not dll related.
so the culprit can be faulty odf or faulty aip. Did anybody come accross this problem or know how to fix it?
Title: undestructable buildings
Post by: Bull Dog on October 29, 2004, 01:48:04 AM
I've never had that problem with the GH Mpi maps.  Sheesh that would be kinda of bad if the invinciable building was a gun tower.
Title: undestructable buildings
Post by: Red Devil on October 29, 2004, 01:52:50 AM
I've never seen it.
Title: undestructable buildings
Post by: Commando on October 29, 2004, 02:00:19 AM
I saw it on MPI Defense.  It was one of the mortar towers that would regain its health.  I haven't seen it in a while though.  I mainly saw it on the Public Beta.
Title: undestructable buildings
Post by: Fishbone on October 29, 2004, 02:46:49 AM
oh, mortar towers. do you know whats the odf name? maybe I can find a trend. was it ibmtow? the intimidator?
Title: undestructable buildings
Post by: Commando on October 29, 2004, 03:00:18 AM
Yes, the one that doesn't require power.  The funny thing was the there are about 4 on the maps and the other 3 were destructible.  The one wasn't.  I've seen this in two different sessions.
Title: undestructable buildings
Post by: Bull Dog on October 29, 2004, 03:01:28 AM
Checking for odf name now.......oh ****.  I don't have the patch 1.3 installed on my new system yet.  Grr.  Its bad, I've had a X800Se video card for 2 days now and I haven't played 1 game on it.
Title: undestructable buildings
Post by: APCs r evil on October 29, 2004, 03:48:41 AM
I've seen it more than five times, and I think all at MPI Defense and only that one Intimidator, the only cure I've found for it is, bigger guns (Or the constructor demolishing it, but good luck getting it close enough.), eight Maulers seem to do the trick. :mrgreen: Of course that most likely isnt the answer you were looking for. I haven't really worried about it too much, since up till this point I didn't know the Intimidator ODF name.
Title: undestructable buildings
Post by: Fishbone on October 29, 2004, 04:18:07 AM
after some investigation I can reproduce it now very easily with DuneC assets. I have a feeling it has to do with the fact that the dll is spawning 2 objects at the same place. I have to double check if there is a path-point under the intimidator...
Title: undestructable buildings
Post by: Spawn on October 29, 2004, 10:36:24 PM
so it dies but another appears before its dead?
Title: undestructable buildings
Post by: Fishbone on October 29, 2004, 10:43:25 PM
I dont think thats what happens.
I found that you can drive through indestructable buildings (in multiworld = 0, havent tested in multiworld = 3), as if they were not there. the collision box is somehow missing.
I am still investigating this.

multiworld = 0 means single play
multiworld = 3 means multiplayer over lan or internet
Title: undestructable buildings
Post by: Avatar on October 29, 2004, 10:46:35 PM
Actually I've had an Intimidator that wasn't collidable on the Instant "Defense" map.  It was the middle one and nothing but mortor splash damage could hurt it.

The next time I played that map this wasn't the case, the Intimidators died like any other building.

-Av-
Title: undestructable buildings
Post by: Fishbone on October 29, 2004, 10:47:34 PM
thats why I think it is a combination of asset and dll or asset and aip that causes this.
Title: undestructable buildings
Post by: Commando on October 29, 2004, 10:59:47 PM
I doubt it would be aip.  The intimidators are spawned on the map with path points, I think.  I'm betting it is an asset or dll issue, if not both.
Title: undestructable buildings
Post by: Avatar on October 29, 2004, 11:24:17 PM
Just out of curiousity is the spawning instant? Is the unit spawning being done by stock DLL work or are some of the new maps using a custom DLL?

Could it be an issue of the engine spawning objects one right after the other too quickly, and encountering a random error in the collision box creation?  

If it's a custom DLL spawning the objects I'd suggest sticking a slight pause between object spawning and seeing if that eliminates the problem.

-Av-
Title: undestructable buildings
Post by: Commando on October 29, 2004, 11:25:40 PM
GreenHeart's maps use stock dlls.
Title: undestructable buildings
Post by: Avatar on October 30, 2004, 12:09:33 AM
Thank God for small favors...  :)

-Av-

(psssst.  We must NEVER let Greenheart and Natty get together on a map...brrrrrrrr)
Title: undestructable buildings
Post by: Spawn on October 30, 2004, 02:10:27 AM
add tv to that mix and your comp will be sprouting legs and kicking you!! :lol:
Title: undestructable buildings
Post by: APCs r evil on October 30, 2004, 02:59:20 AM
Quote from: Avatar(psssst.  We must NEVER let Greenheart and Natty get together on a map...brrrrrrrr)

DON'T GIVE THEM IDEAS!!!!!
Title: undestructable buildings
Post by: Red Devil on October 30, 2004, 03:18:20 AM
Now you've done it... We're all dead.
Title: undestructable buildings
Post by: Fishbone on October 30, 2004, 02:41:29 PM
ok, both iedefense and mpidefense are the same map. the bbgtow9.odf is the gun tower in the center and it is preplaced. There is no immediate path point under it. However, it happens sometimes that the dll doesn't find a required path point or vector and just places a new object in the center of the map (coordinates 0,0,0), the statue is at (16,0,16). so dll influence cannot be ruled out, yet

the only common setting in my assets and the statue is this:
buildSupport = B
buildRequire = B
Title: undestructable buildings
Post by: Fishbone on October 30, 2004, 11:53:14 PM
I narrowed the problem down to a dll spawn problem.
I am currently using a turret deploy animation for something completly different. However, this animation is of a drop ship bringing in a harvester. the drop ship travels about 500 m.
All buildings that are in the path of the drop ship (remember, it is not a real vehicle, its a turret deploy animation!) loose their collision box once I remove the drop ship animation. It gets even better: if I turn the orientation of the animation 180 deg., everything works without a hitch.

This is obviously a very DuneC specific problem and I have found the fix I needed. I dont think bz2 was ever intended to do these things. So no wonder its hard.

Now to Greenhearts Defense map: first of all, it can happen on any maps where there are buildings close to the center of the map. I don't have a prove and if somebody finds another reason why it happens, then I am more then happy. But I suspect that some unit spawns over Greenhearts statue and thus removes its collision box. splash damage still damages the building cause it is calculated by hp_com and not collision (as far as I know). Again, this could happen on other maps where buildings are preplaced over spawn path points or the center.
I never had problems to spawn vehicles and infantry inside of buildings, so I would say, spawning turrets and buildings can cause problems.

EDIT: maybe it is the new "no things in things" when built code that tries to push the buildings away but fails and so just removes the collision box?
Title: undestructable buildings
Post by: Spawn on October 31, 2004, 12:48:39 AM
well, the no things in things is oddly shown in shadow race.  with gas plany, you are pushed INTO it, not out (its middle is out of the object, so away from middle is into object).  Statues are odd to me, have light armor (killed by pulse) have a really confusing collision box (sit on top, look down and pulse, bullets go backwards), and you can go under them if they arent perfectly level.
Title: undestructable buildings
Post by: GreenHeart on October 31, 2004, 06:18:40 AM
Quote from: FishboneBut I suspect that some unit spawns over Greenhearts statue and thus removes its collision box.

Those Statues are preplaced on the map & nothing should be spawning close enough to the statue since i don't recalling placing any pathpoint  near the statue. The only objects that spawn 2 objects in the same place would be those dang blasted turrets spawning on top of  certain assault towers.   (turrets spawn at certain guntower pathpoints)

Earlier Commando was hosting a game & he discovered one of the enemy mortar towers wasn't taking damage. I doube that the 2 objects spawning on top of each other is causing the bug since certain affected buildings never had a second object spawned in the same location.
Title: undestructable buildings
Post by: Fishbone on October 31, 2004, 11:45:26 PM
well, I guess you didnt read this:
Quoteok, both iedefense and mpidefense are the same map. the bbgtow9.odf is the gun tower in the center and it is preplaced. There is no immediate path point under it. However, it happens sometimes that the dll doesn't find a required path point or vector and just places a new object in the center of the map (coordinates 0,0,0), the statue is at (16,0,16). so dll influence cannot be ruled out, yet
Title: Try this ...........
Post by: Mother's Helper on November 06, 2004, 06:23:12 AM
:-)
You get a left handed monkey wrench and tighten the updraft whiffle pins inside the rocket tower.  Then, the only thing that will destroy the rocket tower at that point would be a old VW Bus filled with hippies.

At least it is worth a try  :lol:

Mother's Helper
Title: undestructable buildings
Post by: Commando on November 06, 2004, 01:51:45 PM
Its not the statue that goes invulnerable, at least I have never seen the statue go invulnerable.  It is the middle mortar tower, the  intimidator, that has been problematic for me.  I loaded up MPI Defense a few times and didn't see the mortar towers on the map, I did see statues, so it doesn't look mortar towers are preplaced on the map.

For extra clarity, when I say middle mortar tower, I don't mean in the center of the map.  I mean the mortar tower located in the middle of  the rest of the mortar towers.  It is located  pretty far north, in the enemy base.  I think it is the one located next to the  statue in the base.
Title: undestructable buildings
Post by: Fishbone on November 06, 2004, 06:14:18 PM
oh, ok.