STEAM GROUP
VT-mod alpha VTMOD
STEAM GROUP
VT-mod alpha VTMOD
72
IN-GAME
636
ONLINE
Founded
21 September, 2017
tvyk 1 Jun, 2018 @ 2:25pm
Help getting started with a simple mod.
I have followed the quickstart guide and have successfully created a working mod. Now I am trying to do something a bit more practical as practice.

To start off simple, I'm trying to change Salt's brace of pistol ammo count to 30 from 25. The value appears to be held in scripts/settings/equipment/brace_of_pistol.

However, I'm at a loss with the proper syntax for doing this. Does anyone have any good examples of this kind of change that I can learn from?
< >
Showing 1-1 of 1 comments
Robin 2 Jun, 2018 @ 2:01am 
If this is for vermintide 2 I would suggest asking in the Modding Sub-forum of vermintide 2 or on this discord:
https://discord.gg/AvNzrX

To answer your question though, you could just run a lua file that sets that particular field.

I don't have the code in front of me, but it's likely something like Weapons.brace_of_pistols.ammo.max_ammo = 30

The first run() of the mods gets executed after most config files etc are executed, so all those global tables should be accessible.
< >
Showing 1-1 of 1 comments
Per page: 1530 50