Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • Need help?

    Create a topic in the appropriate section
    Don't write everything in the chat!
  • Take a look at the marketplace

    There you can buy
    everything related to game servers
  • Don't want a ban?

    Please read our rules
    Don't disturb the order!
  • Sell or buy?

    Use services of the guarantor
    We will make your deal safe
  • 0
Sign in to follow this  
alex_good_kaban

Новогодняя елка, не спавнятся подарки

Настраивал все по этому гайду, но подарки ни в какую не спавнятся. Зато бутылка воды спавнится.

С единственным моментом, создал свой <usage name="SeasonalChristmasEvent"/>, ну и изменил елку на зеленую ChristmasTree_Green
type.xml
 

Скрытый текст

<type name="GiftBox_Large_3">
        <nominal>15</nominal>
        <lifetime>7200</lifetime>
        <restock>1800</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="containers"/>
	<tag name="floor"/>
        <tag name="shelves"/>
        <usage name="SeasonalChristmasEvent"/>
    </type>
    <type name="GiftBox_Large_4">
        <nominal>15</nominal>
        <lifetime>7200</lifetime>
        <restock>1800</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="containers"/>
	<tag name="floor"/>
        <tag name="shelves"/>
        <usage name="SeasonalChristmasEvent"/>
    </type>

 


events.xml
 

Скрытый текст

<event name="StaticChristmasTree">
        <nominal>30</nominal>
        <min>20</min>
        <max>25</max>
        <lifetime>7200</lifetime>
        <restock>0</restock>
        <saferadius>1000</saferadius>
        <distanceradius>1000</distanceradius>
        <cleanupradius>1000</cleanupradius>
        <flags deletable="0" init_random="0" remove_damaged="1"/>
        <position>uniform</position>
        <limit>child</limit>
        <active>1</active>
        <children>
            <child lootmax="15" lootmin="10" max="13" min="13" type="ChristmasTree_Green"/>
        </children>
    </event>

 


cfgeventspawns.xml
 

Скрытый текст

  <event name="StaticChristmasTree">
    <pos x="4564.29" z="15298.12" a="0.0" />
    <pos x="4509.66" z="15233.71" a="0.0" />
    <pos x="4481.06" z="15254.76" a="0.0" />
    <pos x="4405.32" z="15256.03" a="0.0" />
  </event>

 


cfglimitsdefinition.xml
 

Скрытый текст

<lists>
    <categories>
        <category name="tools"/>
        <category name="containers"/>
        <category name="clothes"/>
        <category name="vehiclesparts"/>
        <category name="food"/>
        <category name="weapons"/>
        <category name="books"/>
        <category name="explosives"/>
	<category name="cachecat" />
    </categories>
    <tags>
        <tag name="floor"/>
        <tag name="shelves"/>
        <tag name="ground"/>
	<tag name="cahetag" />
    </tags>
    <usageflags>
        <usage name="Cachebase" />
	<usage name="Military"/>
        <usage name="Police"/>
        <usage name="Medic"/>
        <usage name="Firefighter"/>
        <usage name="Industrial"/>
        <usage name="Farm"/>
        <usage name="Coast"/>
        <usage name="Town"/>
        <usage name="Village"/>
        <usage name="Hunting"/>
        <usage name="Office"/>
        <usage name="School"/>
        <usage name="Prison"/>
        <usage name="Lunapark"/>
        <usage name="SeasonalEvent"/>
	<usage name="SeasonalChristmasEvent"/>
        <usage name="ContaminatedArea"/>
	<usage name="Underground"/>
    </usageflags>
    <valueflags>
        <value name="Tier1"/>
        <value name="Tier2"/>
        <value name="Tier3"/>
        <value name="Tier4"/>
        <value name="Unique"/>
    </valueflags>
</lists>

 


mapgrouproto.xml
 

Скрытый текст

