[Mod][Framework]Guns[Help needed][0.1]

Post Reply
User avatar
SonosFuer
Member
Posts: 104
Joined: Sun Jul 09, 2017 00:32
GitHub: apachano
IRC: SonosFuer
In-game: SonosFuer

[Mod][Framework]Guns[Help needed][0.1]

by SonosFuer » Post

Hello everyone I have started work on a new framework for adding guns to the game, As far as I have tested so far it mostly functions. I am looking for help with figuring out the advanced features as well as adding media to the game.

Features
-Register ammo
-Register a gun that uses an ammo
-Fire Gun
-Bullets drop based off power of gun creating "range"

Future plans
-Add reloading (Clips?)
-Add hud for displaying ammo count
-Allow a gun to use multiple bullet types eg: switch between 22cal or 22cal_armor-piercing or 22cal_incendiary
-Gun parts
-Scopes
-Mana/ electricity as ammo (Energy Guns)

I need help with fixing/ adding code as well as art, currently the example gun gets its textures and sounds off free art websites and I don't really like doing that (or how they look). If anyone is interested in putting textures and sounds together that would be amazing! You can even start building your own gun packs although the API will probably change a little.

Downloads
Download Framework: https://github.com/apachano/guns/archive/master.zip
Browse Framework Code: https://github.com/apachano/guns
Download Example Gun Pack: https://github.com/apachano/guns_ruger/ ... master.zip
Browse Example Gun Code: https://github.com/apachano/guns_ruger

You need to install both the framework and the gun pack installed for this to work.

Again this is intended to be a framework for content developers to build content packs on, not an actual content pack itself. I want to eliminate the need to rebuild the wheel and make it easy for the more creative developer to add content.
Last edited by SonosFuer on Thu Mar 22, 2018 05:55, edited 4 times in total.
Working on a content database for minetest mods, servers, and etc Check it out and give me feedback at viewtopic.php?f=14&t=18137

User avatar
GamingAssociation39
Member
Posts: 858
Joined: Mon Apr 25, 2016 16:09
GitHub: Gerold55
IRC: Gerold55
In-game: Gerold55
Location: Maryland, USA

Re: [Mod][Framework]Guns[0.1]

by GamingAssociation39 » Post

Maybe you can make a gun store app for the laptop mod.
Jesus Is Lord and Savior!!!

User avatar
SonosFuer
Member
Posts: 104
Joined: Sun Jul 09, 2017 00:32
GitHub: apachano
IRC: SonosFuer
In-game: SonosFuer

Re: [Mod][Framework]Guns[Help needed][0.1]

by SonosFuer » Post

Update
Thanks to help from Octacian the bugs I have identified are gone!!!!
I also added a gravity to bullets and power to guns. The lower the power the gun the sooner it arcs down and the lower range the gun has.
Working on a content database for minetest mods, servers, and etc Check it out and give me feedback at viewtopic.php?f=14&t=18137

Post Reply

Who is online

Users browsing this forum: No registered users and 41 guests