Jump to content

Need help with creating "Weapon Mod Kits"


dra6o0n

Recommended Posts

I managed to create new "items" for the game that's basically duplicated versions of other weapon mod kits, except it's not suppose to be visual.

 

Marksman Carbine Mod Kits:

1) Extended Magazine - Increases capacity by +10

2) Laser Sight - Decreases spread (0.5)

3) Firing Mechanism - Adds burst fire capability Light Bolt - Increases rate of fire (0.5)

 

It's #3 that I have issues with, since burst fire is determined from the base gun... I wonder if it's possible to modify the gun's attributes when you install Mod #3 onto the gun.

 

So far I can tell I gotta create a new game effect that modifies a target to have burst fire on, but I also want to limit the burst to 3 rounds.

 

UPDATE: I managed to make working mod kits, but still haven't found a way to implement different firing modes... So I substitue the Firing mechanism with Light Bolt from a SMG and used a 0.5 fire rate increase.

 

Now if my game weren't studdering here and there, I can test out how high the fire rate is increased.

 

I would be very interested if someone figures out how to change the gun itself, by using different ammo variants...

Like for example, equipping a grenade launcher mod kit on a assault or marksman carbine, allows you to swap your gun's ammo to a 25mm, allowing you to fire explosive grenades...

The animations will obviously go wonky, since the player will reload with a clip/magazine rather than load a grenade round in.

But if the mod kit alters the gun so "when the ammo is equipped", it should change the gun's entire attributes into a "grenade rifle" style...

Link to comment
Share on other sites

As far as I've been able to find, there are no listings or methods for creating new ammo or modkit effects. The modifiers appear to be hard coded. For something like this you may just be out of luck until NVSE manages to figure out some scripting to determine what modkits are present, and just using that to script the change.
Link to comment
Share on other sites

Yeah I was gonna make a bayonet VATS-attack for "This Machine" that's available once you mod it, but couldn't find a way to animate it properly, weapon modding is pretty limited.

 

I would've liked to see some trade-offs and/or multi-choice mods, for ex.

 

Gun has:

Ext. Ammo Mod

*Long-Range scope

*Mid-Range Nightvision scope

 

*= Pick one, once you put either you can't mod the other one (without removing it?)

 

Some could be harder to obtain etc.

 

And some other stuff like, instead of:

Sniper Rifle (whateveritscalled);

-50% weight

 

they could make stuff like:

 

Sniper Rifle (whateveritscalled);

-50% weight

-20% durability

 

or alternatively, make you choose between a weight or durability mod.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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