<group name="ChristmasTree_Green" lootmax="5">
				<usage name="SeasonalChristmasEvent" />
				<container name="lootFloor" lootmax="5">
						<category name="containers" />
						<tag name="floor"/>
						<tag name="shelves"/>
						<point pos="2.621 1 -3.694" range="0.30" height="1" />
						<point pos="-2.043 1 -3.967" range="0.30" height="1" />
						<point pos="-2.616 1 -3.121" range="0.30" height="1" />
						<point pos="-3.926 1 -2.848" range="0.30" height="1" />
						<point pos="-4.417 1 -1.566" range="0.30" height="1" />
						<point pos="-1.880 1 3.781" range="0.30" height="1" />
						<point pos="-0.243 1 3.917" range="0.30" height="1" />
						<point pos="0.957 1 4.190" range="0.30" height="1" />
						<point pos="2.621 1 3.644" range="0.30" height="1" />
						<point pos="3.494 1 2.662" range="0.30" height="1" />
						<point pos="4.313 1 1.817" range="0.30" height="1" />
						<point pos="4.667 1 0.753" range="0.30" height="1" />
						<point pos="4.777 1 -0.366" range="0.30" height="1" />
						<point pos="4.449 1 -1.593" range="0.30" height="1" />
						<point pos="4.013 1 -3.367" range="0.30" height="1" />
						<point pos="1.066 1 -3.585" range="0.30" height="1" />
						<point pos="-0.543 1 -3.912" range="0.30" height="1" />
						<point pos="-4.771 1 0.725" range="0.30" height="1" />
						<point pos="-4.144 1 3.808" range="0.30" height="1" />
				</container>
		</group>

 


Подскажите где я мог допустить ошибку. Либо может что то не правильно прописал. @paranoyk помоги. 😉

Share this post


Link to post
Share on other sites

15 answers to this question

Recommended Posts

  • 0

Так....
Ивент
 

    <event name="StaticChristmasTree">
        <nominal>15</nominal>
        <min>0</min>
        <max>0</max>
        <lifetime>7200</lifetime>
        <restock>0</restock>
        <saferadius>50</saferadius>
        <distanceradius>50</distanceradius>
        <cleanupradius>300</cleanupradius>
        <secondary>InfectedSanta</secondary>
        <flags deletable="0" init_random="0" remove_damaged="1"/>
        <position>fixed</position>
        <limit>child</limit>
        <active>1</active>
        <children>
            <child lootmax="10" lootmin="5" max="8" min="5" type="ChristmasTree_Green"/>
            <child lootmax="10" lootmin="5" max="8" min="5" type="ChristmasTree"/>
        </children>
    </event>

