I notice that unused units such as the unused cargo ship is unstable. When I use it, it loads but it crashes after a few seconds. I already edited every stats and AI aspects of units.dat, but to no avail.
I also edited in in Firegraft and gave it the unit property, except for the debug ID, which I have no idea what it is. Although I can guess that this ID is unique for every unit.
My question is... is there a way to make it work without crashing the game?
Make Unused Units work and not crash Starcraft
-
- Terran Barracks Laundry Master
- Posts: 33
- Joined: Tue Apr 24, 2012 9:29 pm
- Falchion
- Zerg Hydralisk Nail Stylist
- Posts: 593
- Joined: Tue Sep 19, 2006 4:32 pm
- Location: Bragança Paulista, Brazil (Da most borin' place in the world)
- Contact:
Re: Make Unused Units work and not crash Starcraft
If you intend on making units walk, fire, turn around or fly without crashing, forget it, you'll need to use IceCC to make it work, and you'll need a VERY good understanding of the code.
Here's a basics on IceCC that Mesk wrote during his time in The Star Alliance (Samods today). Highly recommended, BTW: http://forum.samods.org/index.php?topic=5400.0
Here's a basics on IceCC that Mesk wrote during his time in The Star Alliance (Samods today). Highly recommended, BTW: http://forum.samods.org/index.php?topic=5400.0
-
- Terran Barracks Laundry Master
- Posts: 33
- Joined: Tue Apr 24, 2012 9:29 pm
Re: Make Unused Units work and not crash Starcraft
I did tweak it's iscript. For example the cargo ship. I had it using a duplicate working iscript. It moved for awhile then crashes. I can guess it has something to do with memory... but I'm not sure.
- Falchion
- Zerg Hydralisk Nail Stylist
- Posts: 593
- Joined: Tue Sep 19, 2006 4:32 pm
- Location: Bragança Paulista, Brazil (Da most borin' place in the world)
- Contact:
Re: Make Unused Units work and not crash Starcraft
Well, it must be hardcoded then. If so, it's hopeless, you'll have to figure out on another unit. I've tried to make the Queen attack as a different unit as well and didn't work, so I've had to move on to another unit.
Sad, but true.
Sad, but true.
- Alevice
- Zerg Drone Masseur
- Posts: 373
- Joined: Fri Aug 25, 2006 5:51 pm
Re: Make Unused Units work and not crash Starcraft
Been a while since i last touched anything sc1, but i remember needing to have a valid images.dat with rotation enabled and such.
-
- Terran Barracks Laundry Master
- Posts: 33
- Joined: Tue Apr 24, 2012 9:29 pm
Re: Make Unused Units work and not crash Starcraft
Yup, I already done that. It's still crashing. But I saw something if FG that may seem to be the root of the problem. The Memory ID of the unused unit is always "0". They may be sharing memory and performs illegal operations everytime they are used, thus, causing the crash.
Or it is also possible that FG forces units stored outside of the table to appear when it's not suppose to and this may also cause a crash.
Or it is also possible that FG forces units stored outside of the table to appear when it's not suppose to and this may also cause a crash.