My collection of IW5 scripts
-
Hi, friends! Tell me how to add a line with low health?
Init()
{
level.teamTweaks["fftype"].value = 1; // Disable friendly fire
level.gameTweaks["allowkillcam"].value = 1; // Enable killcams - doesn't seem to work anymore
level.killcam = false; // Enable killcams
self.maxhealth = 10;
}“self.maxhealth = 10;” - This method doesn't work...
-
CoBa_09 this method might work but you're doing it completely wrong
I think you can just change HP in the DSR file of the gamemode
-
Resxt Thanks, friend! But in the directory "Plutonium\storage\iw5", there are no files with such extension...
-
CoBa_09 this is when you save a gamemode from private games or when you have a server (then it's in the main folder of your game folder iirc)
-
Resxt I want to use these settings for private game with bots
-
CoBa_09 then save a gamemode and edit the dsr file it saves on your PC, change the maxhealth value
-
Resxt Excellent! Everything worked out! Thank you very much, friend!
-
Resxt its posible to disable gun game gamemode in console or only deleting script in scripts folder?
-
Resxt How to disable showing this errors in chat, this started appear in new version of pluto, in older version not showing errors in chat
-
Medison by default no, but you can simply put a condition in the init function that checks for a server port or a dvar that you set in your server CFG and so on to disable the gun gamemode while keeping the script installed, lots of easy solutions
You can see my mapvote for an example
As for the errors I don't know