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
melti_santi

Вопрос по ивенту ChristmasTree

Добрый день, форумчане и форумчанки!)))

Давече решил на сервере запустить ивент с Рождественскими Ёлками(они же ChristmasTree).
Делал всё по гайду более разумных Homo Sapiens. Повторял все манипуляции аки обезьянка.
И о чудо! всё заработало, и начало спавниться.

Но радость моя была не долгой, а эйфория короткой.

Столкнулся с проблемой.

Помимо подарков, вокруг колючей нимфы(ёлки) начали появляться Land_Wreck_sed01_aban1_police.
2022-12-22_22-30-38.png.56ef90b02c1705756999c6f61c112279.png


Начал копать. Инфы в инете крайне мало(одна тема на Платоне), но я нашел сообщение:

К сожалению ответ был один и не помог решить вопрос(((
 

Что мне удалось выяснить:
• Совпадение координат - точно не в этом дело, т.к. тачки спавнятся вместо подарков(возможно когда у подарков заканчивается lifetime. И исключительно плотно вокруг ёлки.
• Отключил ивент StaticPoliceCar - не помогло.

По итогу прошу помощи у коллег по цеху)))

Буду рад любой инфе/предположению/совету. Можете просто носом потыкать, где я не прав.

event.xml

<event name="StaticChristmasTree">
  <nominal>13</nominal>
  <min>5</min>
  <max>13</max>
  <lifetime>43200</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="10" lootmin="5" max="13" min="5" type="ChristmasTree"/>
  </children>
</event>

types.xml

<type name="GiftBox_Large_1">
  <nominal>5</nominal>
  <lifetime>43200</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"/>
  <tag name="floor"/>
  <tag name="shelves"/>
  <usage name="SeasonalEvent"/>
</type>

mapgroupproto.xml

<group name="ChristmasTree" lootmax="10">
  <usage name="SeasonalEvent" />
  <container name="lootFloor" lootmax="10">
    <category name="containers" />
    <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>

cfgeventspavns.xml

<event name="StaticChristmasTree">
  <pos x="6560.29" z="2462.12" a="0.0" />
  <pos x="1652.66" z="14230.71" a="0.0" />
  <pos x="3801.06" z="8847.76" a="0.0" />
  <pos x="9442.32" z="8829.03" a="0.0" />
  <pos x="7903.16" z="12576.52" a="0.0" />
  <pos x="11617.75" z="14663.98" a="0.0" />
  <pos x="12830.08" z="10115.18" a="0.0" />
  <pos x="11221.94" z="12225.89" a="0.0" />
  <pos x="3471.93" z="12988.33" a="0.0" />
  <pos x="13933.42" z="13228.44" a="0.0" />
  <pos x="12022.64" z="9082.89" a="0.0" />
  <pos x="10468.54" z="2373.16" a="0.0" />
  <pos x="2725.48" z="5288.75" a="0.0" />
</event>

 

Edited by melti_santi
добавил кусок кода (see edit history)

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 1

Классно Тайпс полицейской волги как объект не ну а что круто. Когда уже запомните что Вреки это не игровой предмет, так же как и машины это не предмет, а ивент. Поэтому тайпс от волги таков должен быть. Лень ванильный файл глянуть. А потом мы удивляемся откуда у игроков под елками Волги, а в поезд Краше автомобили

<type name="Land_Wreck_sed01_aban1_police">
        <nominal>0</nominal>
        <lifetime>14400</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>

 

Edited by AKuznecov (see edit history)

Share this post


Link to post
Share on other sites



  • 1

И? Сравните с тайпсом здорового человека,а не обезьяны и поймёте.

Share this post


Link to post
Share on other sites
  • 0
30 минут назад, paranoyk сказал:

Тайпс Land_Wreck_sed01_aban1_police в студию..

 

 

Воть)))

<type name="Land_Wreck_sed01_aban1_police">
  <nominal>12</nominal>
  <lifetime>7200</lifetime>
  <restock>0</restock>
  <min>0</min>
  <quantmin>-1</quantmin>
  <quantmax>-1</quantmax>
  <cost>100</cost>
  <flags count_in_cargo="1" 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

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

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