GRUPO DE STEAM
VT-mod alpha VTMOD
GRUPO DE STEAM
VT-mod alpha VTMOD
96
JUGANDO
757
ONLINE
Fundado
21 de septiembre de 2017
tvyk 1 JUN 2018 a las 14:25
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?
< >
Mostrando 1-1 de 1 comentarios
Robin 2 JUN 2018 a las 2:01 
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.
< >
Mostrando 1-1 de 1 comentarios
Por página: 1530 50