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
erni

Рандомный спавн скина на берегу.

Ребят я задолбал уже вас вопросами наверное)))

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

скрипт очень крутой, я разобрался в нем и теперь могу настраивать вип подписки огромное спасибо.

Помогите вернуть рандомне скины у кепок)))))))))

 

Share this post


Link to post
Share on other sites

7 answers to this question

Recommended Posts

  • 0

@Kosmo Да в файле sets.c  удалил все id предметов в кейсах. В общем удалил  только предметы в кейсах но кейсы все оставил пустыми по типу

 

case 1: //Set with number 1 (Сет с номером 1)
            {
                
                break;
            } 

 и так далее

Edited by erni (see edit history)

Share this post


Link to post
Share on other sites



  • 0

@Kosmo то есть я так понимаю, что я ставлю этот сетс и могу не апариватся с кепкой в init.c ?

Share this post


Link to post
Share on other sites
  • 0

@Kosmo Ух много точек надо будет создовать по берегу... а что делать с кодом в init.c ? 

 

override void StartingEquipSetup(PlayerBase player, bool clothesChosen)
    {
        player.RemoveAllItems();
        
        EntityAI itemEnt;
        ItemBase itemBs;
        
        itemEnt = player.GetInventory().CreateInInventory("BeanieHat_Black");
        itemBs = ItemBase.Cast(itemEnt);
        itemEnt = player.GetInventory().CreateInInventory("Sweater_Blue");
        itemBs = ItemBase.Cast(itemEnt);
        itemEnt = player.GetInventory().CreateInInventory("JumpsuitPants_Blue");
        itemBs = ItemBase.Cast(itemEnt);
        itemEnt = player.GetInventory().CreateInInventory("TunaCan");
        itemBs = ItemBase.Cast(itemEnt);
        itemEnt = player.GetInventory().CreateInInventory("Apple");
        itemBs = ItemBase.Cast(itemEnt);
        itemEnt = player.GetInventory().CreateInInventory("Canteen");
        itemBs = ItemBase.Cast(itemEnt);
        itemEnt = player.GetInventory().CreateInInventory("HuntingKnife");
        itemBs = ItemBase.Cast(itemEnt);
        itemEnt = player.GetInventory().CreateInInventory("WorkingBoots_Grey");
        itemBs = ItemBase.Cast(itemEnt);
        itemEnt = player.GetInventory().CreateInInventory("Chemlight_White");
        itemBs = ItemBase.Cast(itemEnt);
        My_Custom_Spawn_Parameters.Load_And_Check_StartLoadout(player);
    }
    
};

 

Он не как не помешает?

Edited by erni (see edit history)

Share this post


Link to post
Share on other sites
  • 0

@Kosmo Может можно как-то сделать рандомный скин в файле init.c ? 

Потому что я хотел оставить sets.c как файл для випок и работать с ними уже по файлу CustomSpawnPlayerConfig.txt (тут я ставлю уже стим айди человека, скин его по желанию, и координаты)

 

 

Так я походу догнал))) 

Отпишу как сделаю

Edited by erni (see edit history)

Share this post


Link to post
Share on other sites
  • 0

@Kosmo В общем все равно спавнятся негр))))

Я конечно не расист, но все же хотелось бы разнообразия)))))

Edited by erni (see edit history)

Share this post


Link to post
Share on other sites
  • 0

@Kosmo Да все прописал, прописал випки по координатам, настроил им сеты все работает.

Прописал кпекам стартовый лут тоже все работает, только одно но - постоянно появляются негры)))))))))

И я не могу найти строку которая отвечает за случайную генерацию скина.

Edited by erni (see edit history)

Share this post


Link to post
Share on other sites
  • 0
1 час назад, erni сказал:

@Kosmo Да все прописал, прописал випки по координатам, настроил им сеты все работает.

Прописал кпекам стартовый лут тоже все работает, только одно но - постоянно появляются негры)))))))))

И я не могу найти строку которая отвечает за случайную генерацию скина.

смотри конфиг файл заполняемый

UID|Skin_player|sets_numbers|points_spawns

если ты задал скин определенный кому-либо, то он и будет постоянно с ним именно.

 

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.