Anyone code in lua & could make some interesting scripts for warhammer vermintide

Posts 13 of 3 · Page 1 of 1
Anyone code in lua & could make some interesting scripts for warhammer vermintide
So i have found some where that someone has made a dll injectable console for warhammer vermintide i was wondering if there are any lua coders that just want to make some code for a laugh.

But if you would like direction on what to do then maybe a god mode or no-clip (found a god mode script doesn't work and cant fix have a go ?)

And i will add a .zip file with everything you will need to find the classes to put something together.
virustotal.com/en/file/5ad1ad4cf87c1324b2471d39e54ba492342e5e28e1b5b8922d dca5e1a9d9a71a/analysis/1471948840/

This here is some code
 
Drop first aid

function main_entry()
local local_player_unit = Managers.playerlayer_from_peer_id(Network.peer_id( )).player_unit
local network_manager = Managers.state.network
local pickup_spawn_type_id = NetworkLookup.pickup_spawn_types['dropped']

local pickup_id = NetworkLookup.pickup_names["first_aid_kit"]
local rotation1 = Unit.local_rotation(local_player_unit, 0)

for i = 1, 25 do
local final_position1 = Unit.local_position(local_player_unit, 0) + Vector3(1 + (i * 0.5), 0, i * 0.5)
network_manager.network_transmit:send_rpc_server(' rpc_spawn_pickup_with_physics', pickup_id, final_position1, rotation1, pickup_spawn_type_id)
end
end

main_entry()

 
All hats in game

ScriptBackendItem.award_item("bw_gate_0001")
ScriptBackendItem.award_item("bw_gate_0002")
ScriptBackendItem.award_item("bw_gate_0003")
ScriptBackendItem.award_item("bw_gate_0004")
ScriptBackendItem.award_item("bw_gate_0005")
ScriptBackendItem.award_item("bw_gate_0006")
ScriptBackendItem.award_item("bw_gate_0007")
ScriptBackendItem.award_item("bw_gate_0008")
ScriptBackendItem.award_item("bw_gate_0009")
ScriptBackendItem.award_item("bw_gate_0010")
ScriptBackendItem.award_item("dr_helmet_0000")
ScriptBackendItem.award_item("dr_helmet_0001")
ScriptBackendItem.award_item("dr_helmet_0002")
ScriptBackendItem.award_item("dr_helmet_0003")
ScriptBackendItem.award_item("dr_helmet_0004")
ScriptBackendItem.award_item("dr_helmet_0005")
ScriptBackendItem.award_item("dr_helmet_0006")
ScriptBackendItem.award_item("dr_helmet_0007")
ScriptBackendItem.award_item("dr_helmet_0008")
ScriptBackendItem.award_item("dr_helmet_0009")
ScriptBackendItem.award_item("dr_helmet_0010")
ScriptBackendItem.award_item("dr_helmet_0000")
ScriptBackendItem.award_item("es_hat_0001")
ScriptBackendItem.award_item("es_hat_0002")
ScriptBackendItem.award_item("es_hat_0003")
ScriptBackendItem.award_item("es_hat_0004")
ScriptBackendItem.award_item("es_hat_0005")
ScriptBackendItem.award_item("es_helmet_0001")
ScriptBackendItem.award_item("es_helmet_0002")
ScriptBackendItem.award_item("es_helmet_0003")
ScriptBackendItem.award_item("es_helmet_0004")
ScriptBackendItem.award_item("es_helmet_0005")
ScriptBackendItem.award_item("es_hood_0001")
ScriptBackendItem.award_item("wh_hat_0001")
ScriptBackendItem.award_item("wh_hat_0002")
ScriptBackendItem.award_item("wh_hat_0003")
ScriptBackendItem.award_item("wh_hat_0004")
ScriptBackendItem.award_item("wh_hat_0005")
ScriptBackendItem.award_item("wh_hat_0006")
ScriptBackendItem.award_item("wh_hat_0007")
ScriptBackendItem.award_item("wh_hat_0008")
ScriptBackendItem.award_item("wh_hat_0009")
ScriptBackendItem.award_item("wh_hat_0010")
ScriptBackendItem.award_item("wh_hat_0011")
ScriptBackendItem.award_item("ww_hood_0001")
ScriptBackendItem.award_item("ww_hood_0002")
ScriptBackendItem.award_item("ww_hood_0003")
ScriptBackendItem.award_item("ww_hood_0004")
ScriptBackendItem.award_item("ww_hood_0005")
ScriptBackendItem.award_item("ww_hood_0006")
ScriptBackendItem.award_item("ww_hood_0007")
ScriptBackendItem.award_item("ww_hood_0008")
ScriptBackendItem.award_item("ww_hood_0009")
ScriptBackendItem.award_item("ww_hood_0010")
ScriptBackendItem.award_item("ww_hood_0011")
Managers.backend:commit()

 
God mode

PlayerUnitHealthExtension = class(PlayerUnitHealthExtension, GenericHealthExtension)
PlayerUnitHealthExtension.init = function (self, extension_init_context, unit, extension_init_data)
self.unit = unit
local is_server = Managers.player.is_server
self.is_server = is_server
local health = extension_init_data.health or Unit.get_data(unit, "health")

if health == -1 then
self.is_invincible = true
health = math.huge

if script_data.damage_debug then
printf("[GenericUnitDamageExtension] No health information for unit %s", tostring(unit))
end
else
self.is_invincible = true
end

self.set_max_health(self, health, true)

self.unmodified_max_health_changed = false
self.damage = extension_init_data.damage or 0
self.state = "alive"
self.player = extension_init_data.player
self.game_object_id = extension_init_data.game_object_id
self.is_bot = not self.player:is_player_controlled()

return
end


-----Edited 25/08/16------
In the zip file there are two files related to ammo(active_reload_ammo_user_extension.lua)(generi c_ammo_user_extension.lua), would anyone be able to look and see if they can make an infinate ammo or just it restocks the ammo script.
files_mpgh.net.rar1.7 MB · 12 downloads Clean
Quote Originally Posted by RoPMadM View Post


Why do you spam this thread?
One is enaugh.
Im not trying to spam or anything, sorry remove one, just didnt know where to post it / where people will most likely see this
Posts 13 of 3 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?