[Mod] Firearms [0.2.0] [firearms]

User avatar
kaeza
Member
 
Posts: 2141
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

by kaeza » Sat Jul 27, 2013 03:33

brunob.santos wrote:How to disable the launcher and bazooka bombs
if the player is very longue on the other he gets shot?

Delete the "firearms_explosives" folder.
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal | BTC: 1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2
 

WailFin
New member
 
Posts: 4
Joined: Sun Jul 28, 2013 00:02

by WailFin » Sun Jul 28, 2013 00:05

Umm, does this work in single player? Or do I have to make a PvP server? Right now, I've enabled the whole modpack, but nothing happens. I just start normally, no guns or anything.
 

User avatar
Jordach
Member
 
Posts: 4412
Joined: Mon Oct 03, 2011 17:58
GitHub: Jordach
IRC: Jordach
In-game: Jordach

by Jordach » Sun Jul 28, 2013 00:19

WailFin, the guns only damage other players, not mobs and stuff; known problem with this mod. Except that it is awesome for PvP.

...Except for griefers who use the RPG. Now that's just sadistic.

( ͡° ͜ʖ ͡°) ( ͡o ͜ʖ ͡o) [$ ( ͡° ͜ʖ ͡°) $] ( ͡$ ͜ʖ ͡$) ヽ༼ຈل͜ຈ༽ノ



My image and media server is back online and is functioning as normal.
 

WailFin
New member
 
Posts: 4
Joined: Sun Jul 28, 2013 00:02

by WailFin » Sun Jul 28, 2013 00:28

Hold on, my friend just got it to work (sort of) in single player, but I create a new world, I configure it, I enable all (minetest-firearms-master being the mod pack), I save this configuration, I select it (With creative and damage enabled), I hit "Play", it loads, and there are NO guns in my inventory at all. No error messages, NOTHING. I'm freaking out here.
 

User avatar
kaeza
Member
 
Posts: 2141
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

by kaeza » Sun Jul 28, 2013 02:34

Try entering the following commands in-game (press 'T' then type them in):
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
/giveme firearms_guns:bullet_45 99
/giveme firearms_guns:pistol_45

That should give you a .45 pistol and 99 bullets.
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal | BTC: 1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2
 

WailFin
New member
 
Posts: 4
Joined: Sun Jul 28, 2013 00:02

by WailFin » Sun Jul 28, 2013 03:20

kaeza wrote:Try entering the following commands in-game (press 'T' then type them in):
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
/giveme firearms_guns:bullet_45 99
/giveme firearms_guns:pistol_45

That should give you a .45 pistol and 99 bullets.


THANKS, man. FINALLY got it working. Awesome mod!
 

WailFin
New member
 
Posts: 4
Joined: Sun Jul 28, 2013 00:02

by WailFin » Sun Jul 28, 2013 13:15

WailFin wrote:
kaeza wrote:Try entering the following commands in-game (press 'T' then type them in):
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
/giveme firearms_guns:bullet_45 99
/giveme firearms_guns:pistol_45

That should give you a .45 pistol and 99 bullets.


THANKS, man. FINALLY got it working. Awesome mod!


Also, could you tell me the commands for giving myself each of the individual firearms [and maybe ammo] (In case you haven't guessed, I have NO idea what I'm doing)? Sorry for being such a bother...
 

User avatar
kaeza
Member
 
Posts: 2141
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

by kaeza » Sun Jul 28, 2013 13:35

WailFin wrote:Also, could you tell me the commands for giving myself each of the individual firearms [and maybe ammo] (In case you haven't guessed, I have NO idea what I'm doing)?  Sorry for being such a bother...



*shrug*

I really need to add a document about this to the mod. Maybe later.

For now, I came up with this:

Below is a list with all the defined items.

Use the following command to get each gun:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
/giveme <itemname>

For example:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
/giveme firearms_guns:m4


And use this one to get ammo:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
/giveme <itemname> <amount>

For example:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
/giveme firearms_guns:shell_12 99


These are the guns:

M9 (Pistol):
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
firearms_guns:pistol_45


M4 (Assault Rifle):
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
firearms_guns:m4


M3 (Shotgun):
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
firearms_guns:m3


M79 (Grenade Launcher):
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
firearms_destructive:m79


Bazooka/Rocket Launcher/Whatever:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
firearms_destructive:bazooka


These are the rounds:

.45 Rounds (for M9 Pistol):
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
firearms_guns:bullet_45


5.56mm Rounds (for M4 Rifle):
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
firearms_guns:bullet_556


12 Gauge Shells (for M3 Shotgun):
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
firearms_guns:shell_12


40mm High Explosive rounds (for grenade launcher):
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
firearms_destructive:he_40mm


Rocket (for Bazooka):
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
firearms_destructive:rocket


Hope that helps.

