Staredit Network > Forums > SC2 Assistance > Topic: Editor Crashing Due to Abilities or Buildings
Editor Crashing Due to Abilities or Buildings
Aug 29 2010, 7:37 am
By: JACofNoIdea  

Aug 29 2010, 7:37 am JACofNoIdea Post #1



I'm making a game with buildings that spawn units on a timer and can be upgraded to other buildings. I made the buttons and upgrade (from one building to another) abilities for about 60 buildings. Nearly every building works, except for 5 of them randomly. For some reason, these 5 buildings, when they have the upgrade abilities added onto them, cause the game to crash before the load into it is complete.

When I remove all abilities from these buildings, the game loads and runs fine. Adding on abilities from working upgrade buildings to these broken buildings makes the game crash on load. Adding on the abilities to upgrade for the broken ones to working ones causes the game to crash before load.

I first remade the abilities for the buildings, that didn't work. I remade the buttons, that didnt work. Then I remade every ability again and that didn't work. I recreated the buildings. I changed their models, I compared the broken abilities and buildings to working ones and there is no difference. I did not make the buildings or abilities any different either.

The upgrade ability I am duplicating is "Lair - Morph Building (Lair -> hive)". I then change the "Ability - Commands +" and "ability - info" to the desired building and button associated with the upgrade. I also change the cost, race, and UI - Alert, if that matters.

