ed-Dutchie 0 Posted September 29, 2005 Hi, I'm Bizzy with on an Mfcti mission. but I stumble in to somthing I dont understand. And I hoop that one of you can help me out on this one. The question: I put in my new Units and that works oke. But this thing down below I dont understand because it is not in the same order as I put in my Units. ( Or as the standard Mfcti units it self.) Now I no that you have an teamlaeder, and I bed that he stands in this list to. I only want to no how this is working plus wat is te working order of it? This only for the units the rest is weapons and flare's that one I understand. But I dont Understand the Units bit. So help me out PLZ. This is standing in the Main\  Stats.file. ( The standard Mfcti Units) ----------------------------------------------------------- customTemplate = 0 ;West G3Type = 1 G36Type = 2 M16Type = 3 M16GLType = 4 M21Type = 5 M4Type = 6 M60MGType = 7 MM1Type = 8 MP5Type = 9 SteyrType = 10 XMSType = 11 AAType = 1 ATType = 2 laserDesignatorType = 3 LAWType = 4 berettaType = 1 glockType = 2 ;East GL6G30Type = 1 AK47Type = 2 AK47GLType = 3 AK74Type = 4 AK74GLType = 5 AK74SUType = 6 AK101Type = 7 bizonType = 8 PKType = 9 DragunovType = 10 skorpianType = 1 tokarevType = 2 ;Both flareType = 0 flareGreenType = 1 flareRedType = 2 flareYellowType = 3 grenadeType = 4 grenadeShellType = 5 mineType = 6 rifleMortarType = 7 bombType = 8 smokeGrenadeType = 9 smokeGrenadeGreenType = 10 smokeGrenadeRedType = 11 ----------------------------------------------------------- I hoop that you can help me out on this one. Thank's in front for it. Greetings ed-Dutchie and hopefully till hearing's  Share this post Link to post Share on other sites
ed-Dutchie 0 Posted September 29, 2005 I found somthing about it. But I'm not sure that I understand it. See here. Quote[/b] ]The templates have not been defined for your new weapons. For example the old template still refers to M16Type which no longer exists. For now you can just blank out the templates and then add in new ones when you feel like it. Here is what it would look like: westTemplateNames = [Localize "STRCUSTOM"] westTemplatePrimary = [0] westTemplatePrimaryAmmo = [0] westTemplateSecondary = [0] westTemplateSecondaryAmmo = [0] westTemplateSidearms = [0] westTemplateMisc = [0] westTemplateAmount = [0] westTemplateMisc1 = [0] westTemplateAmount1 = [0] westTemplateCosts = [] This will just leave the custom template. You will also want to do the same for the east. Wat I understand is that I have to fill in the Templates all of them. But wat I dont understand is were do I put these so cald template files? Do this belong in the [ Main \ Stat] bit of Mfcti or do you have to put it somewere els? in Mfcti Plaese help me out. if you will HELP HELP HELP Greetings ed-Dutchie  and naturaly THANK'S in front for it. But do help me out Share this post Link to post Share on other sites
mahuja 12 Posted September 29, 2005 What you're trying to do (as shown by what part of the file you're working on) is to add weapons so that the player can pick those weapons for his own loadout at the barracks. Templates are the ones that allows you to quickly select a predefined loadout - the custom template is bound to the "save to custom" button in that loadout screen - but doesn't change what weapons are available. There are other arrays in there which have names similar to westweaponscost or such - it's been a while since I messed around in those files. There is one array for each attribute, name(displayed), cost, name(identifier), ammoname and possibly some others I don't remember. Add an entry to the end of each of those arrays, and a new weapons will be buyable. Share this post Link to post Share on other sites
ed-Dutchie 0 Posted September 29, 2005  Hi, MaHuJa. One thing first, yes I have to laugh at myself. Becaus it is also an long time ago that I stumble with the MFCTI file's. And the most odd thing is that I forget these little thing's. Well you no the saying, One day whitout an Laugh is one day witout living. HA,HA. How could I be sO Stu..d How are things going bay the way? I dont see you anymore on the Mfcti Site. The forum of it is very still these days. not much news on it ( bay-the-way). But lucky for me that you bring me back on the right track. In the mean time I solved the First thing out myself and exactly at that same moment I Understand that I ask un very Stu..d Question.  But the custom template Loadout was new for me! I have my Rumble with it but didend figure that one out yet. If you have not help me on this, well I never figured out. (I think.) So Thank's for the Great big help on it. Greetings ed-Dutchie  And when the Mfcti mission is ready for testing I will post it. Thanks and Thanks and Thanks Share this post Link to post Share on other sites