honestRope Posted January 5, 2010 Share Posted January 5, 2010 So I'm trying to script an ability that actually increases crit damage, rather than the ubiquitous chance-to-score-a-crit. And I can't figure out what the property I'm modifying is actually called. Just from pouring over every plausible script in the toolset, think it must be either PROPERTY_ATTRIBUTE_CRITICAL_RANGE or COMBAT_CRITICAL_DAMAGE_MODIFIER. The latter appears to be a global reference setting, though, rather than an individual character property, and the former returns a "variable defined without type" error. But I can't find anything else likely, and random experimentation ("property_attribute_critical_damage! no? property_attribute_crit_damage? still no? maybe it's damage_crit?") has been predictably unsuccessful. So now I'm just confused. :confused: Currently my (uncompilable) line in question looks like eEffects[0] = EffectModifyProperty(PROPERTY_ATTRIBUTE_CRITICAL_RANGE, fCritDamage); Any thoughts on what it *should* look like in order to actually work?(I promise fCritDamage isn't the problem, btw; I added a line directly above this that said "float fCritDamage = 3.0f" just to be sure and it still choked.) (Also, while we're at it, should fCritDamage be 10.0 or 0.1 to add 10% crit damage? Time spent making weapons and a look at combat_damage_h.nss makes me think it should be 10, but I don't want to bet my game balance on that ;) ) Link to comment Share on other sites More sharing options...
Vagrant0 Posted January 5, 2010 Share Posted January 5, 2010 You might want to try reading/getting in touch with this guy here:http://thenexusforums.com/index.php?showto...p;#entry1497038 You two seem to be working on the same thing, or something close. Perhaps you can compare notes and avoid the arguments of who stole who's ideas before they happen. Link to comment Share on other sites More sharing options...
honestRope Posted January 6, 2010 Author Share Posted January 6, 2010 Hey, thanks! I'll drop him a line, see if what he came up with is what I'm looking for. (Maybe not - I'm adding talent trees to Dog, which is a long way from modding weapon properties - but you never know until you try. :)) Link to comment Share on other sites More sharing options...
_redruM_ Posted January 10, 2010 Share Posted January 10, 2010 Sent honestRope a pm a few days ago. Hope he/she got it. Link to comment Share on other sites More sharing options...
Recommended Posts