There are several abilities that cause buildings to upgrade to the same thing. (i.e I have an "Infested Marine Spawn Upgrade to Marauder Spawn" ability and a "Kerrigan Spawn Upgrade to Marauder Spawn Ability". Both abilities call upon the same buttons, but that doesn't cause the game to crash for these.

A version of the game right before the ability creation works fine. Again, when these buildings don't have abilities they load fine, when they do the game crashes. When the associated abilities are used on other buildings, it crashes.

This is one of the last steps on my map and I have been trying to fix it for all of yesterday and today. If anyone has any ideas (I don't care how absurd) PLEASE PLEASE post.

Thank you.

EDIT: Deleting the upgrades to the broken buildings allows for the broken buildings to use their upgrades just fine (no crashing)for some reason. There is then the issue of those lower tier upgrades though.

Post has been edited 1 time(s), last time on Aug 29 2010, 9:05 am by JACofNoIdea.



None.

Aug 29 2010, 12:54 pm TiKels Post #2



This is as absurd as it can get, but I heard a rumor that campaign dependencies can screw up your map. Especially if they are in the "wrong order".

Sorry I couldn't help you any more than that.



"If a topic that clearly interest noone needs to be closed to underline the "we don't want this here" message, is up to debate."

-NudeRaider

Aug 29 2010, 7:31 pm JACofNoIdea Post #3



I actually had an issue with those earlier on lol. The units would only sometimes load and sometimes only would load in the game and not in the editor. But I got the dependencies in the right order (the added on campaign ones need to be on the top of the list).



None.

Aug 29 2010, 8:51 pm Temp Post #4



Hard to tell what could be causing this. I would delete the buildings that do not work and recreate them (including the upgrades to them).



None.

Aug 29 2010, 9:28 pm JACofNoIdea Post #5



Quote from Temp
Hard to tell what could be causing this. I would delete the buildings that do not work and recreate them (including the upgrades to them).

I've remade the upgrades, the buildings, the buttons, everything several times with no luck. I've compared line by line the working and not working and there is no difference in creation or execution. I've tried creating abilities from scratch and duplicating abilities. I've tried changing actors, models, the way I create buildings. Nothing works.



None.

Aug 29 2010, 9:30 pm Temp Post #6



Ok What morphs cause the crash? (Morphing from what to what). Also try to create a new map with just one of the morphs thats causing the crash.



None.

Aug 29 2010, 9:41 pm JACofNoIdea Post #7



Quote from Temp
Ok What morphs cause the crash? (Morphing from what to what). Also try to create a new map with just one of the morphs thats causing the crash.

I'ts changed due to different creations from old saves, but currently the
- omegalisk spawn upgrading to firebat, marauder, and marauder dkt doesn't work
- Zergling spawn to maar spawn
- Swarmling spawn to maar spawn\
- Firebat spawn to miner and vulture

There are 2 other buildings which both upgrade to miner and vulture and they work fine.
There is also another building which upgrades to maaar (and other buildings) and that works fine.

When I had 1 ability for every upgrade to it worked fine.. Like, there was 1 just called Upgrade to firebat rather than having Upgrade X to Firebat and an Upgrade Y to Firebat and another Upgrade Z to Firebat and that 1 was being used on 3 different buildings. but all these upgrades need to cost a different amount so I needed a different ability for each building to upgrade to firebat. And there is the fact that it works to have all these multples on some (though not on others, idk if its the multiples casuing the issue tho).

Could it have anything to do with the events of the upgrade in the actor?

I have the building being upgraded as

Abilmorph ^ finish
MorphFrom X
MorphTo Y
Destroy

The Building its being upgraded to as

Abilmorph ^ finish
MorphFrom X
MorphTo Y
Create

The thing that is confusing me most is , there are a good 55/60 of the buildings/upgrades that work and there is no difference between them and the broken ones.

It works just having the abilities in the game, but when I attach them to the abilities and command cards of the 5 broken buildings is when the game crashes on load.

Post has been edited 2 time(s), last time on Aug 29 2010, 9:48 pm by JACofNoIdea.



None.

Aug 29 2010, 9:49 pm Temp Post #8



The actor events seem fine. What are the actual building changes.



None.

Aug 29 2010, 9:54 pm JACofNoIdea Post #9



Quote from Temp
The actor events seem fine. What are the actual building changes.

Do you mean what are the abilities that I created? If so..,

I've tried both making my own and copying over from "Lair - Morph Building (Lair -> hive)".

I change the default button to (for example) "Upgrade to Firebat Spawn"
I change the Unit it is upgrading to to "Firebat Spawn"

The abilities Upgrade X to Firebat spawn, Upgrade Y to Firebat Spawn and Upgrade Z to firebat spaw would all link the same building and button. I've tried making separate buttons and even separate buildings (just a couple to test) and it wasn't fixed.

In the case of firebat, I would also change the race to terran and the alert to MorphComplete_Terr. I also change the time for the upgrade to 15 seconds for the 3 values that are (on Lair - Morph) 100.



None.

Aug 29 2010, 10:45 pm Temp Post #10



Well if you would like I could take a look at your map. From what you have said I can't see anything wrong.



None.

Aug 29 2010, 10:52 pm JACofNoIdea Post #11



Quote from Temp
Well if you would like I could take a look at your map. From what you have said I can't see anything wrong.

The guy I'm working on the map with said he might have figured a way around it. I'll send you the map if it doesn't work out. Thanks.



None.

Aug 29 2010, 11:26 pm JACofNoIdea Post #12



He didn't ;(, so i msged u it.



None.

Aug 30 2010, 8:52 pm JACofNoIdea Post #13



Err, sorry for the triple post but I found out why this happened.

There is a 32 ability limit put in place on the game...which is ridiculous. I'll have to find out how to do this with galaxyscript or w/e.

EDIT: nm, its 32 per unit. So I still have no idea.

Post has been edited 1 time(s), last time on Aug 30 2010, 10:07 pm by JACofNoIdea.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2024-5-31. : 2:36 pm]
Wing Zero -- Bop em
[2024-5-31. : 2:36 pm]
Wing Zero -- Mods
[2024-5-29. : 9:40 pm]
Ultraviolet -- :wob:
[2024-5-28. : 8:43 am]
TheHappy115 -- Yea, thats the issue. Thanks. It would also explain why my deleted map couldn't get updated. Updated version reduced collision on units (only thing added) since was dodging game (players collide with each other)
[2024-5-28. : 5:26 am]
Ultraviolet -- If so, I'd just focus on getting them on scmscx.com and then you can link to that in the showcase thread for your maps
[2024-5-28. : 5:25 am]
Ultraviolet -- I can't upload my EUD maps, I think the DLDB has some issue with handling them. Are you trying to upload EUD maps?
[2024-5-28. : 2:06 am]
TheHappy115 -- Its been awhile but ever since I requested one of the Maps I posted to be deleted since I couldn't delete it myself (or update it), I haven't been able to upload any more maps. Any reason for that?
[2024-5-26. : 7:14 pm]
Kyradax -- Hi
[2024-5-26. : 5:05 pm]
O)FaRTy1billion[MM] -- :wob:
[2024-5-25. : 9:22 am]
Zycorax -- :wob:
Please log in to shout.


Members Online: Roy