View Full Version : IceCC Siege Tank Tank Turret Question!
Suteki
09-02-2006, 2:22 PM
I've tried for the past 8 hours or so, to do this on my own...it seems that it is not possible. What my question is. If I use Starforge and go to the unused Section and put down an Edmund Duke Turret (Tank Mode) and try to play it will crash starcraft. So I've tried to change the script of the tank turret using IceCC in a way to make it so it doesnt crash....but no matter what I do it crashes. I've noticed that a Tank Base uses the Unknown23 in the header and its corrosponding action is "playframno 12
imgol0d 251 2 0 # SiegeTankTankTurret (terran\tankt.grp)" Meaning it is telling the base to Add the turret. How do I make a turret Add the base, if the turret doesn't allow or "use" the unknown23 in it's header, and when I've tried to create one myself for it, it still crashes. So how Do I make it so it doesn't crash using ONLY IceCC. I just don't want it to crash, so if it doesn't even need a base for it that's fine, I just want to stop the crashing of it. Thanks A Lot In Advanced.
Oh, By The Way, Hi, I'm Suteki ^^
Holocaust
09-02-2006, 2:43 PM
Well, it's a turret
It's the weapon only, of course it'll crash
Try putting the original Edmund Duke from the terrans hero section instead
imgol0d 251 2 0 # SiegeTankTankTurret (terran\tankt.grp
Yeah, this is the grp file for the turret, all units have something like htis
Welcome to WB
Suteki
09-02-2006, 2:49 PM
So there is absolutly no way to make the turret Add the base? if it had the base it wouldn't crash correct?
I know I could just switch them, but this is like a challange for me to find out how to get this to work. Originaly I was gunna just have the turret be a non moving Defence type of thing, but since it crashes I dunno if I can use that Idea now. Unless I could get it to add the base or somthing.
Holocaust
09-02-2006, 3:05 PM
I think there is a way, but nobody I've known here has ever achieved it. I think it requires something to do with .LO files.
If a turret had a base, it wouldn't crash, yes
Suteki
09-02-2006, 3:10 PM
I'll try looking into information on those files, and post my findings/questions lol. Thanks you were very helpful ^_^
Suteki
09-02-2006, 4:09 PM
Wow, it appears as though no one knows Sh!t on these files. I found a program called Lo?Edit...but there is not 1 refrence on how to use this program, and I can't really figure it out from what I've messed with on it.
BroodKiller
09-02-2006, 4:42 PM
First - the tank turret is subunit (property controlled via units.dat), and this means it requires a 'base' unit to operate properly, because the game engine programmatically looks for it, and if it doesn't find it - Kaboom! Uncheck this flag (using DatEdit, AZero, whatever you want) and then experiment with it. You may also be required to alter its images.dat entry, to make it work properly. Although I haven't done it before, I think this is feasible.
Second - Lo? files are coordinate maps. BST made a nice explanation about them here:
http://www.warboards.org/showpost.php?p=280933
and DiscipleOfAdun has pulled out some good description here (and in another post in the same thread):
http://www.staredit.net/index.php?showtopic=33333
If you have any more questions, then fire'em away :)
Suteki
09-02-2006, 6:19 PM
lol I converted the unit.dat into a text file and edmund base subunit was 24, then 228, and 0. So I changed the turret to that and converted it back into a units.dat and ran the mpq. Well I started a game and as soon as it started I had a nice crash. So whatever it was I changed it must not of been the right thing to do xD
I found the tank.lol file and I did random stuff to it in Lo?Edit. I made it only have 17 frames and then saved it all and everything, played a melee game real fast, made a tank.....And it did absolutley Nothing to the tank whatsoever, and then I tried it on the tank turret, and nothing happend other then the game crashing when seeing the tank turret. >_< I think this is a mod that is over my head. That or it is impossible to make a tank turret non crashing.
Suteki
09-03-2006, 1:35 AM
Ok this is weird. I changed the turret in the iscript into a flag. Now when I started it, you could see the flag explode off the top of the tank, and then I could just move the topless tank around fine without crashing or anything, so then I tried just the turret, and started the game and i looked at the turret, and it crashed....so why would it blow up while on the tank, but if put alone wouldn't blow up at the begining of the game? Doesn't make sence.
So if I can Take Away the turret using iscript, I don't see why I can't Give the turret a base, which I don't know how to do.
vBulletin® v3.7.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.