Devil's Island

Complete game mode that provides more endgame content and more

Total Downloads: 1,167 - First Release: Oct 6, 2015 - Last Update: Jul 29, 2018

5/5, 20 likes
  1. Edit the DevilsIsland.cs file and find the
    Code:
     if (Physics.Raycast(player.eyes.HeadRay()
    replace with above fore mentioned code
    Code:
    if (Physics.Raycast(player.eyes.HeadRay(), out hit, 10f))
                    targetBox = hit.GetEntity().GetComponent<StorageContainer>();
            
                if (targetBox != null && targetBox.GetType() == typeof(BoxStorage))
                {
                    State.LootContainer = targetBox;
                    PrintToChat(player, Text.Success_Looting);
                    return;
                }
    as mentioned in post #195
     
  2. I'm new to this kind of thing and not very smart when it comes to it but the only thing in my text editor options are as follows

    {
    "AllowBossDisconnect": false,
    "AutoBossPromoteDelay": 300,
    "AutoBossPromoteMinPlayers": 5,
    "BossPositionNotifierEnabled": true,
    "BossPositionNotifierInterval": 90,
    "DecoyPrice_Item": "metal.refined",
    "DecoyPrice_Quantity": 5,
    "EvadePrice_Item": "leather",
    "EvadePrice_Quantity": 100,
    "FallbackWorldSize": 4000,
    "HeliStrikePrice_Item": "metal.refined",
    "HeliStrikePrice_Quantity": 25,
    "HelpNotifierEnabled": true,
    "HelpNotifierInverval": 300,
    "MaxHelis": 2
    }

    I'm using TCAdmin server if that helps.
     
  3. that's the config file that generated when you first install the plugin you have to edit the plugin
     
  4. Sp if I add the text you mentioned previously, that should fix the problem?
     
  5. yes! it did for me
     
  6. I will try that, thank you for all of your help and patience my friend!
     
  7. I would share my edited plugin but I've changed it a lot so that it does not show location of boss and you don't become an outlaw if you kill NPC/player and stop paying taxes, boss only sees location of Rebels not paying taxes, modified all reference to boss as the Ruler :p
     
  8. Sounds very interesting!
    [DOUBLEPOST=1532558482][/DOUBLEPOST]
    Actually, that sounds like the way I would like mine set to. If you don't mind, I'd like those edits :)
     
  9. here :)
     

    Attached Files:

  10. Thank you my friend!
     
  11. welcome !!
     
  12. I would like to submit my worked-on version for , in mind , helping you keeping this plugin somewhat updated-
    Changes made-

    -Added Config option to display the boss location with a waypoint arrow on /where command

    -Added a bit more for handling the Heli - if the called in heli, kills his assigned target, The heli vanishes as the job is done ( still probably need to flesh that out a bit to make it look better then just the heli dissapearing , aswell as handling, if the heli lost his target, or the target is naked.)

    - In case The boss dies and a new player became the boss, the Tax rates will get reset down to 10%, as i saw on my server it was just constantly on max.

    and-changes that already were talked about
    -The /loot command
    -The /status command

    goo. gl / BeWYLG

    Sry for the link, and no file . Cause it wont let me upload or anything.
     
  13. thanks i do like this plugin and do agree with some, i've never liked giving away locations of players (know thy neighbor) so i have just ommitted that in the file but config options are better, i would love to see more aggressive assaults on non tax payers and heli config option are awesome maybe some optional dependency support like carpet bomb or rain of fire plugin that targets player. i also though it was too easy to become an outlaw and not pay taxes by killing npc so i disabled that and the only way you can not pay taxes is to physically rebel and therefore give up your location to the boss, i am following this so hopefully again this will give players more in game things to do.
     
  14. PM me the file and I'll update it.
     
  15. XDefaultX updated Devil's Island with a new update entry:

    0.8.5

     
  16. can be boss. prefix added for all the commands?
    also rules could be help instead =D reflects actual functionality.
    thx in advance! very cool game mode =]
     
  17. Use new grid system for locations to suit new rust map?

    Code:
            string GetGridLocation(Vector3 location)
            {
                //Credits !!!! base code from carny666's GrTeleport plugin, the rest by Colon Blow !!!
                string gridLocation = "";
                int numx = Convert.ToInt32(location.x);
                int numz = Convert.ToInt32(location.z);            float offset = (ConVar.Server.worldsize) / 2;
                float step = (ConVar.Server.worldsize) / (0.0066666666666667f * (ConVar.Server.worldsize));
                string start = "";            int diff = Convert.ToInt32(step);
                int absoluteDifference = diff;            char letter = 'A';
                int number = 0;
                for (float xx = -offset; xx < offset; xx += step)
                {
                    for (float zz = offset; zz > -offset; zz -= step)
                    {
                        if (Math.Abs(numx - xx) <= diff && Math.Abs(numz - zz) <= diff)
                        {
                            gridLocation = $"{start}{letter}{number}";
                            break;
                        }
                        number++;
                    }
                    number = 0;
                    if (letter.ToString().ToUpper() == "Z")
                    {
                        start = "A";
                        letter = 'A';
                    }
                    else
                    {
                        letter = (char)(((int)letter) + 1);
                    }
                    if (Math.Abs(numx - xx) <= diff)
                    {
                        break;
                    }
                }
                return gridLocation;
            }
    Also add prefix for names in chat, betterchat support maybe?
    Cool plugin btw, looking forward to try it out.

    Pm me if you need testers for future versions
     
  18. nvm, I'm blind

    edit: your gridrefernce will be wrong for different sized map, i use this for now:

    Code:
            public string GridReference(Component component, out bool moved)
            {
                var worldSize = ConVar.Server.worldsize;
                float scale = 150f;
                var pos = component.transform.position;
                float x = pos.x + worldSize/2;
                float z = pos.z + worldSize/2;
                int lat = (int)(x / scale);
                char latChar = (char)('A' + lat);
                int lon = (int)(worldSize/scale - z/scale);
                moved = false; // We dont know, so just return false
                return string.Format("{0}{1}", latChar, lon);
            }
    
     
    Last edited by a moderator: Aug 4, 2018
  19. Not sure if this is known but for some reason all the Grids references are wrong, for example when the Boss is at F17 it says he's at H24, any help? I want to centre my server around this mod.
     
  20. I just posted a fix. Am I shadow banned or something?