Page 1 of 1

TGA crash

Posted: Wed Jun 29, 2011 11:04 pm
by yuke5
Preface: I'm making a custom map, its file name is OIL. I downloaded some custom skins, which I'm allowed to use in my map, and replaced the rep tga files I wanted to change. I did not create any new classes, and I did put in the "dc:". When I munged I made sure to select "rep" from the drop-down menu, and I made sure common was selected. Battlefront II loads fine...my map loads...then BOOM, the screen cuts to black and I crash to my desktop. I did not quite get to editing the GCW era, and that era runs fine.
Side Note: My OS is windows 7.

ReadDataFile segment here:
Hidden/Spoiler:
ReadDataFile("sound\\yav.lvl;yav1cw")
ReadDataFile("dc:SIDE\\rep.lvl",
"rep_inf_ep3_rifleman",
"rep_inf_ep3_rocketeer",
"rep_inf_ep3_engineer",
"rep_inf_ep3_sniper",
"rep_inf_ep3_officer",
"rep_inf_ep3_jettrooper",
"rep_hover_fightertank",
"rep_hero_cloakedanakin",
"rep_hover_barcspeeder")
ReadDataFile("SIDE\\cis.lvl",
"cis_inf_rifleman",
"cis_inf_rocketeer",
"cis_inf_engineer",
"cis_inf_sniper",
"cis_inf_officer",
"cis_inf_droideka",
"cis_hero_grievous",
"cis_hover_aat")


ReadDataFile("SIDE\\tur.lvl",
"tur_bldg_laser",
"tur_bldg_tower")

SetupTeams{
rep = {
team = REP,
units = 20,
reinforcements = 150,
soldier = { "rep_inf_ep3_rifleman",9, 25},
assault = { "rep_inf_ep3_rocketeer",1, 4},
engineer = { "rep_inf_ep3_engineer",1, 4},
sniper = { "rep_inf_ep3_sniper",1, 4},
officer = {"rep_inf_ep3_officer",1, 4},
special = { "rep_inf_ep3_jettrooper",1, 4},

},
cis = {
team = CIS,
units = 20,
reinforcements = 150,
soldier = { "cis_inf_rifleman",9, 25},
assault = { "cis_inf_rocketeer",1, 4},
engineer = { "cis_inf_engineer",1, 4},
sniper = { "cis_inf_sniper",1, 4},
officer = {"cis_inf_officer",1, 4},
special = { "cis_inf_droideka",1, 4},
}
}

SetHeroClass(CIS, "cis_hero_darthmaul")
SetHeroClass(REP, "rep_hero_anakin")

Re: TGA crash

Posted: Wed Jun 29, 2011 11:48 pm
by FragMe!
Did you get any errors during the munge?
TGA errors are normally caused by wrong size or RLE compression

Re: TGA crash

Posted: Thu Jun 30, 2011 3:01 am
by yuke5
I'm afraid I don't know what you mean. Sometimes after I munge my level I get warning, but no erros. The warnings are usually about object geomerty. Are you looking for something else?

Re: TGA crash

Posted: Thu Jun 30, 2011 8:01 am
by FragMe!
With bad textures you will get "must be power of two" or "format not supported" kind of errors.

You could also post your error log, see the FAQ on how to generate one.