Corsair21 Posted July 26, 2016 Share Posted July 26, 2016 Hey There! I just started digging into XCOM2 Modding and could need some help with two aspects of my mod. First of all, what am I planning to do:Create one or more special Heroes for the mod, which have special abilities.One or more special Missions to receive those heroes. What have I done so far:Created a new Soldier class, which has a bit improved stats at Squaddie level, and make it playable ingame. (Working)I Added abilities to the class and also created an Init function / Template generator class for it, to define those abilities. (Working as well)And now I got the following Problems:One of those abilities is in-Battle regeneration (basically stolen from Faceless & avatar), which is almost working as it should. My problem is now, that I would want the soldier not to receive "wounded" flags at the end of the mission. Is it possible to remove this flag from within the template generator class or if I create my own Regeneration Effect class?The Idea would be that those flags will be removed from within the function that performs the "healing" every time it is executed. Im pretty sure it's actually quite simple, but I have no Idea what could be the command for this or where to look for it.I know there are some Missions creating special units controllable by the player. My Idea is, that there will occur some kind of event on the World map which has to be investigated by the Avenger. After Investigation, there will be the possibility to start my custom mission. I could also imagine that there will be no squad selection screen, and the player starts directly with the spawned hero soldier after some cutscene, and the mission has to be completed with that one soldier. Afterwards, the soldier will be added to the barracks.I know that especially considering Missions, there will be a lot to learn anyway. But I'm actually just asking if the Idea itself seems doable, or if it seems to be flawed anyway.So if you could help me out and maybe give me some hints, this would be really cool! Kind Regards,Corsair Link to comment Share on other sites More sharing options...
Recommended Posts