安装 Steam
登录
|
语言
繁體中文(繁体中文)
日本語(日语)
한국어(韩语)
ไทย(泰语)
български(保加利亚语)
Čeština(捷克语)
Dansk(丹麦语)
Deutsch(德语)
English(英语)
Español-España(西班牙语 - 西班牙)
Español - Latinoamérica(西班牙语 - 拉丁美洲)
Ελληνικά(希腊语)
Français(法语)
Italiano(意大利语)
Bahasa Indonesia(印度尼西亚语)
Magyar(匈牙利语)
Nederlands(荷兰语)
Norsk(挪威语)
Polski(波兰语)
Português(葡萄牙语 - 葡萄牙)
Português-Brasil(葡萄牙语 - 巴西)
Română(罗马尼亚语)
Русский(俄语)
Suomi(芬兰语)
Svenska(瑞典语)
Türkçe(土耳其语)
Tiếng Việt(越南语)
Українська(乌克兰语)
报告翻译问题









<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.