EDIT: If all else fails, use creative mode to get the items you want.
Last edited by kaeza on Sun Jul 28, 2013 13:36, edited 1 time in total.
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal | BTC: 1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2
 

User avatar
Ikishida
Member
 
Posts: 107
Joined: Sat Aug 17, 2013 08:02

by Ikishida » Sun Aug 18, 2013 06:30

what's the recipe to make a gun?
When life hands you lemons,throw it back at life saying "I don't need your goddamn lemons!" =D
 

User avatar
webdesigner97
Member
 
Posts: 1307
Joined: Mon Jul 30, 2012 19:16
GitHub: webD97
IRC: webdesigner97
In-game: webdesigner97

by webdesigner97 » Sun Aug 18, 2013 10:23

Image

I'm using the 0.4.7 stable download and Minetest 0.4.7 stable.
 

kbobdc3
Member
 
Posts: 13
Joined: Mon Dec 10, 2012 21:23

by kbobdc3 » Wed Aug 21, 2013 13:13

I keep getting error messages
ERROR[main]: ServerError: LuaError: error running function 'on_step': ...est build\bin\..\mods\firearms\firearmslib/explosion.lua:39: attempt to index local 'bulletdef' (a nil value)
I'm not stupid, I'm weak minded
 

User avatar
kaeza
Member
 
Posts: 2141
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

by kaeza » Wed Aug 21, 2013 14:03

webdesigner97 wrote:http://im.bilderkiste.org/5137682139802/bug.PNG

I'm using the 0.4.7 stable download and Minetest 0.4.7 stable.
kbobdc3 wrote:I keep getting error messages
ERROR[main]: ServerError: LuaError: error running function 'on_step': ...est build\bin\..\mods\firearms\firearmslib/explosion.lua:39: attempt to index local 'bulletdef' (a nil value)

Please remove the firearms_destructive mod for now. I will look into it later.
Last edited by kaeza on Wed Aug 21, 2013 14:05, edited 1 time in total.
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal | BTC: 1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2
 

User avatar
kaeza
Member
 
Posts: 2141
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

by kaeza » Wed Aug 21, 2013 14:05

Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal | BTC: 1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2
 

User avatar
webdesigner97
Member
 
Posts: 1307
Joined: Mon Jul 30, 2012 19:16
GitHub: webD97
IRC: webdesigner97
In-game: webdesigner97

by webdesigner97 » Wed Aug 21, 2013 17:27

kaeza wrote:
webdesigner97 wrote:http://im.bilderkiste.org/5137682139802/bug.PNG

I'm using the 0.4.7 stable download and Minetest 0.4.7 stable.
kbobdc3 wrote:I keep getting error messages
ERROR[main]: ServerError: LuaError: error running function 'on_step': ...est build\bin\..\mods\firearms\firearmslib/explosion.lua:39: attempt to index local 'bulletdef' (a nil value)

Please remove the firearms_destructive mod for now. I will look into it later.

ok ;)
 

User avatar
BrunoMine
Member
 
Posts: 902
Joined: Thu Apr 25, 2013 17:29
GitHub: BrunoMine

by BrunoMine » Thu Aug 29, 2013 21:28

I can not mount .45 pistol
What is the recipe?
MII
-SW -> W = wood / S = stick / I = iron / M = ammunition (pistol_.45)
---W
I could not with this recipe.
My small square universe under construction ... Minemacro
Comunidade Minetest Brasil
www.minetestbrasil.com
 

User avatar
BrunoMine
Member
 
Posts: 902
Joined: Thu Apr 25, 2013 17:29
GitHub: BrunoMine

by BrunoMine » Thu Aug 29, 2013 21:43

You made mistakes in the mod.
The init this with some errors in the word default.
You should tidy it soon.
Some servers are using this mod with error.
My small square universe under construction ... Minemacro
Comunidade Minetest Brasil
www.minetestbrasil.com
 

clarksallador
Member
 
Posts: 57
Joined: Sun Sep 30, 2012 03:18

by clarksallador » Tue Sep 24, 2013 11:16

help
whenever i use the explosives one this always pops-out:
ServerError:LuaError:error running function 'on_step':
...st_game\mods\minetest-firearms\firearms/explosion.lua39:attempt to index local 'bulletdef' (a nil value)


Edit:
Sorry about the first post .. didn't saw that
Last edited by clarksallador on Tue Sep 24, 2013 11:19, edited 1 time in total.
 

User avatar
kaeza
Member
 
Posts: 2141
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

by kaeza » Tue Sep 24, 2013 11:17

clarksallador wrote:How do you reload?

Did you read the first post?
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal | BTC: 1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2
 

User avatar
kaeza
Member
 
Posts: 2141
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

by kaeza » Tue Sep 24, 2013 11:22

clarksallador wrote:help
whenever i use the explosives one this always pops-out:
ServerError:LuaError:error running function 'on_step':
...st_game\mods\minetest-firearms\firearms/explosion.lua39:attempt to index local 'bulletdef' (a nil value)


