Jump to content

Scripting in FC2 ''Invisible .SKINS.''


Recommended Posts

Posted (edited)

i have developed a 3d Model for Flaming Cliffs2 and have started to script the initial .Skins and .LUA files following the thread posted by, (Michelange,) here

 

whilst creating the Mission in {FC2} and assigning the textures correctly to the Aircraft correctly, the model is invisible.

 

Here is what the script looks like,

 

A-10A.lua -

 

ColorSchemes = {

color_scheme("{D7FBDFAC-7CDA-4857-9999-CDC0F2AFD1CA}", _("RSJT1"), 0),

color_scheme("{6D79BC93-FB8D-4EE4-AE1A-AECADB2798E5}", _("RSJT2"), 1),

color_scheme("{6C2CCF81-751B-42F5-93B2-4160B55DD085}", _("RSJT3"), 2),

color_scheme("{06802A89-EC9B-486D-90C3-89C3A91F1309}", _("RSJT4"), 3),

color_scheme("{58430E22-BD3D-4CC3-B2B9-CB7ED57CB7FF}", _("RSJT5"), 4),

color_scheme("{A32B6C33-9C38-4BD0-BBBD-09380BA6A23E}", _("RSJT6"), 5),

color_scheme("{9DF1AFBE-56FD-4E7D-AB73-0731DD4CD720}", _("RSJT7"), 6),

color_scheme("{DB597F88-04FF-40C4-9ADF-83EF6FF46246}", _("Desert1"), 7),

color_scheme("{8FC7F7C0-FD76-4607-85F0-9B19F542DA12}", _("Desert2"), ,

color_scheme("{2C99F172-EAF3-4E49-8020-475E89467C9C}", _("Snow1"), 9),

 

A-10.SKINS

models

{

lod = {"A-10", 1000000};

collision = "A-10-COLLISION";

}

 

argument

{

argument = 70;

 

skin

{

value = 0.0;

material = {"fuse", "Standart", "fuse1.bmp"};

material = {"wings", "Standart", "wings_T.bmp"};

material = {"gear", "Standart", "Wheles_T.bmp"};

material = {"pilot", "Standart", "pilot.bmp"};

material = {"reflect", "Standart", "reflection.bmp"};

material = {"pods", "Standart", "pods.bmp"};

 

}

 

skin

{

value = 0.1;

material = {"fuse", "Standart", "fuse2.bmp"};

material = {"wings", "Standart", "wings_T.bmp"};

material = {"gear", "Standart", "Wheles_T.bmp"};

material = {"pilot", "Standart", "pilot.bmp"};

material = {"reflect", "Standart", "reflection.bmp"};

material = {"pods", "Standart", "pods.bmp"};

 

}

 

skin

{

value = 0.2;

material = {"fuse", "Standart", "fuse3.bmp"};

material = {"wings", "Standart", "wings_T.bmp"};

material = {"gear", "Standart", "Wheles_T.bmp"};

material = {"pilot", "Standart", "pilot.bmp"};

material = {"reflect", "Standart", "reflection.bmp"};

material = {"pods", "Standart", "pods.bmp"};

 

}

 

skin

{

value = 0.3;

material = {"fuse", "Standart", "fuse4.bmp"};

material = {"wings", "Standart", "wings_T.bmp"};

material = {"gear", "Standart", "Wheles_T.bmp"};

material = {"pilot", "Standart", "pilot.bmp"};

material = {"reflect", "Standart", "reflection.bmp"};

material = {"pods", "Standart", "pods.bmp"};

 

}

 

skin

{

value = 0.4;

material = {"fuse", "Standart", "fuse5.bmp"};

material = {"wings", "Standart", "wings_T.bmp"};

material = {"gear", "Standart", "Wheles_T.bmp"};

material = {"pilot", "Standart", "pilot.bmp"};

material = {"reflect", "Standart", "reflection.bmp"};

material = {"pods", "Standart", "pods.bmp"};

 

}

 

skin

{

value = 0.5;

material = {"fuse", "Standart", "fuse6.bmp"};

material = {"wings", "Standart", "wings_T.bmp"};

material = {"gear", "Standart", "Wheles_T.bmp"};

material = {"pilot", "Standart", "pilot.bmp"};

material = {"reflect", "Standart", "reflection.bmp"};

material = {"pods", "Standart", "pods.bmp"};

 

}

 

skin

{

value = 0.6;

material = {"fuse", "Standart", "fuseT.bmp"};

material = {"wings", "Standart", "wings_T2.bmp"};

material = {"gear", "Standart", "Wheles_T.bmp"};

material = {"pilot", "Standart", "pilot.bmp"};

material = {"reflect", "Standart", "reflection.bmp"};

material = {"pods", "Standart", "pods.bmp"};

 

}

 

db_countries.lua

 

country("{EFADDFE6-9360-4523-8CAB-2D74182617FD}", _("USA"), "USA", "USA", "USA.png", 2,

{

Planes =

{

CATID = "{C168A850-3C0B-436a-95B5-C4A015552560}",

Plane =

{

cnt_unit("{8FDB2742-2283-450D-B417-CFC47774E8B6}", "A-10A", {

color_scheme("{06802A89-EC9B-486D-90C3-89C3A91F1309}", "RSJT1"),

color_scheme("{6D79BC93-FB8D-4EE4-AE1A-AECADB2798E5}", "RSJT2"),

color_scheme("{6C2CCF81-751B-42F5-93B2-4160B55DD085}", "RSJT3"),

color_scheme("{58430E22-BD3D-4CC3-B2B9-CB7ED57CB7FF}", "RSJT4"),

color_scheme("{A32B6C33-9C38-4BD0-BBBD-09380BA6A23E}", "RSJT5"),

color_scheme("{9DF1AFBE-56FD-4E7D-AB73-0731DD4CD720}", "RSJT6"),

color_scheme("{DB597F88-04FF-40C4-9ADF-83EF6FF46246}", "RSJT7"),

color_scheme("{8FC7F7C0-FD76-4607-85F0-9B19F542DA12}", "Desert2"),

color_scheme("{2C99F172-EAF3-4E49-8020-475E89467C9C}", "Snow1"),

color_scheme("{D7FBDFAC-7CDA-4857-9999-CDC0F2AFD1CA}", "104th Fighter Wing"),

}),

 

If Anyone can assist me that would be great to hear.

 

Please PM Me if you can help fix this problem '' or Reply to this thread please.

Edited by RSJT#1_Razer
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...