Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • Нужна помощь?

    Создайте тему в соответствующем разделе
    Не нужно писать всё в чат!
  • Продаёте или покупаете?

    Пользуйтесь услугами гаранта
    Мы сделаем вашу сделку безопасной
  • Не хотите БАН?

    Пожалуйста, ознакомьтесь с нашими правилами
    Не нарушайте порядок
  • Загляните на торговую площадку

    Там вы можете купить
    Всё что касается игровых серверов
yTka

[Dayz 0.63] Генерация новых точек для спавна лута в зданиях

Recommended Posts

Ставлю в оригинале,думаю все кому надо поймут )

Что данный способ даёт ?

Если вы поставили на карту новые здания и хотите там видить лут,делайте так как указанно ниже:

 

*******************HOW TO GENERATE NEW LOOT POSITIONS ON THE MAP FOR YOUR CUSTOM BUILDINGS********************************
                                                -DaOne
First things first, MAKE SURE your custom added buildings SPAWN BEFORE THIS SCRIPT gets execute!! OR ELSE it will not pick up the new buildings!!!
 
Add the following code to any void() That runs after your buildings have spawned!
I recommend to run this code within your mission's BASE CLASS eg CustomMission: MissionServer ( Make a void and name it OnInit )
LIKE THIS:: override void OnInit() { /* Code */  }
INSIDE IT ADD:
 
        CETesting TestHive = GetTesting();
        TestHive.ExportProxyProto();
        TestHive.ExportProxyData( "7500 0 7500", 7000 ); //Dont fuck around with these numbers
 
NOW RUN THE SERVER AND WAIT APPROX 30-60 SECONDS AFTER IT READS THE MISSION!
ONCE YOU SEE THIS IN THE CONSOLE: [CE][MapExport] :: entity found:13722, entity valid:8983, types total:224... took 33 sec
GO TO YOUR STORAGE FOLDER IN THE MISSION, OPEN IT AND YOU SHOULD SEE A NEW FOLDER NAMED 'export' INSIDE IT WILL CONTAIN 2 XML's COPY BOTH AND REPLACE THE OLD ONES WITH THE NEW ONES, MAKE SURE YOU REMOVE THE CODE SO IT DOES NOT GENERATE AGAIN AND RESTART SERVER.

 

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.