тайпс
 

    <type name="ZmbM_Santa">
        <nominal>0</nominal>
        <lifetime>900</lifetime>
        <restock>0</restock>
        <min>1</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="ChristmasTree_Green">
        <nominal>0</nominal>
        <lifetime>7200</lifetime>
        <restock>0</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="ChristmasTree">
        <nominal>0</nominal>
        <lifetime>7200</lifetime>
        <restock>0</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="GiftBox_Large_1">
        <nominal>3</nominal>
        <lifetime>7200</lifetime>
        <restock>0</restock>
        <min>1</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="containers"/>
        <usage name="Christmas"/>
    </type>
    <type name="GiftBox_Large_2">
        <nominal>3</nominal>
        <lifetime>7200</lifetime>
        <restock>0</restock>
        <min>1</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="containers"/>
        <usage name="Christmas"/>
    </type>
    <type name="GiftBox_Large_3">
        <nominal>3</nominal>
        <lifetime>7200</lifetime>
        <restock>0</restock>
        <min>1</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="containers"/>
        <usage name="Christmas"/>
    </type>
    <type name="GiftBox_Large_4">
        <nominal>3</nominal>
        <lifetime>7200</lifetime>
        <restock>0</restock>
        <min>1</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="containers"/>
        <usage name="Christmas"/>
    </type>
    <type name="GiftBox_Medium_1">
        <nominal>4</nominal>
        <lifetime>7200</lifetime>
        <restock>0</restock>
        <min>2</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="containers"/>
        <usage name="Christmas"/>
    </type>
    <type name="GiftBox_Medium_2">
        <nominal>4</nominal>
        <lifetime>7200</lifetime>
        <restock>0</restock>
        <min>2</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="containers"/>
        <usage name="Christmas"/>
    </type>
    <type name="GiftBox_Medium_3">
        <nominal>4</nominal>
        <lifetime>7200</lifetime>
        <restock>0</restock>
        <min>2</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="containers"/>
        <usage name="Christmas"/>
    </type>
    <type name="GiftBox_Medium_4">
        <nominal>4</nominal>
        <lifetime>7200</lifetime>
        <restock>0</restock>
        <min>2</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="containers"/>
        <usage name="Christmas"/>
    </type>
    <type name="GiftBox_Small_1">
        <nominal>5</nominal>
        <lifetime>7200</lifetime>
        <restock>0</restock>
        <min>3</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="containers"/>
        <usage name="Christmas"/>
    </type>
    <type name="GiftBox_Small_2">
        <nominal>5</nominal>
        <lifetime>7200</lifetime>
        <restock>0</restock>
        <min>3</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="containers"/>
        <usage name="Christmas"/>
    </type>
    <type name="GiftBox_Small_3">
        <nominal>5</nominal>
        <lifetime>7200</lifetime>
        <restock>0</restock>
        <min>3</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="containers"/>
        <usage name="Christmas"/>
    </type>
    <type name="GiftBox_Small_4">
        <nominal>5</nominal>
        <lifetime>7200</lifetime>
        <restock>0</restock>
        <min>3</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="containers"/>
        <usage name="Christmas"/>
    </type>
    <type name="GiftWrapPaper">
        <nominal>0</nominal>
        <lifetime>7200</lifetime>
        <restock>0</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="1" deloot="0"/>
        <category name="tools"/>
    </type>

cfgeventspawns

	<event name="StaticChristmasTree">
		<zone smin="0" smax="1" dmin="0" dmax="2" r="45" />
		<pos x="10680.760" z="8081.372" a="-1" />
		<pos x="12249.217" z="9734.878" a="-1" />
		<pos x="12308.769" z="10893.358" a="-1" />
		<pos x="12168.529" z="12632.518" a="-1" />
		<pos x="11165.169" z="12258.948" a="-1" />
		<pos x="11621.501" z="14659.769" a="-1" />
		<pos x="9582.738" z="13701.572" a="-1" />
		<pos x="7899.037" z="12573.240" a="-1" />
		<pos x="6664.447" z="14410.799" a="-1" />
		<pos x="4919.746" z="14862.004" a="-1" />
		<pos x="5949.043" z="10375.098" a="-1" />
		<pos x="4642.743" z="10322.916" a="-1" />
		<pos x="4064.024" z="11774.861" a="-1" />
		<pos x="3153.217" z="13038.704" a="-1" />
		<pos x="1670.296" z="14179.038" a="-1" />
		<pos x="1482.867" z="11950.456" a="-1" />
		<pos x="543.628" z="11104.337" a="-1" />
		<pos x="2219.088" z="11089.784" a="-1" />
		<pos x="1421.847" z="9259.003" a="-1" />
		<pos x="3041.342" z="7790.640" a="-1" />
		<pos x="3801.922" z="8846.728" a="-1" />
		<pos x="6043.176" z="7828.094" a="-1" />
		<pos x="9444.988" z="8829.012" a="-1" />
	</event>

cfgignorelist

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<ignore>
	<type name="Bandage"></type>
	<type name="CattleProd"></type>
	<type name="DallasMask"></type>
	<type name="EngineOil"></type>
	<type name="HescoBox"></type>
	<type name="EasterEgg"></type>
	<type name="HoxtonMask"></type>
	<type name="StunBaton"></type>
	<type name="TransitBus"></type>
	<type name="WolfMask"></type>
	<type name="Spear"></type>
	<type name="Mag_STANAGCoupled_30Rnd"></type>
