The forum has been set to read-only mode. For community discussion and questions, head over to our Discord: https://discord.taleoftwowastelands.com

Idea for more than 3 Weapon Mods

General mod discussion and requests.
Post Reply
NatPro38
Posts: 7
Joined: Thu Jun 25, 2015 1:55 pm

Idea for more than 3 Weapon Mods

Post by NatPro38 » Fri Jul 03, 2015 7:16 pm

Okay, as we know there is a hard coded limit of 3 weapon mods per weapon but what if there was a way around it?


I had an idea on how to get past it, what if we created a whole new menu to mod weapons which is similar in design to that of the implant surgery for project Nevada. We then use scripts and Dummy/meta items and weapon mods to apply the effects and update the visuals. This could also allow us to have more variety of mods for weapons such as different scopes and sights, new barrels with advanced tactical rails to allow more mods, different magazine sizes and stock types.


I looked up functions in GECK and NVSE and there are functions like SetModel which could be used to change the model of the weapon with the new mods but I am unsure whether they would change only the model the player is using or all models in the world.


I am not an experienced mod creator and have limited knowledge of scripting but I thought someone might be able run with the idea.


The reason I am thinking of this is because i would like to be able to keep the weapon mods but have new ones such as the flashlight from NVSEFlashlight mod or Underbarrel weapons which I have seen Developing or Sniper rifles and Anti-Material rifles with Laser Pointers.


Thank you,


NatPro38



User avatar
Puppettron
Gary
Posts: 1715
Joined: Sat Nov 23, 2013 10:47 pm

scripted changes to weapon

Post by Puppettron » Fri Jul 03, 2015 8:28 pm

scripted changes to weapon functionality affects all of that weapon, not just a single reference.  in effect, to do this, you'd have to give the player unique weapons to run all of this on, and manage them as unique-but-not versions of the base weapon.  i.e. your chinese assault rifle, however you manage giving the player his unique version, would need to be on all the same lists, use all the same lists, etc. as a regular CAR.  and you'd have to do that with every weapon in the game.  all hundreds of them.  and then figure out if you're going to work with mod-added weapons and if so, how.


perms:  either a full fireworks display spelling out "Puppettron Made This" anytime a user accesses my content in-game, or just give me credit somewhere.

Post Reply