Page 1 of 1

A problem creating sides!!

Posted: Wed Sep 14, 2005 9:03 am
by isodiur
hello I'm Isodiur and its my first post here! I've been reading and looking a lot of forums searching for a solution, but I didn't find it.
I can make maps (I wish I could load one in this page soon), but i got some problems creating new sides. Well, I konw how to create new sides the problem is the following:

for example i create a new clon pilot, with the weapons, new characteristics (in the .odf file), as life, munition, etc..
but the tga file doesn't works. I mean, I take the .tga file (called rep_inf_pilot) and I open with a draw program as tga, i work in it and i change the colors (white and red for example). well later I save it with the same name (rep_inf_pilot) and I put it in the msh folder of my side. ok, i clean and munge the map. And the new side pilot apears perfectly, with the new characteristics more life and weapons, but his aparience still being as a normal pilot (white and yellow), and not (red and white) the file is in the MSH folder in my sides folder!!!

JUST WHYYY?????

why the the program uses the normal tga file instead of my new tga file called idem and put it in the msh folder where it correspond being???

If i change the msh name file, and the lines of the odf file (where calls msh files) the situation is the same. The pilot is yellow and white as usual.

And if I change the name of tga files and the lines in the msh files (where call tga files), the game crashes. And if I make a SPtest, it says that the geometry file is missing!

what i have to do??Whats wrong? I think the lua file its right.Anyway I accept any offer.
I konw its dificult to answer by mail, I'll be very gratefull if somebody could answer me with details how to do it.

I've seen the psyc0fred tut and the saturnV page but I havent find the answer to my problem! sorry;)

Advanced thanks:

Isodiur of Imperial force spain *Im 4ce.eS

RE: A problem creating sides!!

Posted: Wed Sep 14, 2005 9:57 am
by Lord-Bandu
Welcome.

Are you sure the clone inf pilot tga is the right tga file? have a look at the others ... i have a feeling there is a rep_inf_medic.tga which is the actual tga for it .

Other than that I dont know .


ps. can you resize your avatar pic? (make it smaller) thanks

Posted: Wed Sep 14, 2005 9:58 am
by Bobafett16
i think this is your problem,did u put dc: in front of your side?

here is what u have to do.>>ReadDataFile("dc:SIDE\\rep.lvl",
u see u have to put dc: in front of SIDE that way it looks in your msh folder.i think that is all and should fix your problem. :P :)
if u put your skin in the right place :wink:

Posted: Wed Sep 14, 2005 9:59 am
by Lord-Bandu
but his ODF's are taking effect so I think he has the dc: in his lua

Posted: Wed Sep 14, 2005 10:02 am
by Bobafett16
i don't need to put dc: in front of side to make my ODF's work,they work fine and i have no dc: in front of the SIDE,the only time i use it is if i make a change to the msh folder.

Posted: Wed Sep 14, 2005 10:47 am
by isodiur
Sorry fot the abatar!
well I got dc in frond of side of course! and medic is another tga, but anyway it must works too! The side works perfect, but the tga image is the pilot (yellow and white) and that i want i that uses my tga image of pilot!
more offers please ;)

Posted: Wed Sep 14, 2005 11:15 am
by Jawa_Killer
if the odf WOULD call the MSH and the tga file would be wrong the skin would be WHITE and not like the shipped one right?Oo

Posted: Wed Sep 14, 2005 12:31 pm
by Leviathan

Posted: Wed Sep 14, 2005 12:37 pm
by Lord-Bandu
Bobafett16 wrote:i don't need to put dc: in front of side to make my ODF's work,they work fine and i have no dc: in front of the SIDE,the only time i use it is if i make a change to the msh folder.

but how would your lua know to take the odf properties from your new side folder ?

Posted: Sun Sep 18, 2005 5:03 pm
by isodiur
What do u mean exactly psychofred?? In my .lua file I got that:

-- Start sidelvls
ReadDataFile("SIDE\\cis.lvl",
"cis_inf_basic",
"cis_inf_countdooku",
"cis_inf_droideka");
ReadDataFile("dc:SIDE\\pilot.lvl",
"inf_clone_pilot");
ReadDataFile("SIDE\\rep.lvl",
"rep_inf_basic",
"rep_inf_macewindu",
"rep_inf_jet_trooper");
--end sidelvls
--start loadouts
SetTeamName(CIS, "CIS")
SetTeamIcon(CIS, "cis_icon")
AddUnitClass(CIS, "cis_inf_battledroid",1)
AddUnitClass(CIS, "cis_inf_assault",10)
AddUnitClass(CIS, "cis_inf_pilotdroid",2)
AddUnitClass(CIS, "cis_inf_assassindroid",2)
AddUnitClass(CIS, "cis_inf_droideka",1)
SetHeroClass(CIS, "cis_inf_countdooku")
SetTeamName(REP, "Republic")
SetTeamIcon(REP, "rep_icon")
AddUnitClass(REP, "piloto_clon_piloto",10)
AddUnitClass(REP, "rep_inf_arc_trooper",1)
AddUnitClass(REP, "rep_inf_clone_pilot",2)
AddUnitClass(REP, "rep_inf_clone_sharpshooter",2)
AddUnitClass(REP, "rep_inf_jet_trooper",1)
SetHeroClass(REP, "rep_inf_macewindu")
--end loadouts

Is that right? or not? I don't understand at all what you mean. How can I do to just load my new side and not the rep.lvl?

Could you explain it to me a little please? Where is that of (rep.lvl)? in my .lua file?

May I change something in my odf file??
(In my odf file, I got that:
ClassLabel = "soldier"
GeometryName = "rep_inf_piloto.msh" (new name of my .msh files)


[Properties]
FootWaterSplashEffect = "watersplash_sm"
WaterSplashEffect = "watersplash_md"
WakeWaterSplashEffect = "watersplash_wade"

Label = "Republic Pilot"
UnitType = "pilot"
IconTexture = "rep_pilot_icon"
MapTexture = "troop_icon"
MapScale = 1.4

GeometryName = "rep_inf_piloto" (new name of my .msh files)
GeometryLowRes = "rep_inf_piloto_low1" (new name of my .msh files)
FirstPerson = "REP\reppilot;rep_1st_pilot"
FirstPersonFOV = "70"
ThirdPersonFOV = "65"
AnimationName = "all_inf_snowtrooper"

thats all. If you need more information ask it to me.

Thanks!!

Isodiur

Posted: Sun Sep 18, 2005 6:05 pm
by NegativeSmiley
AddUnitClass(REP, "piloto_clon_piloto",10)

is totally different from

"inf_clone_pilot");

Posted: Sun Sep 18, 2005 6:11 pm
by isodiur
I know, but piloto_clon_piloto is the name of my .odf file. In the AddUnitClass (REP,"(here must be the name of the odf file), and my odf file is called piloto_clon_piloto.odf. So I put that in my .lua file.

But I think that isn't the problem! It must be something diferent!

Posted: Tue Sep 20, 2005 5:09 am
by isodiur
Well I've tried everything and I didn't find the solution! I just don't understand why the side take the original tga, and not the modified tga. it's just that!!! the side works perfect, I mean,... I've changed the live, the munition in odf file and it works, the problem is that the tropper apears with the original tga and not with the modified by me.

Help please! I'm really lost. I promise, if I can the side, I'LL MAKE A TUTORIAL OF MAKE SIDES!!!!!!