Jump to content

Water Treasure 1.0.0

$13.00
   (0 reviews)

12 Screenshots

About Water Treasure

Water Treasure is event where Tugboats will spawn on ocean with loot ,npc and door to brake them !

Event can be started by timer , or when player get custom item and starts event (when he unwarp custom item) .
(Like in my TreasureMap plugin , https://codefling.com/plugins/treasure-maps
They are great combination ,so players can search for chest on ocean and land !
When event starts Tugboat will spawn on ocean and will follow cargo path .
You can have more types of event .

Give your players more action on ocean ,not only on land !
Great for PvP and PvE servers !


When Timed event map marker is visable for all players .
When player unwarp/spawn Tugboat/Chest only him will see that map marker on map !
When player loot chest on tugobat ,tugobat will be destroyed after some time ,there will be fire what can damage players .
If Tugobat is moving on ocean ,when player hit one of Npc Tug will stop for some short period ..If no one hits again Npc in that short period Tug will move again.

Each event is totaly customizable :

You can make different difficulties od each event .
What chest will spawn on that boat ,what loot will be inside of it .
Will there be NPC and how much of them , you can also chose their kits ,stats (hp,dmg and so on) .
Will there be door what player need to brake to get that chest , you can change prefab of door and chose HP of door .
You can chose will Tugboat move or he will be stationary ,and also speed of tugboat .


Commands :
ChatCommand:  /givewatermap <display name> <quantity>
ChatCommand:  /givewatermapto <player ID/name> <display name> <quantity>
ConsoleCommand:  givewatermapto <player ID/name> <display name> <quantity>
ConsoleCommand:  wmapsim <lootTable> <number of chests>  with this you can simulate what loot will player get for each chest

Perm:
watertreasure.give - when you have this perm you can give item.


Example Config :
"AutomaticEventEnabled": true,   //// Chose will there be automated events 
  "MaxEventsAtTime": 5,     //// max events per time 
  "MinEventTimer": 1800.0,     //// min max timer when event will start
  "MaxEventTimer": 3600.0,
  "MaxOpenedWaterMaps": 3,  //// how much events player can start before going on cooldown
  "WaterMapOpenCooldown": 60, //// cooldown for player to wait to start new event
  "Chest/Tug/NPC DestroyTimer": 7200.0,   //// after what time will Tug/Chest be destroyed if no one end event

"WaterMaps": [
    {
      "EventProbability": 1.0,    //// if automatic event enabled what probability will be to spawn this event .
      "MarkerRadius": 0.2,    //// how big marker will be 
      "MarkerDisplayName": "Green Water Treasure",   //// Name what players will see on map for that event
      "MarkerColor": "00FF00",   //// Color of map marker
      "MarkerOutlineColor": "00FF00",   //// OutlineColor of marker
      "CustomStackSize": 10,    //// Stack size of that custom item 
      "ItemDisplayName": "Green Water Treasure",    //// name of that custom item when player have it 
      "ItemShortname": "xmas.present.large",   //// shortname of that custom item , i would not change this !
      "SkinID": 3323841900,   //// SkinID of that custom item
      "SpawnedPrefabChest": "assets/prefabs/deployable/woodenbox/woodbox_deployed.prefab",   //// what chest will spawn on that tugboat 
      "SpawnedPrefabSkin": 0,    //// you can put SkinID for that chest what will spawn on tug
      "Drive": true,    //// if true Tugboat will drive on cargo path ,if false it will be stationary 
      "SpeedMultiplier": 1.0,     //// speed of boat if drive true ... 1.0 is default speed 
      "HaveDoor": true,   //// do you wanna have door on that Tugboat what players need to brake 
      "DoorHealth": 400.0,   //// if there are doors ,what HP they will have 
      "DoorPrefab": "assets/prefabs/building/door.hinged/door.hinged.wood.prefab",  //// door prefab ..you can change it 
      "DoorSkinID": 0,   //// you can even put skinned doors
      "MinItemPerChest": 1,    //// Min / max items per that chest on tugboat
      "MaxItemPerChest": 5,
      "LootTable": "greenloot",
      "LootTables": {
        "greenloot": [
          {
            "DisplayName": "",
            "Shortname": "scrap",
            "SkinID": 0,
            "MaxItemAmount": 2,
            "MinItemAmount": 1,
            "Probability": 0.5,
            "IsBlueprint": false
          }
        ]
      },
      "NPCSpawns": [
        {
          "NpcDisplayName": "Water Treasure GreenGuard",
          "SpawnCount": 3,
          "Health": 100,
          "SenseRange": 40.0,
          "ListenRange": 40.0,
          "AttackRangeMultiplier": 1.0,
          "CheckVisionCone": false,
          "VisionCone": 140.0,
          "HostileTargetsOnly": false,
          "DamageScale": 1.0,
          "AimConeScale": 1.0,
          "Speed": 6.0,
          "MemoryDuration": 30.0,
          "Kit": "",
          "WearItems": [
            {
              "ShortName": "hazmatsuit.diver",
              "SkinID": 0
            }
          ],
          "BeltItems": [
            {
              "ShortName": "rifle.ak",
              "Amount": 1,
              "SkinID": 0,
              "Mods": [
                "weapon.mod.flashlight"
              ],
              "Ammo": "ammo.rifle"
            }
          ],
          "CustomLoot": true,
          "LootTable": [
            {
              "DisplayName": "",
              "Shortname": "scrap",
              "SkinID": 0,
              "MaxItemAmount": 1,
              "MinItemAmount": 1,
              "Probability": 1.0,
              "IsBlueprint": false
            }
          ]
        }
      ],
      "Spawns": [
        {
          "PrefabPath": "assets/prefabs/npc/scientist/scientistnpc.prefab", //// this is chest where can that custom item spawn ,you can add more chests 
          "SpawnChance": 100.0
        }
      ]
    },


User Feedback

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.2k

Files Sold

Total number of files sold.

2m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

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.