First off, would anybody mind explaining to me the differences and similarities between LOL and LO? files? Or are they the same thing?
Primary question:
Could somebody give me a rundown on how I would implement a LO? file for the Terran Civilian? I am trying to work it so that the unit can carry minerals and gas tanks (and power ups too I suppose) without crashing. I remember seeing this done once in a different mod and I thought it would be quite neat if I were to implement this too.
With a LO? file, the ? can be replaced by a number of letters, so you'll see .lol, .loo, etc. You can change the .lo? file a unit uses in the images.dat entry. You'll undoubtedly also have to do a bit of iscripting in addition to that to make civilians mine minerals, though.
In that case, I will try to get the Civilian to use the SCV's LO? file and the Civilian to use a plain work animation. Thanks.
I think I've gotten it to work, up to the point of carrying the resource itself. However, it seems that the moving animation while carrying a mineral will trigger a crash. Could anybody help with this?
(Bleh, double post.)
It seems that the Civilian's idle animation crashes occasionally too. Or maybe that was something else...
EDIT
Oh dear, it appears that I can't simply use the SCV's LOO file. It's probably because of the number of frames that are different.
EDIT
I need some advice/knowledge: in the images.tbl file, can I make a new entry that can be read through DatEdit? Right now in line 929 (an added line) of TblEdit, I have typed "terran\civilian.loo" and for DatEdit, the Civilian's Image's Special entry has the value of 930 (since DatEdit uses 0 for NONE). However, when I try to run with the 930 setting in DatEdit, StarCraft crashes, saying that it cannot read "unit\" or something properly. Could anybody help with this dilemma? More particularly, have I reached/broken a limit with the entries somewhere? Do I have to replace a TBL entry instead of adding one? Please help.
Post has been edited 2 time(s), last time on Feb 14 2009, 11:50 pm by New-.Hydrolisk.
F*ck, StarCraft keeps saying:
The problem occured while trying to load a file
unit\
The system cannot find the file specified
SOLVEDI replaced one of the Dropship's LO files instead of trying to refer to 929/930.