Hi there people I'm Evil Beaver and I'm having problems with my Sons of Korhal mod/campaign (well i'm not sure if i should i call it a total conversion because it will bring back features from starcraft's alpha and beta! )
OK i' making the buildings tileset dependent! I already made all buildings grps BUT shadows are missplaced,sc crashes the when academy gets on fire and other buggy stuff.
My guess is that i must edit the lo? files...well i edited it a bit(like setting the frames to 16 and copying them) for the suplly depot....and it didnt work.
[attachmentid=13639]
Any suggestions?
Cick Here to view some cool stuff which i'm making!not much...i followed the istructions to make the grps....but what EXACTLY i have to do with that LoEdit?
AN example:
the supply depot has 2 on the "number of images" thing in loedit-well since my grps have 16 i changed it and copeid the info to all of em.I also created the 16 frame shadows or the supply depots
THIS DIDN'T WORK
You don't need to use LoEdit at all, to my mind. Explain, In which way are the shadows misplaced? I mean, if you changed the GRP of the main graphics, and just created the shadow for it, the main graphics would be tile-dependant, but the shadow will not. I'm not entrirely sure, but I guess you can make the overlay, even the one that "follow the main graphics" to be tile-dependant just the same way you did for the main graphics.
And what did yuo do to the academy, be precise?
I followed the tutorial.
I made those 8 folders,copied each frame to them,compiled all to a grp. (i did this with the main graphic and the shadow)
The graphic that needs to be changed is the 3rd(the ashworld one)all other are copies of the original.
Then i edited the iscript ( just added framfile)
sc just crashes when the academy is damaged and gets on fire
It might be something wrong with the unit wireframe or a animation could be missing from the building (a example would be the burning animation)
Id sugguest checking if your buildings use the same number of animations in the grp file and making sure your not using a invalid color that crashes with fire
the skins that im using are made by blizzard(!!!)
The fire is just and overlay put by iscript ontop of the building
Is it only the Academy that crashes? No other building? What else about it did you change?
You should post its IceCC decompilation of the Iscript and maybe one of us could spot the problem. Most other things that I can think of would affect more than just the academy, so I think that's where the problem is.
Actually, I think that the LO files are the root of your problem here. I don't understand LO files fully, but from what I've seen, it just has a number of draw offsets listed in order, and my hypothesis is you need at least the same number of offsets in your LO file as you have in your GRP file. When you added more frames to make the building tileset dependent, the LO file would straight away have less draw offsets than the GRP file has frames. That means, for example, when StarCraft is playing frame 13, it looks for LO entry 13, but your LO file might only have 5 offsets in it, so offset 13 does not exist and StarCraft crashes.
So, what I expect you would have to do would be to edit your LO file and keep adding offsets of the same pattern into the file until you have enough offsets in the LO file to match the number of frames you have in your GRP file.
This is just my hypothesis though, again, I can't say I've actually done a lot of LO editing.
i dont know how exactly should i use LoEdit :as i said i edited the number of images tab(and copied it)
What is "number of offsets", as a start what is an offset
It's a very general concept. Think of an offset as of an address where something is stored. For example, if the posts from this topic would be organized chronologically (according to their time of creation) and the first post would be given number 1, the second - 2 etc etc etc, then you can think of this ordinal number as a sort of 'offset' by which you can reference precisely the post that you want.
Maybe it's a vague example....I guess it would be best just to stick to the very first phrase here
So, coming back to reality, the 'number of offsets' is just the number of specific addresses for the game to reference through. It's very fonctionality depends on the context however...
Well, what I meant was, a LO file contains offsets, right? But they're positional offsets in this case, like it says that the Dropship's engine glow should be at horizontal offset -8, -6 for frame 4, and -10, -7 for frame 5 and things like that (I just made those numbers up.) So, the LO file just has a whole lot of offsets in it. Each pair of offsets could also be called an entry if you're more familiar with that terminology. Each pair of offsets/each entry refers to a particular frame, and what I'm saying is I think you just need to add more offset pairs/entries to the LO file so that there are just as many entries in the LO file as there are in the GRP file.
I did some tests on iscript:
the playframfile command can take effect only ONCE! that's why it messes up my frames!So the buildings that have more that 2 frames cat be tileset dependent
(i guess the protoss buildings are perfect since they have only one frame)
I fixed the buildings-now they dont crash when they get on fire.
anywayz thanks for the help guys
>TOPIC CLOSED<
PS:check out my destroyable trees
My Sons of Korhal MODQUOTE(TheEvilBeaVer @ Sep 18 2005, 01:38 PM)
>TOPIC CLOSED<
I'm guessing you want this locked?