Posted: Fri Apr 23, 2010 1:04 am Post subject:
SW Virtual Weapon Failure
Does anyone Know whats wrong with this code? Trying to create a simulated nuke to replace my old code that doesn't look as good as the real thing. This code was just random inspirational thought on my part.
Buildings, aircraft, and warheads are already in list, the type of crash was a Game exit without an error.
When i tried it, game would crash when building was placed on map. No IE, the game just exited out. _________________ Grab my Map Logic Expansion Pack 5.2 here!
Adds random weather patterns into maps.
More disabled navalyards.
Preplaced Neutral buildings.
Additional new features.
BuildingTypes can spawn an aircraft, but the structure has to have a middle cell. If it's something like 2x2, it will not work. It will either crash or dump out like your game did. QUICK_EDIT
It's a 1X1 building. I'm trying to spawn an invisible aircraft that will shoot a nuke projectile, the projectile will then fall from the sky like a regular nuke. _________________ Grab my Map Logic Expansion Pack 5.2 here!
Adds random weather patterns into maps.
More disabled navalyards.
Preplaced Neutral buildings.
Additional new features.
I found out the cause was my plane's image tag, I feel so stupid. But I gave up code because, "while it works like I want it too," it does not work perfectly... Spawned planes have trouble dropping bombs...... _________________ Grab my Map Logic Expansion Pack 5.2 here!
Adds random weather patterns into maps.
More disabled navalyards.
Preplaced Neutral buildings.
Additional new features.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum