Code Monkey home page Code Monkey logo

random_airdrops's Introduction

Random Airdrops

A mod for Project Zomboid creating a fully random airdrops to the server, and also fully customizable, you can change the loot tables, hours to remove, chance to spawn every hour, spawn coordinates.

The mod is compatible with dedicated servers and singleplayer

Features

  • Airdrops never spawn above each other
  • Airdrops doenst despawn if player is close
  • Message to player chat when the airdrop is spawned + area name (Only in servers, because single player doenst have chat)
  • Air plane sound when the air drop spawn
  • If the servers close, old airdrops will be deleted automatically (Configurable)
  • Fully customizable loot table (see the github wiki)
  • Fully customizable spawn coordinates (see the github wiki)
  • Where is the Smoke Flare? smoke flare is removed from the Random Airdrops, and now is a addon mod with the name RA Smoke Flare

How it works?

  • The server random a chance if the chances hits ok then the airdrop coordinates is stored in "cache"
  • if the cache have airdrops then the server starting ticking every 30 ticks to check if there is a player to spawn the airdrop (vehicles cannot spawn without a chunk been loading) in that specific position, also when the airdrop is created is removed from the cache
  • if the chunk in that specific position is loaded then the airdrop will be created
  • when the timer goes below the 0 the airdrop will be removed from the world and from the cache if not created yet, unless the player is loading the chunk of the airdrop
  • when the server starts all old airdrops will be despawned when the chunk loads

Important

  • Disable Despawn and Disable Old Spawn, are features not very tested, use with careful

Questions

  • Can i use in my server? yes
  • Can i reupload this to workshop? yes
  • Can i modify this mod? yes
  • Can i share this mod? yes
  • Can i steal this mod? only if the name is changed
  • Can i charge for this mod? only if the name is changed

For Modders

  • You can free modify and make your own modification of this mod, also this mod have a wiki framework to you undestand and make a script or modification of this mod

Changing The Loot Table

Changing Airdrop Spawn Coordinates

random_airdrops's People

Contributors

animesosiska avatar leandrothedev avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

animesosiska

random_airdrops's Issues

Airdrop doesn't dispawn properly

After airdrop spawned once it's constantly despawning (box disappear but command for despawning keep working again and again) and new airdrop can't spawn on the same coordinates.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.