Hi smallg i dontg know is the medkit2.lua script worked for Duch.. but i cannot managed t oget it works and saces betweeen levels
i made this way:
in level one
1- added a medkit item set it as static = no and always active to yes
and set to it the script medkit2.lua you provided ,filled the strenght(value to health) and the sound 0 and sound 1 fields
2- added another ( or several) medkit items and added to them only the medkit.lua script
in level 2
1- added a medkit item set it as static = no and always active to yes
and set to it the script medkit2.lua you provided ,filled the strenght(value to health) and the sound 0 and sound 1 fields
2- added another ( or several) medkit items and added to them only the medkit.lua script
in the first level script works fine and picked up medkits are correctly added to the counter and when used works fine and resotre the set amount of health.
- bug i noticed is that if player has full health and try to use the medkit(default "o" key) then resualt and an error
-bug 2 when player carries medkit for mlevel 1 to level 2 the medkit amount is not carried and the medkit amount is resetted to zero
am i missing something?
PC 2 Specs:
AMD RYZEN 2600 SIX CORE @3,70, 64GB RAM DDR4 2400, M/B GIGABYTE AX370
SVGA NVDIA 1660GTX 6GB , SSD M.2 TRANSCEND S110 1TB, 1X HDD SEAGATE BARRACUDA 4TB, 1X HDD TOSHIBA 2TB
PC 2 Specs:
AMD QUADCORE 880K @4.5GHZ, 32GB RAM DDR3 1600, M/B ASUS A88XM-PLUS
SVGA RADEON R9 380 4GB , SSD KINGSTON A400 1TB, 2X HHD SEAGATE BARRACUDA 4TB