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
<types>
<type name="Metro_Watch">
<nominal>35</nominal>
<lifetime>7200</lifetime>
<restock>0</restock>
<min>10</min>
<quantmin>-1</quantmin>
<quantmax>-1</quantmax>
<cost>100</cost>
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0" />
<category name="tools" />
<usage name="Office" />
<usage name="School" />
<usage name="Town" />
<usage name="Village" />
<tag name="shelves" />
</type>
</types>
It is already declared in 3_game/enums.c
as far as i can tell.
Metro_Watch/scripts/4_World/metro_watch\entities\metro_watch.c(64): Class/Enum definition inside block. (missing '}' ?)
SCRIPT (E): Failed to load entities script!
SCRIPT (E): NULL pointer to instance. Variable '(null)' during call 'array<EntityAI>.Clear'
Class: 'EntityAI'
Entity id:-9223196114608337471
I'm not a programmer, but I suspect that the problem is in Metro_Watch_Slot.pbo.
In the file config.cpp :
class CfgVehicles
{
class Clothing;
class Metro_Watch: Clothing
{
inventorySlot[] += {"Metro_Watch"};
};
class Man;
class SurvivorBase: Man
{
attachments[] += {"Metro_Watch"};
class DamageSystem
{
class GlobalHealth
{
class Health
{
hitpoints = 150;
healthLevels[] = {{1,{""}},{0.7,{""}},{0.5,{""}},{0.3,{""}},{0,{""}}};
};
};
.......
I tried changing 150 to 50 and it works. Players have 50 health points.