Jump to content

Which Classes can be overriden?


GrimyBunyip

Recommended Posts

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

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

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.u

Why couldn't it do that by itself? I wonder if this is a permissions issue?

Edited by GrimyBunyip
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...