</ignore>

cfglimitsdefinition

    <usageflags>
        <usage name="Military"/>
		<usage name="MilitaryZ"/>
        <usage name="Police"/>
        <usage name="Medic"/>
		<usage name="Medic_Z"/>
        <usage name="Firefighter"/>
        <usage name="Industrial"/>
        <usage name="Farm"/>
        <usage name="Coast"/>
        <usage name="Town"/>
        <usage name="Village"/>
        <usage name="Hunting"/>
        <usage name="Office"/>
        <usage name="School"/>
        <usage name="Prison"/>
        <usage name="Lunapark"/>
		<usage name="Underground"/>
        <usage name="SeasonalEvent"/>
        <usage name="ContaminatedArea"/>
        <usage name="Historical"/>
		<usage name="Camp"/>
		<usage name="Store"/>
		<usage name="Hellic"/>
		<usage name="Christmas"/>
    </usageflags>

cfgrandompresets и cfgspawnabletypes не менял...леееееень

 

mapgroupproto

		<group name="ChristmasTree" lootmax="10">
				<usage name="SeasonalEvent" />
				<usage name="Christmas"/>
				<container name="lootFloor" lootmax="10">
						<category name="containers" />
						<point pos="2.621 1 -3.694" range="0.35000" height="1.000000" flags="32" />
						<point pos="-2.043 1 -3.967" range="0.35000" height="1.000000" flags="32" />
						<point pos="-2.616 1 -3.121" range="0.35000" height="1.000000" flags="32" />
						<point pos="-3.926 1 -2.848" range="0.35000" height="1.000000" flags="32" />
						<point pos="-4.417 1 -1.566" range="0.35000" height="1.000000" flags="32" />
						<point pos="-1.880 1 3.781" range="0.35000" height="1.000000" flags="32" />
						<point pos="-0.243 1 3.917" range="0.35000" height="1.000000" flags="32" />
						<point pos="0.957 1 4.190" range="0.35000" height="1.000000" flags="32" />
						<point pos="2.621 1 3.644" range="0.35000" height="1.000000" flags="32" />
						<point pos="3.494 1 2.662" range="0.35000" height="1.000000" flags="32" />
						<point pos="4.313 1 1.817" range="0.35000" height="1.000000" flags="32" />
						<point pos="4.667 1 0.753" range="0.35000" height="1.000000" flags="32" />
						<point pos="4.777 1 -0.366" range="0.35000" height="1.000000" flags="32" />
						<point pos="4.449 1 -1.593" range="0.35000" height="1.000000" flags="32" />
						<point pos="4.013 1 -3.367" range="0.35000" height="1.000000" flags="32" />
						<point pos="1.066 1 -3.585" range="0.35000" height="1.000000" flags="32" />
						<point pos="-0.543 1 -3.912" range="0.35000" height="1.000000" flags="32" />
						<point pos="-4.771 1 0.725" range="0.35000" height="1.000000" flags="32" />
						<point pos="-4.144 1 3.808" range="0.35000" height="1.000000" flags="32" />
				</container>
		</group>
		<group name="ChristmasTree_Green" lootmax="10">
				<usage name="SeasonalEvent" />
				<usage name="Christmas"/>
				<container name="lootFloor" lootmax="10">
						<category name="containers" />
						<point pos="2.621 1 -3.694" range="0.35000" height="1.000000" flags="32" />
						<point pos="-2.043 1 -3.967" range="0.35000" height="1.000000" flags="32" />
						<point pos="-2.616 1 -3.121" range="0.35000" height="1.000000" flags="32" />
						<point pos="-3.926 1 -2.848" range="0.35000" height="1.000000" flags="32" />
						<point pos="-4.417 1 -1.566" range="0.35000" height="1.000000" flags="32" />
						<point pos="-1.880 1 3.781" range="0.35000" height="1.000000" flags="32" />
						<point pos="-0.243 1 3.917" range="0.35000" height="1.000000" flags="32" />
						<point pos="0.957 1 4.190" range="0.35000" height="1.000000" flags="32" />
						<point pos="2.621 1 3.644" range="0.35000" height="1.000000" flags="32" />
						<point pos="3.494 1 2.662" range="0.35000" height="1.000000" flags="32" />
						<point pos="4.313 1 1.817" range="0.35000" height="1.000000" flags="32" />
						<point pos="4.667 1 0.753" range="0.35000" height="1.000000" flags="32" />
						<point pos="4.777 1 -0.366" range="0.35000" height="1.000000" flags="32" />
						<point pos="4.449 1 -1.593" range="0.35000" height="1.000000" flags="32" />
						<point pos="4.013 1 -3.367" range="0.35000" height="1.000000" flags="32" />
						<point pos="1.066 1 -3.585" range="0.35000" height="1.000000" flags="32" />
						<point pos="-0.543 1 -3.912" range="0.35000" height="1.000000" flags="32" />
						<point pos="-4.771 1 0.725" range="0.35000" height="1.000000" flags="32" />
						<point pos="-4.144 1 3.808" range="0.35000" height="1.000000" flags="32" />
				</container>
		</group>

 

