Coder Social home page Coder Social logo

cocolabs / pz-airhorn Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 3.1 MB

Air horn is a simple mod for Project Zomboid that adds an item which makes a lot of noise and attracts zombies.

License: MIT License

Java 39.39% Lua 60.61%
mod project-zomboid zomboid

pz-airhorn's People

Contributors

danetank avatar matshou avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

alexsledge

pz-airhorn's Issues

Longer airhorn use

Current condition of the airhorn is 10 uses. To avoid constant breaking, item should be upgraded to a limited 30 uses in the game.

Air horn SFX hard cutoff

Sound effect used for air horn item has a bit of a harsh cutoff. It should reverberate and more naturally fade out.

Button to use Air Horn

Implement an event that activates Air horn when a button is pressed.
The button can be "Mouse1" because it works like a gun.

Error when activating mod

When player activates the mod, it generates an error.

attempted index: getPrimaryHandItem of non-table: null

LOG  : General     , 1614197561647> -----------------------------------------
STACK TRACE
-----------------------------------------
function: AirHorn -- file: AirHorn.lua line # 7

Add gas canisters

Add gas canister to refill the air horn, The gas canister has limited use.

Train horn item

User nurver#7626 on IndieStone Discord server requested a train horn item:

you should make a "Train Horn" item. Rare spawn in trunk of pick-ups / garages, hook up to new item "Air Tank (compressor)" + "Air Hose".

This way, you could actually have it go off for say 10~ minutes a reasonable amount of in game time for a decent sized tank. I'm thinking like a large compressor- one you'd see in a auto or machine shop.

Bonus to include a makeshift horn recipe (just use vanilla amplifier I think? + integrate vanilla remote detonators?

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.