Log in

View Full Version : Which files and directories can be deleted?



Duke John
07-07-2003, 17:15
I'm asking this since I'm modding alot of new units for the LotR mod. The existing units won't play a part in this mod and are thus useless. They're just taking up space (which is sparse on my little HD)and making it difficult for a clear view of the contents of my directories.

So my questions is if I delete the existing units, is it possible to delete all references to them in the Battle, campmap and Textures directories?

Will the game crash if some factions don't have any units?

Thanks, Duke John

Ithaskar Fëarindel
07-07-2003, 23:43
I would be wary of deleting units that use facshields, since this must be hardcoded at some point (how does the game realise that a unit wears a facshield?) Unless you can edit the d.txt in facshields and remove all units there, whether this would work or not http://www.totalwar.org/forum/non-cgi/emoticons/confused.gif

Not sure about the rest, should work so long as you take out all the references to them.

shand994
07-08-2003, 00:54
You could do this but you would have to take them out of the unitprod files. It will crash the game if theyre not removed from there

Lord Krazy
07-10-2003, 00:29
Quote[/b] (Ithaskar Fëarindel @ July 07 2003,23:43)](how does the game realise that a unit wears a facshield?)
If it's of any use , I have noticed that as have many
others http://www.totalwar.org/forum/non-cgi/emoticons/biggrin.gif that the nap units added to any of the facshield
bifs , would end up with shields showing up here and there.
It only happens to units that have floresent colours
on the sprite . Even if it's just one pixel you will
get the shield . So just to make another point before I forget , http://www.totalwar.org/forum/non-cgi/emoticons/smile.gif If I rename the bif to let's say custom1
and make the entries for the new bif
(remember this is the same pallet )
The problem is still there .
Now this is with a bif with a different name
not known to the game previously so it can't be coded http://www.totalwar.org/forum/non-cgi/emoticons/smile.gif
but the pallet is still the same .
To me this implies that the faction colours
are coded in some way for the floresents
to become the faction colours and in turn this his
how the facshields find the victim.

If you have no colours in the pallet that cause this
it does not happen.
LBA tagged all the rgb codes for these
I'll try and find them .

I don't know if that's the score really but
it is something you should think about IMHO .

regards

LK http://www.totalwar.org/forum/non-cgi/emoticons/smokin.gif

Lord Krazy
07-10-2003, 00:49
Duke

I'm not sure about that .
I could tell you a good way to create a less
cofussing file structure but it would lead to
another install and few development folders
that would add several gigs to your hd so I won't
bother . http://www.totalwar.org/forum/non-cgi/emoticons/biggrin.gif

I dont think removing prod entries and unit bifs
is going to be that simple.
If you try and it works let me know .
I'v tried and I got no joy . http://www.totalwar.org/forum/non-cgi/emoticons/frown.gif

LK http://www.totalwar.org/forum/non-cgi/emoticons/smokin.gif

Duke John
07-10-2003, 08:24
I tried, but then the Periods could not be chosen for custom games because the campaigns have the deleted units in their entries. I deleted the entries selected the period and I got a CTD and I gave up.

LK
Thanks for the lesson on faction shields. Now I can be certain that I won't be having trouble with them since I don't use faction colours. And they can be easily located. For example in Paint Shop Pro the faction colours (green and purple) are at the bottom rows of the palette. Select one colour via the palette -> Select the whole image -> Press ctrl+t to get "Remove selected colour" using the foreground colour (which should be green or purple) and tolerance 1 -> If there are no faction colours there should no selection of the selected faction colour.

Cheers, Duke John