Пожалуйста, Войдите или Зарегистрируйтесь, чтобы увидеть это: Вложение.

Share this post


Link to post
Share on other sites



  • 0
		<group name="ChristmasTree_Green" lootmax="10">
				<usage name="SeasonalChristmasEvent" />
				<container name="lootFloor" lootmax="10">
						<category name="containers" />
						<tag name="floor"/>
						<tag name="shelves"/>
						<point pos="2.621 1 -3.694" range="0.35000" height="1.000000" flags="32" />
						<point pos="-2.043 1 -3.967" range="0.35000" height="1.000000" flags="32" />
						<point pos="-2.616 1 -3.121" range="0.35000" height="1.000000" flags="32" />
						<point pos="-3.926 1 -2.848" range="0.35000" height="1.000000" flags="32" />
						<point pos="-4.417 1 -1.566" range="0.35000" height="1.000000" flags="32" />
						<point pos="-1.880 1 3.781" range="0.35000" height="1.000000" flags="32" />
						<point pos="-0.243 1 3.917" range="0.35000" height="1.000000" flags="32" />
						<point pos="0.957 1 4.190" range="0.35000" height="1.000000" flags="32" />
						<point pos="2.621 1 3.644" range="0.35000" height="1.000000" flags="32" />
						<point pos="3.494 1 2.662" range="0.35000" height="1.000000" flags="32" />
						<point pos="4.313 1 1.817" range="0.35000" height="1.000000" flags="32" />
						<point pos="4.667 1 0.753" range="0.35000" height="1.000000" flags="32" />
						<point pos="4.777 1 -0.366" range="0.35000" height="1.000000" flags="32" />
						<point pos="4.449 1 -1.593" range="0.35000" height="1.000000" flags="32" />
						<point pos="4.013 1 -3.367" range="0.35000" height="1.000000" flags="32" />
						<point pos="1.066 1 -3.585" range="0.35000" height="1.000000" flags="32" />
						<point pos="-0.543 1 -3.912" range="0.35000" height="1.000000" flags="32" />
						<point pos="-4.771 1 0.725" range="0.35000" height="1.000000" flags="32" />
						<point pos="-4.144 1 3.808" range="0.35000" height="1.000000" flags="32" />
				</container>
		</group>

А если так?

Share this post


Link to post
Share on other sites
  • 0

@paranoyk Помогло, но часть подарков все равно улетают в общий спавн. Вернул старый стандартный Usage та же история.
Единственное такая ошибка в консоли.

