ramazoti 1 Posted December 4, 2012 now i mange to do the palms from a library i found over internet i think in BI .. I manged to re texture them successfully ..in visitor every thing looks good and fine but in game after binaries in the iditor i can see that there is a tree or palm but in side the game after pressing view there is nothing and there is an error with the same name of my palms but showing only palm no 2 ... here is my config file : class CfgPatches { class Katherine Palms { units[] = { "Land_Kat_palm_01", "Land_Kat_palm_02", "Land_Kat_palm_03", "Land_Kat_palm_04", }; "Land_Kat_palm_10", weapons[] = {}; requiredVersion = 0.1; requiredaddons[] = {"CAData","CABuildings"}; }; }; class cfgVehicleClasses { class Kat Plants { displayName = "katherine Palms"; }; }; class CfgVehicles { class All{}; class Static: All{}; class NonStrategic: Static{}; class House: NonStrategic{}; class Static; class Kat_plants_base : Static { displayname = ""; accuracy = 0.1; model = ""; namesound = ""; animated = 0; simulation = "house"; cost = 0; armor = 300; ladders[] = {}; placement = "slope"; }; class Kat_plants : Kat_plants_base { destrtype = "destructtree"; accuracy = 1000; placement = "vertical"; }; class Land_Kat_palm_01 : Kat_plants { scope = 2; vehicleclass = "Kat_pla"; displayname = "palm_01"; model = "\Omar Lib\Palms\palm_01.p3d"; }; class Land_Kat_palm_02 : shez_plants { scope = 2; vehicleclass = "Kat_pla"; displayname = "palm_02"; model = "\Omar Lib\Palms\palm_02.p3d"; }; class Land_Kat_palm_03 : shez_plants { scope = 2; vehicleclass = "Kat_pla"; displayname = "palm_03"; model = "\Omar Lib\Palms\palm_03.p3d"; }; class Land_Kat_palm_04 : Kat_plants { scope = 2; vehicleclass = "Kat_pla"; displayname = "palm_04"; model = "\Omar Lib\Palms\palm_04.p3d"; }; class Land_shez_palm_10 : Kat_plants { scope = 2; vehicleclass = "Kat_pla"; displayname = "palm_10"; model = "\Omar Lib\Palms\palm_10.p3d"; }; }; and here is my model.cfg class CfgModels { class Default { sections[]={}; sectionsInherit=""; }; class palm_01: Default { }; class palm_02: Default { }; class palm_03: Default { }; class palm_04: Default { }; class palm_10: Default { }; class Kat_palm: palm_01 { skeletonName="Kat_palmSkeleton"; class Animations { }; }; }; can any one till me what's wrong? and give me a model config file i can work on.. thanx Omar Share this post Link to post Share on other sites
mr burns 132 Posted December 4, 2012 (edited) Try like this (untested): class CfgPatches { class Katherine_Palms { //never, never, never, never (!) make classnames with spaces!! units[] = {"Land_Kat_palm_01","Land_Kat_palm_02","Land_Kat_palm_03","Land_Kat_palm_04","Land_Kat_palm_10"}; weapons[] = {}; requiredVersion = 0.1; requiredAddons[] = {"CAData","CABuildings"}; }; }; class cfgVehicleClasses { class Kat_Plants { //never, never, never, never (!) make classnames with spaces!! displayName = "katherine Palms"; }; }; class CfgVehicles { /*extern*/ class Static; class Kat_plants_base : Static { scope = 1; vehicleclass = "Kat_pla"; icon = "\ca\data\data\Unknown_object.paa"; }; class Land_Kat_palm_01 : Kat_plants_base { scope = 2; displayname = "palm_01"; model = "\Omar Lib\Palms\palm_01.p3d"; }; class Land_Kat_palm_02 : Kat_plants_base { scope = 2; displayname = "palm_02"; model = "\Omar Lib\Palms\palm_02.p3d"; }; class Land_Kat_palm_03 : Kat_plants_base { scope = 2; displayname = "palm_03"; model = "\Omar Lib\Palms\palm_03.p3d"; }; class Land_Kat_palm_04 : Kat_plants_base { scope = 2; displayname = "palm_04"; model = "\Omar Lib\Palms\palm_04.p3d"; }; class Land_Kat_palm_10 : Kat_plants_base { scope = 2; displayname = "palm_10"; model = "\Omar Lib\Palms\palm_10.p3d"; }; }; model.cfg is only needed for things that got animations going on, so you can skip that. Edited December 4, 2012 by Mr Burns Share this post Link to post Share on other sites
ramazoti 1 Posted December 4, 2012 Thank you so much i'll try it and I'll feed back and I think I'll gona need help with my 1st retextured model of Egyptian marin I got this BI basic models and I want to do my own Egyptian mod Share this post Link to post Share on other sites
ramazoti 1 Posted December 5, 2012 it didn't work mate i copy paste the scriüt and it didn't work the same problem ---------- Post added at 01:46 ---------- Previous post was at 01:42 ---------- /*extern*/ class Static; what the meaning of this? Share this post Link to post Share on other sites
mr burns 132 Posted December 6, 2012 (edited) Can´t tell what went wrong, but if you applied it with the same level of attention as your initial post showed, it might be a typo somewhere (check your paths) ;) Other than that you can try changing the baseclass static to building (which would be kinda wrong for trees, but okay for testing). /*extern*/ class static; (/*extern*/ has no function and is solely there for cosmetic reasons) This line must be called for inheritance, it sort of announces in the config that you are going to use its base attributes. Without it you wouldn´t be able to derive your objects from the class static. You might want to upload your addon for others with a bit of modeling understanding to have a closer look at it. Edited December 6, 2012 by Mr Burns Share this post Link to post Share on other sites