Known. See above.
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal | BTC: 1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2
 

User avatar
BrunoMine
Member
 
Posts: 902
Joined: Thu Apr 25, 2013 17:29
GitHub: BrunoMine

by BrunoMine » Wed Sep 25, 2013 19:00

The shots go through the walls. is this correct? or is it a bug?
My small square universe under construction ... Minemacro
Comunidade Minetest Brasil
www.minetestbrasil.com
 

User avatar
kaeza
Member
 
Posts: 2141
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

by kaeza » Wed Sep 25, 2013 21:01

brunob.santos wrote:The shots go through the walls. is this correct? or is it a bug?

They shouldn't. Which weapon were you using?
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal | BTC: 1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2
 

User avatar
BrunoMine
Member
 
Posts: 902
Joined: Thu Apr 25, 2013 17:29
GitHub: BrunoMine

by BrunoMine » Wed Sep 25, 2013 21:21

kaeza wrote:
brunob.santos wrote:The shots go through the walls. is this correct? or is it a bug?

They shouldn't. Which weapon were you using?

simply all were equal. (except destructive).
Just shoot in the direction of the name. The player will be injured.
My small square universe under construction ... Minemacro
Comunidade Minetest Brasil
www.minetestbrasil.com
 

dafull97
Member
 
Posts: 19
Joined: Mon Sep 23, 2013 13:08

by dafull97 » Thu Sep 26, 2013 22:28

Sorry if this is a Stupid question.... how do i shoot it... like it tells me 0 ammo... help please?
 

musicritic42
New member
 
Posts: 3
Joined: Mon Oct 14, 2013 18:52

by musicritic42 » Mon Oct 14, 2013 19:08

How do you reload?
 

User avatar
kaeza
Member
 
Posts: 2141
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

by kaeza » Wed Oct 16, 2013 12:49

I have rewritten the entire mod from scratch. It now also supports "zoom" on singleplayer or patched clients. See first post for download link.
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal | BTC: 1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11

by jojoa1997 » Wed Oct 16, 2013 15:08

kaeza wrote:I have rewritten the entire mod from scratch. It now also supports "zoom" on singleplayer or patched clients. See first post for download link.
How do you zoom. And how come a mod can change fov in singleplayer but not multiplayer?
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

User avatar
kaeza
Member
 
Posts: 2141
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

by kaeza » Wed Oct 16, 2013 17:12

jojoa1997 wrote:How do you zoom. And how come a mod can change fov in singleplayer but not multiplayer?

see firearmslib/action.lua (search for 'set_fov')
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal | BTC: 1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

by rubenwardy » Wed Oct 16, 2013 17:19

Does firearms_destructive work yet?
 

User avatar
Bas080
Member
 
Posts: 398
Joined: Mon May 21, 2012 15:54
GitHub: bas080
IRC: bas080
In-game: bas080

by Bas080 » Fri Oct 18, 2013 15:01

Nice update! zoom looks great! so do the new textures for wielded items. New animation for shooting a gun would make this complete. A system for allowing the option to add or choose several wield animations would be great!
 

User avatar
Melkor
Member
 
Posts: 285
Joined: Sat Sep 24, 2011 01:03

by Melkor » Fri Oct 18, 2013 15:33

I do not know what I did wrong...

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
09:19:52: ERROR[main]: ========== ERROR FROM LUA ===========
09:19:52: ERROR[main]: Failed to load and run script from
09:19:52: ERROR[main]: C:\Users\melkor\games\minetest\minetest-0.4.7\bin\..\games\minetest_game\mods\firearmslib\init.lua:
09:19:52: ERROR[main]: ...7\bin\..\games\minetest_game\mods\firearmslib/config.lua:12: attempt to call global 'Settings' (a nil value)
09:19:52: ERROR[main]: stack traceback:
09:19:52: ERROR[main]:     ...7\bin\..\games\minetest_game\mods\firearmslib/config.lua:12: in main chunk
09:19:52: ERROR[main]:     [C]: in function 'dofile'
09:19:52: ERROR[main]:     ...4.7\bin\..\games\minetest_game\mods\firearmslib\init.lua:22: in main chunk
09:19:52: ERROR[main]: =======END OF ERROR FROM LUA ========
09:19:52: ERROR[main]: Server: Failed to load and run C:\Users\melkor\games\minetest\minetest-0.4.7\bin\..\games\minetest_game\mods\firearmslib\init.lua
09:19:52: ERROR[main]: ModError: Failed to load and run C:\Users\melkor\games\minetest\minetest-0.4.7\bin\..\games\minetest_game\mods\firearmslib\init.lua


kaeza wrote:NEW VERSION: http://youtu.be/CPRou-DFqgI

awesome!
 

PreviousNext

Return to Mod Releases

Who is online

Users browsing this forum: No registered users and 22 guests

cron