Anyone code in lua & could make some interestin 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
function main_entry()
local local_player_unit = Managers.player
layer_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()
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()
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
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 aid kits
function main_entry()
local local_player_unit = Managers.player
layer_from_peer_id(Network.peer_id()).player_unitlocal 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