To make matters a bit worse, you have to deal with the difficulty variants of the weapon, which is handled in native code in the current build. To make a mod for this, you'll have to write unrealscript that overrides the base-game templates. The value is generally 0 (for secondary weapons), 1 (for conventional), or 2 (for magnetic or beam).įor SMGs I made it a config value, for example : Template.NumUpgradeSlots = default.SMG_MAGNETIC_UPGRADESLOTS If you look in X2Item_DefaultWeapons.uc, in each of the weapon template functions you'll see something like : Template.NumUpgradeSlots = 1 This is set in unrealscript, not in config files, unfortunately (except for the SMG mod weapons, which I made the value a config value).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |