GrimyBunyip Posted February 20, 2016 Share Posted February 20, 2016 I just starting learning the dev kit, so pardon me if I've missed any earlier posts on this topic. I was able to make a simple mod, extending X2Effect_HuntersInstinctDamage just fine, by following the ClassOverride example provided. But when I tried the same thing on X2Ability_SharpshooterAbilitySet and XComGameState_HeadquartersResistance, the build would just fail. And I my error list is just empty, so I'm not exactly sure what is going on. Is it just the case that certain classes can't be extended? Link to comment Share on other sites More sharing options...
davidlallen Posted February 20, 2016 Share Posted February 20, 2016 It is probably true that some classes can't be extended, but your error list should not be blank. In modbuddy, did you follow the instructions in the quickstart guide to set the verbosity to normal? This may show a syntax error, which you can probably fix. If not please post the details here. The sharpshooter class can certainly be extended, many mods do this. The other one you mention is declared "native" which means you probably can't. Hopefully you can define a subset of what you wanted, with just sharpshooter. There are a couple of other active threads here you can probably read to learn more, including alternate ways of modding "around" native classes. Link to comment Share on other sites More sharing options...
GrimyBunyip Posted February 20, 2016 Author Share Posted February 20, 2016 (edited) It is probably true that some classes can't be extended, but your error list should not be blank. In modbuddy, did you follow the instructions in the quickstart guide to set the verbosity to normal? This may show a syntax error, which you can probably fix. If not please post the details here. The sharpshooter class can certainly be extended, many mods do this. The other one you mention is declared "native" which means you probably can't. Hopefully you can define a subset of what you wanted, with just sharpshooter. There are a couple of other active threads here you can probably read to learn more, including alternate ways of modding "around" native classes.yeah my bad, set the verbosity to normal and I'm getting error messages now. I'll give the sniper one a shot.I'm getting the following error message now: Package XComGame changed, recompiling Error, Failed to delete ..\..\XComGame\Script\XComGame.u Not sure what that means, but I least I got a lead now. Thanks. edit: Well it recompiled when I deleted XComGame.uWhy couldn't it do that by itself? I wonder if this is a permissions issue? Edited February 20, 2016 by GrimyBunyip Link to comment Share on other sites More sharing options...
Deleted32045420User Posted February 20, 2016 Share Posted February 20, 2016 maybe you had that open? sometimes it just borks up all on it's own and restarting mod buddy works for me Link to comment Share on other sites More sharing options...
Recommended Posts