maaz88 1 Posted April 24, 2016 Hi guys, I am fairly new to modding. Need some help from you pro-modders. I tried to add a veterancy upgrade to the nod secret shrine, I copied the veterancy crate behaviour to it but caused crash to the game while loading. I added the heal upgrade copying from the GDI armory and it worked, but veterancy does not work. Does anyone have any idea how to do it? I am actually working on developing a mod for my personal use. I have gathered source codes from different mods and mixing them to one, slow progress, but working good. So can anyone tell me how can I add a unit to my mod after extracting .w3x and .dds etc. from a mod. eg. I want to add banshee to the NOD I have all the art files but am having serious trouble adding it. Thanks in advance. cheers Share this post Link to post
maaz88 1 Posted April 28, 2016 Thats something different. I need to know how to do it? the veterancy upgrade thing Share this post Link to post
Ravendark 43 Posted April 28, 2016 Are you already familiar with adding/modifying commandsets/logiccommands, creating unit abilitybuttons and adding new behavior modules? Share this post Link to post
maaz88 1 Posted May 1, 2016 Not completely but I have done a few tweaks, added some new units and structures from open source codes, added the heal contain behaviour to the secret shrine and works fine. I am a starter as I mentioned, and I am learning. Share this post Link to post
Ravendark 43 Posted May 1, 2016 (edited) So basicly create a new upgrade(type="OBJECT" if you want ti to apply to the shrine, type="PLAYER" if you want ti to apply to any object that has the <LevelUpUpgrade> ) name it something like Upgrade_secretshrineVet, create a new unitability button and logiccommand for that. Add the logic command to the commandset of the secret shrine. in the behavior section of the secret shrine(or the units you want to give the "PLAYER" upgrade to) add the following: <LevelUpUpgrade id="ModuleTag_LevelUpUpgrade" LevelCap="4" DoFlash="false" LevelsToGain="1"> <TriggeredBy>Upgrade_secretshrineVet</TriggeredBy> </LevelUpUpgrade> Edited May 1, 2016 by Ravendark 1 Share this post Link to post
maaz88 1 Posted May 2, 2016 Ok I shall try it. Basically I think I asked my question in the wrong way. I meant that I send an infantry unit into the shrine and it comes out leveled up. just like GDI armory heals units. Share this post Link to post
Ravendark 43 Posted May 2, 2016 Ok I shall try it. Basically I think I asked my question in the wrong way. I meant that I send an infantry unit into the shrine and it comes out leveled up. just like GDI armory heals units. That is a whole different thing. Forget the above then, that won't do it. Share this post Link to post