PAYDAY 2
[BLT][Tool]Mod.txt Creation/Converter Helper
http://www.kilandor.com/blt-helper/

This is a tool which will guide you through and setup and create the mod.txt for your mod. You do not have to worry about formatting as it will be handled completely for you!

Creating a new mod, or converting your old PD2Hook.yml to a new mod its very simple to do. You can literally just copy and paste.

After you are done you can simply download* or manually copy the JSON code for your mod.txt
Please note downloading may not work on all browsers due to the modern method used. If you can not download simply use the manual copy button.

This tool is intended for new users, and as a stepping tool to learn how to create your own mod.txt

Screenshot - http://imgur.com/lq3m4qI

Feel free to report any bugs, leave any comments or suggestions here.
Legutóbb szerkesztette: Kilandor; 2015. máj. 3., 18:39
< >
114/14 megjegyzés mutatása
Wow, very nice!
Good stuff mate.
Wonderful. Thank you, Kilandor.
Nice, but there seems to be a problem with Keybinds :
http://i.imgur.com/ZQk7w3T.jpg
Fixed, thanks for the report.
Can you revert back mod.txt to old hook or this is only for old hook->blt?
No. The whole point of this tool is to create a mod.txt
Could you update your BLT mod.txt helper website to support BLT 2 please?
https://www.kilandor.com/blt-helper/ it still works for the most part but stuff has to be added manually.
Devilz Avocado eredeti hozzászólása:
Could you update your BLT mod.txt helper website to support BLT 2 please?
https://www.kilandor.com/blt-helper/ it still works for the most part but stuff has to be added manually.

I think you only need to add the "blt_version" key, which shouldn't be too much work.

And I guess keybinds might have been changed too. Not sure.
Legutóbb szerkesztette: Rokk; 2017. dec. 8., 17:00
Rokk eredeti hozzászólása:
Devilz Avocado eredeti hozzászólása:
Could you update your BLT mod.txt helper website to support BLT 2 please?
https://www.kilandor.com/blt-helper/ it still works for the most part but stuff has to be added manually.

I think you only need to add the "blt_version" key, which shouldn't be too much work.

And I guess keybinds might have been changed too. Not sure.
+ Don't forget that variable doesn't really do anything except remove a warning.
-- Replenish Ammo
local player_unit = managers.player:player_unit()
for id,weapon in pairs( player_unit:inventory():available_selections() ) do
if alive(weapon.unit) then
weapon.unit:base():replenish()
managers.hud:set_ammo_amount( id, weapon.unit:base():ammo_info() )
end
-- ADD 3 GRENADES TO INVENTORY
managers.player:add_grenade_amount(3)
end
-- Message on screen
if managers.hud then
managers.hud:show_hint( { text = "Ammo Replenished" } )
end


what is the correct Hook ID for this script?

also what type of script is it? persistent? pro-hook? post?
i got it working as a persistent but i don't think thats what its meant to be ran as. how would i use this script on a keybind?
So you want a script to refill your ammo and grenades when you press a key. Yep totally not a cheat. :profgenki:
< >
114/14 megjegyzés mutatása
Laponként: 1530 50

Közzétéve: 2015. máj. 3., 18:37
Hozzászólások: 14