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
Can u please do me one favor, look at your types file, open it up, search for sedan, and then copy paste what ever is there, in here? So i can compare it to my types file?
<nominal>0</nominal>
<lifetime>3</lifetime>
<restock>1800</restock>
<min>0</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"/>
</type>
<type name="CivilianSedan">
<nominal>0</nominal>
<lifetime>3</lifetime>
<restock>1800</restock>
<min>0</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"/>
</type>
that is what i have.
<lifetime>3</lifetime>
I believe this only kicks in when a part is ruined though but it will result in cars possibly disapering as soon as you look away when damaged.
i am aware of that i have mine set that way as i do not like the sedans in game i also have custom vehicles on my server.
<type name="CivilianSedan">
<nominal>20</nominal>
<lifetime>3888000</lifetime>
<restock>1800</restock>
<min>0</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="vehicle"/>
<usage name="Village"/>
<usage name="Hunting"/>
<usage name="Town"/>
<usage name="Police"/>
<usage name="Farm"/>
<value name="Tier1"/>
<value name="Tier2"/>
<value name="Tier3"/>
<value name="Tier4"/>
<usage name="Village"/>
<usage name="Hunting"/>
<usage name="Town"/>
<usage name="Police"/>
<usage name="Farm"/>
<value name="Tier1"/>
<value name="Tier2"/>
<value name="Tier3"/>
<value name="Tier4"/>
i don't believe you need any of that as the server seems handles vehicles differently from loot items.
The <nominal> value for vehicles is set in the events.xml, not the types.xml
Also all that stuff you tacked on the end, "category name" "usage name" and "value name" should not be there.
Also, if you want to stop a vehicle type spawning in game that is done in the events.xml by changing the value <active>1</active> to <active>0</active> for the vehicle that you don't want spawning.
FYI, the value <lifetime>3</lifetime> in the types.xml is the default value that the server files ship with at the moment.