Dibelius 0 Report post Posted August 29, 2007 (edited) Well, after trying a lot to get my mod working with new special powers & upgrades, I'm near at the point to surrender... I edited all relevant files: GlobalData/LogicCommand.xml GlobalData/LogicCommandSet.xml GlobalData/PlayerPowerButtonTemplates.xml GlobalData/SpecialPowerTemplates.xml GlobalData/UnitAbilityButtonTemplates.xml System/PlayerSpellBook.xml {Faction} /Props/{Faction}PowerStore All of these files are included (Type="all"). Of course I added the upgrade/special power to the relevant object which uses it. But when I start the game, upgrade & special power buttons don't appear. Whether it is a player power that should appears normally at the left side or a unit-based ability does not matter. All these buttons are simply missing and so you can't use it of course. I even tried to edit the relevant files in the MOD SDK\CnC3Xml directory + includes to them in my mod.xml ... it didn't work either! So what now? Do you have any ideas or did anyone discover how it works? I'm sure, I did it the right way... but who knows?! thx in advance Dibelius Edited August 29, 2007 by Dibelius Share this post Link to post Share on other sites
Bibber 0 Report post Posted August 30, 2007 Is there no one to help us? Share this post Link to post Share on other sites
mastermind 0 Report post Posted August 30, 2007 Special powers can be done, I've done it. Haven't tried upgrades yet, but I'm sure they're doable. I have special abilities on my tutorial list, I just haven't had time to write it. Share this post Link to post Share on other sites
Bibber 0 Report post Posted August 30, 2007 (edited) Well, we have a new faction. And simple things like the "Pack to MCV"-Ability of the new construction yard don't work. So can you explain, why? If we use old command buttons (e.g. of Nod) it works. But we can't create new ones. I attached a sample about what I mean (don't forget to copy the "data\ini\playertemplate.ini" into your BIG file). If you are able make the "Pack to MCV"-Ability work. please edit this sample and upload it here. SampleFaction.zip Edited August 30, 2007 by Bibber Share this post Link to post Share on other sites
Dibelius 0 Report post Posted August 30, 2007 nice to hear, someone got this thing working. :) could you explain in short form what you've done? (or edit Bibbers example mod?) Share this post Link to post Share on other sites
henford 0 Report post Posted August 31, 2007 Can we have back the old Generals INIs please? Share this post Link to post Share on other sites
BlckWyerve 0 Report post Posted August 31, 2007 No. Jesus christ, its not hard to figure out. Share this post Link to post Share on other sites
henford 0 Report post Posted August 31, 2007 i concur, i say it is. Share this post Link to post Share on other sites
Bibber 0 Report post Posted August 31, 2007 Back to topic, guys! Share this post Link to post Share on other sites
Dibelius 0 Report post Posted August 31, 2007 No. Jesus christ, its not hard to figure out. well... then be smart and explain how to do it for a new faction ;) I'm sure, you can easily edit existing stuff of all 3 factions. but what about new content? Share this post Link to post Share on other sites
mastermind 0 Report post Posted August 31, 2007 (edited) Long Version: http://www.cnc3.net/item-146?addview Short Version: Copy the existing store you want to edit, add your button, and change the ID on the store. So, if you want to add a new PlayerPowerButton, copy the existing PlayerPowerButtonTemplates.xml, add your new button, and then change the id on the PlayerPowerButtonTemplateStore to something like PlayerPowerButtonTemplateStoreCustom. The same thing will work for the UnitAbilityButtonTemplateStore. Just make sure that you copy the existing file or only your button will show up. The game only uses one store, and you want to make sure yours has everything in it. Edited August 31, 2007 by mastermind Share this post Link to post Share on other sites
Bibber 0 Report post Posted August 31, 2007 Thanks a lot, man! Well, who knew that we have just to change the ID. -.- Overwriting e.g. CommandSets with the same ID is possible, but not template store. Anyway, it works perfect now. ;) Share this post Link to post Share on other sites
Dibelius 0 Report post Posted August 31, 2007 (edited) omg... so easy. ever thought the ID could not be changed (because it's linked it cnc3game.dat) thx a lot. :) Edited August 31, 2007 by Dibelius Share this post Link to post Share on other sites
Count von Phoib 0 Report post Posted September 1, 2007 Can we have back the old Generals INIs please? For the love of God, why??? Share this post Link to post Share on other sites
Mighty BOB! 0 Report post Posted September 1, 2007 Because he doesn't want to be arsed to learn something new. >.> <.< Share this post Link to post Share on other sites
BlckWyerve 0 Report post Posted September 1, 2007 Henford is a relic of Generals in 2003. Share this post Link to post Share on other sites