Jump to content
DAYZ-CODE.RU - Создай свой игровой сервер

veld

Members
  • Posts

    514
  • Joined

  • Last visited

  • Отзыв

    0%

Posts posted by veld

  1. @HeonЛечи пациента, не понимает бедняга что тысяча слов хуже чем один файл. Наверно там секреты Атлантиды и копей царя Соломона. Проверь у этого индивидуума инит и....., тайпс срабатывает кстати. Может на половину, вообщем, лечи 😅(у товарища паранойя, осторожней)
    П.С. Только для Неона, есть вариант что сам сервер где раположено всё это НЕ загружает как надо, а читает из кэша старое. Такое изредка случалось в некоторых палатах по больнице. И подключен ли у него AgricultureCore...



     

  2. event
     

    	<event name="VehiclePorsche_911RWB_Black">
        <nominal>2</nominal>
        <min>1</min>
        <max>3</max>
        <lifetime>300</lifetime>
        <restock>0</restock>
        <saferadius>500</saferadius>
        <distanceradius>500</distanceradius>
        <cleanupradius>200</cleanupradius>
        <flags deletable="1" init_random="0" remove_damaged="1"/>
        <position>fixed</position>
        <limit>mixed</limit>
        <active>1</active>
        <children>
            <child lootmax="0" lootmin="0" max="4" min="1" type="Porsche_911RWB_Black"/>
        </children>
    	</event>

    types
     

        <type name="Porsche_911RWB_CoDriver_Door_Black">
            <nominal>0</nominal>
            <lifetime>28800</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"/>
            <category name="lootdispatch"/>
            <usage name="Industrial"/>
        </type>
        <type name="Porsche_911RWB_Driver_Door_Black">
            <nominal>0</nominal>
            <lifetime>28800</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"/>
            <category name="lootdispatch"/>
            <usage name="Industrial"/>
        </type>
        <type name="Porsche_911RWB_Hood_Black">
            <nominal>0</nominal>
            <lifetime>28800</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"/>
            <category name="lootdispatch"/>
            <usage name="Industrial"/>
        </type>
        <type name="Porsche_911RWB_Trunk_Black">
            <nominal>0</nominal>
            <lifetime>28800</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"/>
            <category name="lootdispatch"/>
            <usage name="Industrial"/>
        </type>
        <type name="Porsche_911RWB_Front_Wheel">
            <nominal>40</nominal>
            <lifetime>28800</lifetime>
            <restock>0</restock>
            <min>30</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="lootdispatch"/>
            <usage name="Industrial"/>
        </type>
        <type name="Porsche_911RWB_Front_Wheel_Ruined">
            <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="lootdispatch"/>
        </type>

    cfgspawnabletypes

    	<type name="Porsche_911RWB_Black">
        <attachments chance="1.00">
            <item name="Porsche_911RWB_Trunk_Black" chance="1.00" />
        </attachments>
        <attachments chance="1.00">
            <item name="Porsche_911RWB_Hood_Black" chance="1.00" />
        </attachments>
        <attachments chance="1.00">
            <item name="Porsche_911RWB_Driver_Door_Black" chance="1.00" />
        </attachments>
        <attachments chance="1.00">
            <item name="Porsche_911RWB_CoDriver_Door_Black" chance="1.00" />
        </attachments>
        <attachments chance="1.00">
            <item name="Porsche_911RWB_Front_Wheel" chance="1.00" />
        </attachments>
        <attachments chance="1.00">
            <item name="Porsche_911RWB_Front_Wheel" chance="1.00" />
        </attachments>
        <attachments chance="1.00">
            <item name="Porsche_911RWB_Front_Wheel" chance="1.00" />
        </attachments>
        <attachments chance="1.00">
            <item name="Porsche_911RWB_Front_Wheel" chance="1.00" />
        </attachments>
        <attachments chance="1.00">
            <item name="CarRadiator" chance="1.00" />
        </attachments>
        <attachments chance="1.00">
            <item name="CarBattery" chance="1.00" />
        </attachments>
        <attachments chance="1.00">
            <item name="SparkPlug" chance="1.00" />
        </attachments>
        <attachments chance="1.00">
            <item name="HeadlightH7" chance="1.00" />
        </attachments>
        <attachments chance="1.00">
            <item name="HeadlightH7" chance="1.00" />
        </attachments>
    	</type>

    cfgeventspawns

    	<event name="VehiclePorsche_911RWB_Black">
    		<pos x="8857.023437" z="11649.842774" a="13.832942" />
    		<pos x="8705.510742" z="11638.066407" a="349.38562" />
    		<pos x="6807.616211" z="2688.372803" a="0" />
    		<pos x="2678.105225" z="5594.08545" a="14.997099" />
    		<pos x="5676.147461" z="2372.28125" a="159.832138" />
    		<pos x="5866.409668" z="2201.368164" a="78.957336" />
    		<pos x="3338.138428" z="4957.521485" a="315.282593" />
    		<pos x="6852.667969" z="3072.889404" a="110.047241" />
    		<pos x="6483.750489" z="2902.655274" a="0" />
    		<pos x="6916.957519" z="3421.918457" a="296.656128" />
    		<pos x="2529.212891" z="5041.117676" a="56.153545" />
    	</event>

     

    • Like 1
  3. ......не через отдельную,а через общую с другими модами 

    Лично я к примеру вижу что вы спавните ивентом ЦевилСедан 5 машин причём как минимум 3 должны быть ванильной волгой, три вишнёвой волгой и три чёрной...
    Промолчу про вайп и прочее. Хотя, русформа, помню как они "летали" после 1,19....

  4. ""помогите прописать моды Rus_forma_ vechikle,history,motorcycel"" - ""так я через папку и цфгкоре подключил тайпс и все равно пропадают ""

    чёт не пойму в чём вопрос...


    @Одиночка
    ничего не смутило???

    	<event name="VehicleCivilianSedan"> <!-- was 3,1,8 too many -->
            <nominal>5</nominal> 
    		<min>3</min>             
    		<max>5</max>         
            <lifetime>300</lifetime>
            <restock>0</restock>
            <saferadius>500</saferadius>
            <distanceradius>500</distanceradius>
            <cleanupradius>200</cleanupradius>
            <flags deletable="0" init_random="0" remove_damaged="1"/>
            <position>fixed</position>
            <limit>mixed</limit>
            <active>1</active>
            <children>
                <child lootmax="0" lootmin="0" max="5" min="3" type="CivilianSedan"/>
                <child lootmax="0" lootmin="0" max="5" min="3" type="CivilianSedan_Black"/>
                <child lootmax="0" lootmin="0" max="5" min="3" type="CivilianSedan_Wine"/>
                <child lootmax="0" lootmin="0" max="5" min="0" type="GAZ_M20"/>
                <child lootmax="0" lootmin="0" max="5" min="0" type="GAZ_M20_white"/>
                <child lootmax="0" lootmin="0" max="5" min="0" type="GAZ_M20_green"/>
                <child lootmax="0" lootmin="0" max="5" min="0" type="GAZ_M20_black"/>
                <child lootmax="0" lootmin="0" max="5" min="0" type="GAZ_M20_red"/>
                <child lootmax="0" lootmin="0" max="5" min="0" type="GAZ_M20_blue"/>
                <child lootmax="0" lootmin="0" max="5" min="0" type="GAZ_3110_volga"/>
                <child lootmax="0" lootmin="0" max="5" min="0" type="GAZ_3110_volga_taxi"/>
                <child lootmax="0" lootmin="0" max="5" min="0" type="GAZ_3110_volga_white"/>
                <child lootmax="0" lootmin="0" max="5" min="0" type="GAZ_3110_volga_black"/>
                <child lootmax="0" lootmin="0" max="5" min="0" type="GAZ21_Volga"/>
                <child lootmax="0" lootmin="0" max="5" min="0" type="GAZ21_Volga_black"/>
                <child lootmax="0" lootmin="0" max="5" min="0" type="GAZ21_Volga_green"/>
                <child lootmax="0" lootmin="0" max="5" min="0" type="GAZ_13_Chaika"/>
                <child lootmax="0" lootmin="0" max="5" min="0" type="GAZ_13_Chaika_white"/>
                <child lootmax="0" lootmin="0" max="5" min="0" type="GAZ_12"/>
                <child lootmax="0" lootmin="0" max="5" min="0" type="GAZ_12_white"/>
                <child lootmax="0" lootmin="0" max="5" min="0" type="GAZ_12_kombi"/>
            </children>
        </event>


     

  5. <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    <economycore>
    	<classes>
    <!--
    These are rootclasses to be used by economy.
    Do not forget to add attribute act="character", if root class represents character (player, infected, animal)
    Do not forget to add attribute act="car", if root class represents moveable vehicles
    -->
    		<rootclass name="DefaultWeapon" /> <!-- weapons -->
    		<rootclass name="DefaultMagazine" /> <!-- magazines -->
    		<rootclass name="Inventory_Base" /> <!-- inventory items -->
    		<rootclass name="HouseNoDestruct" reportMemoryLOD="no" /> <!-- houses, wrecks -->
    		<rootclass name="SurvivorBase" act="character" reportMemoryLOD="no" /> <!-- player characters -->
    		<rootclass name="DZ_LightAI" act="character" reportMemoryLOD="no" /> <!-- infected, animals -->
    		<rootclass name="CarScript" act="car" reportMemoryLOD="no" /> <!-- cars (sedan, hatchback, transitBus, V3S, ...) -->
    		<rootclass name="BoatScript" act="car" reportMemoryLOD="no" /> <!-- boats -->
    	</classes>
    	<defaults>
    		<default name="dyn_radius" value="30" />
    		<default name="dyn_smin" value="0" />
    		<default name="dyn_smax" value="0" />
    		<default name="dyn_dmin" value="1" />
    		<default name="dyn_dmax" value="5" />
    		<default name="log_ce_loop" value="false"/>
    		<default name="log_ce_dynamicevent" value="false"/>
    		<default name="log_ce_vehicle" value="false"/>
    		<default name="log_ce_lootspawn" value="false"/>
    		<default name="log_ce_lootcleanup" value="false"/>
    		<default name="log_ce_lootrespawn" value="false"/>
    		<default name="log_ce_statistics" value="false"/>
    		<default name="log_ce_zombie" value="false"/>
    		<default name="log_storageinfo" value="false"/>
    		<default name="log_hivewarning" value="true"/>
    		<default name="log_missionfilewarning" value="true"/>
    		<default name="save_events_startup" value="true"/>
    		<default name="save_types_startup" value="true"/>
    	</defaults>
        <ce folder="custom">
    		<file name="tergeTypes.xml" type="types" />
    		<file name="Types (Required items).xml" type="types" />
    		<file name="Types (TerjeSkills compatible items).xml" type="types" />
    		<file name="types_rf_garage_cl.xml" type="types" />
    		<file name="types (1-12-24).xml" type="types" />
    		<file name="types123.xml" type="types" />
    		<file name="apocalypticPAZ_types.xml" type="types" />
    		<file name="types23.xml" type="types" />
     		<file name="ALV_SpawnableTypes.xml" type="spawnabletypes" />
    		<file name="types (open it).xml" type="types" />
    		<file name="types456.xml" type="types" />
    		<file name="mmg_types_ADMINGEAR.xml" type="types" />
    		<file name="mmg_types_alpine.xml" type="types" />
    		<file name="mmg_types_atacs.xml" type="types" />
    		<file name="mmg_types_black.xml" type="types" />
    		<file name="mmg_types_carbines.xml" type="types" />
    		<file name="mmg_types_dark_woodland.xml" type="types" />
    		<file name="mmg_types_erdl.xml" type="types" />
    		<file name="mmg_types_green.xml" type="types" />
    		<file name="mmg_types_multicam.xml" type="types" />
    		<file name="mmg_types_multicam_tropic.xml" type="types" />
    		<file name="mmg_types_multicamblack.xml" type="types" />
    		<file name="mmg_types_NBC+NVG.xml" type="types" />
    		<file name="mmg_types_patches.xml" type="types" />
    		<file name="mmg_types_police.xml" type="types" />
    		<file name="mmg_types_tan.xml" type="types" />
    		<file name="mmg_types_ucp.xml" type="types" />
    		<file name="mmg_cfgspawnabletypes.xml" type="spawnabletypes" />
    		<file name="TypesXML_Paragon.txt" type="types" />
    		<file name="fiat_126p.xml" type="types" />
    		<file name="124.xml" type="types" />
    		<file name="impreza_types.xml" type="types" />
    		<file name="types weapons.xml" type="types" />
    		<file name="types56.xml" type="types" />
    		<file name="TG_types.txt" type="types" />
    		<file name="TG_cfgspawnabletypes.txt" type="spawnabletypes" />
    		<file name="MMGCC_types.xml" type="types" />
    		<file name="RUSForma_Motorcycles_types.xml" type="types" />
    		<file name="landcruiser_types.xml" type="types" />
    		<file name="cookz_types.xml" type="types" />
    		<file name="RUSForma_vehicles_historical_types.xml" type="types" />
    		<file name="types_kr_weaponpack.xml" type="types" />
    		<file name="cfgspawnabletypes_kr_weaponpack.xml" type="spawnabletypes" />
    		<file name="SovietWeapons_spawnabletypes.xml" type="spawnabletypes" />
    		<file name="SovietWeapons_types.xml" type="types" />
    		<file name="SFEWeapon_types.xml" type="types" />
    		<file name="type99s.xml" type="types" />
    		<file name="spawnable99types.xml" type="spawnabletypes" />
    		<file name="CLP_types.xml" type="types" />
    		<file name="SprayCans_types.xml" type="types" />
    		<file name="UAZ3151_types.xml" type="types" />
    		<file name="KRAZ6322_types.xml" type="types" />
    		<file name="LX470_types.xml" type="types" />
    		<file name="RRCullinan_types.xml" type="types" />
    		<file name="SNAFU_types.xml" type="types" />
    		<file name="snafuspawnabletypes25percent.xml" type="spawnabletypes" />
    		<file name="86.xml" type="spawnabletypes" />
    		<file name="59.xml" type="types" />
    		<file name="Ammo_types.xml" type="types" />
    		<file name="Weapon_types.xml" type="types" />
    		<file name="WeaponAttachments_types.xml" type="types" />
    		<file name="WeaponMagazines_types.xml" type="types" />
    		<file name="WeaponMelee_types.xml" type="types" />
    		<file name="WeaponOptics_types.xml" type="types" />
    		<file name="Weapons_spawnabletypes.xml" type="spawnabletypes" />
    		<file name="TacticalFlava_types.xml" type="types" />
    		<file name="new_types.xml" type="types" />
    		<file name="new_spawnabletypes.xml" type="spawnabletypes" />
    		<file name="TacticalFlava_spawnabletypes.xml" type="spawnabletypes" />
    		<file name="cfgspawnabletypes.xml" type="spawnabletypes" />
    		<file name="PWM_types.xml" type="types" />
    		<file name="PWM_cfgspawnabletypes.xml" type="spawnabletypes" />
    		<file name="BBP_Crafted_Types.xml" type="types" />
    		<file name="BBP_Loot_Types.xml" type="types" />
    		<file name="BBP_types.xml" type="types" />
    		<file name="type83s.xml" type="types" />
    		<file name="ty63pes.xml" type="types" />
    		<file name="morefood_cfgspawnabletypes.xml" type="spawnabletypes" />
    		<file name="morefood_cfgspawnabletypes_august2020update.xml" type="spawnabletypes" />
    		<file name="morefood_types.xml" type="types" />
    		<file name="morefood_types_august2020update.xml" type="types" />
    		<file name="ty67pes.xml" type="types" />
    		<file name="ty39pes.xml" type="types" />
    		<file name="example_types_complete.xml" type="types" />
    		<file name="TypesXM67L_Paragon.xml" type="types" />
    		<file name="t67ypes.xml" type="types" />
    		<file name="ty85pes.xml" type="types" />
    		<file name="FOG_Types.xml" type="types" />
    		<file name="FOG_spawnabletypes.xml" type="spawnabletypes" />
    		<file name="RUSForma_vehicles_types.xml" type="types" />
    		<file name="cfgspawn53abletypes.xml" type="spawnabletypes" />
    		<file name="typ4757es.xml" type="types" /> 
            <file name="89419918.xml" type="types" />
            <file name="3988465.xml" type="types" />
            <file name="EXAMPLE_types.xml" type="types" />
    		<file name="EXAMPLE_cfgspawnabletypes.xml" type="spawnabletypes" />
        </ce>
    </economycore>

    Да, вы нашли ошибку. 
    Если все модовые файлы в одной папке то cfgeconomycore должен быть таким.

    Лучше для каждого мода создать отдельную папку.

     

  6. В 06.03.2026 в 19:43, _MayHem_ сказал:

    Логика работы:

    • если дверь ещё не заперта

    • и у предмета нет KeyId → генерируется новый KeyId

    • если у предмета уже есть KeyId → используется существующий

    ...один ключ для всех дверей?
    если у предмета уже есть KeyId → в чат сообщение "ключ уже используется" → отмена присвоения ID двери
    И да, совет....использовать НЕ ванильные предметы.
    И создать слот "связка ключей" на персонаже ....

     

×
×
  • Create New...