Armor Plating

by VortiK

Adds armor plating equipment to increase vehicles hitpoints and improve their survivability. - Supports AAI Vehicles. - Supports Angel's Heavy Tank. - Has built in mod support.

Content
3 years ago
0.16 - 1.1
11.8K
Armor

g no multiplayer debug message?

6 years ago
(updated 6 years ago)

i saw you were using player[1] for the message that displays the maximum health.
with the corresponding lines changed and trying it on multiplayer i didn't notice any issues.
local function update_armor_equipment(playerid)
if entity_to_armor ~= nil then
-- debug("equipment : "..serpent.line(equipment.name))
debug("armoring entity : "..serpent.line(entity_to_armor.name))
local player = game.players[playerid]
armor_entity(entity_to_armor, player)
end
end
(maybe then you should change the line 116: armor_entity(vehicule, vehicule.last_user) to armor_entity(vehicule, 1) to be save // edit: nvm i just noticed the function is never called)

6 years ago

Hello,

Yes debug messages are not supposed to be printed in normal gameplay, I leave them in the code but disable them. Gameplay messages should be properly set to the correct player even in multiplayer.

Sorry if it's confusing :)

6 years ago
(updated 6 years ago)

nope i tried it and the messages don't show up in multiplayer (only for the host)

6 years ago

Thanks for the report, this should be fixed in 0.3.3

New response