Page 6 of 9

PostPosted: Sun Jul 28, 2013 03:20
by WailFin
kaeza wrote:Try entering the following commands in-game (press 'T' then type them in):
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!

PostPosted: Sun Jul 28, 2013 13:15
by WailFin
WailFin wrote:
kaeza wrote:Try entering the following commands in-game (press 'T' then type them in):
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...

PostPosted: Sun Jul 28, 2013 13:35
by kaeza
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:
Code: Select all
/giveme <itemname>

For example:
Code: Select all
/giveme firearms_guns:m4


And use this one to get ammo:
Code: Select all
/giveme <itemname> <amount>

For example:
Code: Select all
/giveme firearms_guns:shell_12 99


These are the guns:

M9 (Pistol):
Code: Select all
firearms_guns:pistol_45


M4 (Assault Rifle):
Code: Select all
firearms_guns:m4


M3 (Shotgun):
Code: Select all
firearms_guns:m3


M79 (Grenade Launcher):
Code: Select all
firearms_destructive:m79


Bazooka/Rocket Launcher/Whatever:
Code: Select all
firearms_destructive:bazooka


These are the rounds:

.45 Rounds (for M9 Pistol):
Code: Select all
firearms_guns:bullet_45


5.56mm Rounds (for M4 Rifle):
Code: Select all
firearms_guns:bullet_556


12 Gauge Shells (for M3 Shotgun):
Code: Select all
firearms_guns:shell_12


40mm High Explosive rounds (for grenade launcher):
Code: Select all
firearms_destructive:he_40mm


Rocket (for Bazooka):
Code: Select all
firearms_destructive:rocket


Hope that helps.

EDIT: If all else fails, use creative mode to get the items you want.

PostPosted: Sun Aug 18, 2013 06:30
by Ikishida
what's the recipe to make a gun?

PostPosted: Sun Aug 18, 2013 10:23
by webdesigner97
Image

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

PostPosted: Wed Aug 21, 2013 13:13
by kbobdc3
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)

PostPosted: Wed Aug 21, 2013 14:03
by kaeza
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.

PostPosted: Wed Aug 21, 2013 14:05
by kaeza

PostPosted: Wed Aug 21, 2013 17:27
by webdesigner97
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 ;)

PostPosted: Thu Aug 29, 2013 21:28
by BrunoMine
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.

PostPosted: Thu Aug 29, 2013 21:43
by BrunoMine
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.

PostPosted: Tue Sep 24, 2013 11:16
by clarksallador
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

PostPosted: Tue Sep 24, 2013 11:17
by kaeza
clarksallador wrote:How do you reload?

Did you read the first post?

PostPosted: Tue Sep 24, 2013 11:22
by kaeza
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.

PostPosted: Wed Sep 25, 2013 19:00
by BrunoMine
The shots go through the walls. is this correct? or is it a bug?

PostPosted: Wed Sep 25, 2013 21:01
by kaeza
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?

PostPosted: Wed Sep 25, 2013 21:21
by BrunoMine
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.

PostPosted: Thu Sep 26, 2013 22:28
by dafull97
Sorry if this is a Stupid question.... how do i shoot it... like it tells me 0 ammo... help please?

PostPosted: Mon Oct 14, 2013 19:08
by musicritic42
How do you reload?

PostPosted: Wed Oct 16, 2013 12:49
by kaeza
I have rewritten the entire mod from scratch. It now also supports "zoom" on singleplayer or patched clients. See first post for download link.

PostPosted: Wed Oct 16, 2013 15:08
by jojoa1997
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?

PostPosted: Wed Oct 16, 2013 17:12
by kaeza
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')

PostPosted: Wed Oct 16, 2013 17:19
by rubenwardy
Does firearms_destructive work yet?

PostPosted: Fri Oct 18, 2013 15:01
by Bas080
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!

PostPosted: Fri Oct 18, 2013 15:33
by Melkor
I do not know what I did wrong...

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!