Grazgul Posted June 13, 2013 Share Posted June 13, 2013 I've been tinkering with the files (using excell and notepad++) and I've got the hang of how most the files work. There is still a few items I'm unsure of and wether certain things are hard coded into the game: Buildings Where can I define functionality? eg if I wanted to make a new building, how can I give it the heal troops, living quarter or hangar properties Aircraft Can I make a new type of missile. I wanted another type of Chain Gun, but I'm unsure of how to get the game to recognize that there is a new slot type By type of chain gun, I mean I wanted 5 categories of weapons: Light Missile, Heavy Missile, Super Missile, Chain Gun, Hvy Chain Gun. Research I was tinkering with the idea of 'upgrading' a weapon type. The example is: Laser & Plasma weapons have more ammunition. The way I wanted to go about this: Create a new Laser Weapon (identical to the old one with more ammo) and have it over-write the old Laser Weapon. Does anyone know how to go about doing this? Quote Link to comment Share on other sites More sharing options...
lightgemini Posted June 14, 2013 Share Posted June 14, 2013 (edited) Aircraft You should be able to make a new weapon then list it and modify the aircrafts entrys to add the weapon to the list of usable weps for that aircraft. Research Partially posible. You need to créate a new research entry with conditions to appear as resercheable, what ítems it unlocks (your new lasers) and you can also make it to repalce old lasers for you, as it happens with grenades and aircraft missiles. The checklist on what steps you need to take is rather long though. You need to edit a lot of files. For the lasers, you should make the new weapons on "weapons_gc.xml" (copy paste edit clipsize in this case) then add the lasers in "weapons.xml", then add them in "ítems.xml". At this point im not sure you can actually replace current lasers with the new ones since I didnt see any way to get the count of your current stocks. You either allow manufacture of new lasers or make then unlimited and simply replace. Or give a fixed amount of new lasers when researched, like getting 6 rifles when research is done. Either way you choose next is to add a new entry in "researches.xml" with the conditions for the research to be available, and what it does when finished.Then dont forget to add another entry on "manufactures.xml". What is left is to add entries in "strings.xml" and "xenopedia.xml" and make a xenopedia image to be shown when research is finished. Edited June 14, 2013 by lightgemini Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.