21:24:10 !!! [CE][DE] Programatically adding "ChristmasTree_Green" to types, please manually define in types.xml instead.
21:24:10 [CE][SpawnRandomLoot] (StaticChristmasTree) :: Type: ChristmasTree_Green, lootmin: 3, lootmax: 4, wanted: 3, deloot: 2, containermaxsum: 10
21:24:10 !!! (child) ChristmasTree_Green spawns loot or dispatch but can not be saved because of non-saveable StorageCategory.

 

Edited by alex_good_kaban (see edit history)

Share this post


Link to post
Share on other sites
  • 0

ChristmasTree_Green  в тайпс есть?

Типа
 

    <type name="ChristmasTree_Green">
        <nominal>0</nominal>
        <lifetime>7200</lifetime>
        <restock>0</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="ChristmasTree">
        <nominal>0</nominal>
        <lifetime>7200</lifetime>
        <restock>0</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>

 

Share this post


Link to post
Share on other sites
  • 0

Есть, уже и в ванильный пытался закидывать.(У меня все тайпсы вынесены в отдельные файлы)

Share this post


Link to post
Share on other sites
  • 0

Дык пишет же...
"Programatically adding "ChristmasTree_Green" to types, please manually define in types.xml instead"


<event name="StaticChristmasTree">

<nominal>8</nominal>  у вас точек спавна на 30 ёлок??

<min>3</min>

<max>5</max>
....ну хотя бы

    <event name="StaticChristmasTree">
        <nominal>5</nominal>
        <min>5</min>
        <max>5</max>
        <lifetime>7200</lifetime>
        <restock>900</restock>
        <saferadius>50</saferadius>
        <distanceradius>50</distanceradius>
        <cleanupradius>300</cleanupradius>
        <secondary>InfectedSanta</secondary>
        <flags deletable="0" init_random="0" remove_damaged="1"/>
        <position>fixed</position>
        <limit>child</limit>
        <active>1</active>
        <children>
            <child lootmax="4" lootmin="2" max="3" min="1" type="ChristmasTree_Green"/>
            <child lootmax="4" lootmin="2" max="3" min="1" type="ChristmasTree"/>
        </children>
    </event>



 

Share this post


Link to post
Share on other sites
  • 0

Чешу репу....

(кстати не делайте лайфтайм предмета меньше времени ивента....иногда не очень пользитльно)
Слушайте,а зачем мы себе компасируем мозги....в тайпс для коробок и ёлок убрать нафинг <tag name="floor"/> <tag name="shelves"/>
Если у вас нет "вторичного ивента- не вписывайте <child lootmax="4" lootmin="2"....
Проверю у себя, что за....

Share this post


Link to post
Share on other sites
  • 0

Да я с 1.22 уже мучаюсь с этими usage и category не фига не работают, кидает куда попало. Что ты подразумеваешь под вторичным ивентом?

Share this post


Link to post
Share on other sites
  • 0

@paranoyk Итог, елки работают подарки вроде перестали улетать в общий спавн (ничего не удалял что  ты написал). 45 елок сейчас на сервере. Но ошибки эти так же остались.

Share this post


Link to post
Share on other sites
  • 0

....вот именно,перестали улетать, но не прелетают куда нужно. тоже поймал это дело, бум решать

 

Share this post


Link to post
Share on other sites
  • 0

Да тут похоже не решишь,  это в самом DayZ потому что до этого пытался добавить новые категории и точки спавна в дома для предметов которые можно обыскивать скриптом, пол дня работают нормально, потом начинается вакханалия.

Share this post


Link to post
Share on other sites
  • 0

Ээээ,как бы сказать так .... Запустил свой старый вариант. Заработало.... Да в логах вся эта хрень но работает. Сегодня в 23.30 вернусь с работы пришлю файлы. 

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you automaticly agree to our Guidelines and Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.