Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
At line 1811 (inside "update" function) just BEFORE this line:
Add this:
end
SetTag(robot.body, "disabled")
robot.enabled = false
end
Changes posted in my previous comment may be incompatible with this mod! :D As they changing base robot class.
Script uses stunned level instead of health (i was not able to find health var for robots), so its a bit stupid way, but it will work.
To make it right :
1. Add robot.health variable with some init value (+a bit of random ;-))
2. Add health consumption in "hitByExplosion" and "hitByShot" functions
3. In "update" function do robots health check and if it is time to die then kill him the same way as in post before.
(optional) add Explosion(robot.bodyCenter, 4.0) to make his death more deadly
And after all of that .. its still possibly be incompatible with this mod :D