THANKS, man. FINALLY got it working. Awesome mod!kaeza wrote:Try entering the following commands in-game (press 'T' then type them in):That should give you a .45 pistol and 99 bullets.Code: Select all
/giveme firearms_guns:bullet_45 99 /giveme firearms_guns:pistol_45
[Mod] Firearms [0.2.0] [firearms]
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...WailFin wrote:THANKS, man. FINALLY got it working. Awesome mod!kaeza wrote:Try entering the following commands in-game (press 'T' then type them in):That should give you a .45 pistol and 99 bullets.Code: Select all
/giveme firearms_guns:bullet_45 99 /giveme firearms_guns:pistol_45
- kaeza
- Moderator
- Posts: 2162
- Joined: Thu Oct 18, 2012 05:00
- GitHub: kaeza
- IRC: kaeza diemartin blaaaaargh
- In-game: kaeza
- Location: Montevideo, Uruguay
- Contact:
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>
Code: Select all
/giveme firearms_guns:m4
Code: Select all
/giveme <itemname> <amount>
Code: Select all
/giveme firearms_guns:shell_12 99
M9 (Pistol):
Code: Select all
firearms_guns:pistol_45
Code: Select all
firearms_guns:m4
Code: Select all
firearms_guns:m3
Code: Select all
firearms_destructive:m79
Code: Select all
firearms_destructive:bazooka
.45 Rounds (for M9 Pistol):
Code: Select all
firearms_guns:bullet_45
Code: Select all
firearms_guns:bullet_556
Code: Select all
firearms_guns:shell_12
Code: Select all
firearms_destructive:he_40mm
Code: Select all
firearms_destructive:rocket
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
Check out my stuff! | Donations greatly appreciated! PayPal
- webdesigner97
- Member
- Posts: 1328
- Joined: Mon Jul 30, 2012 19:16
- GitHub: webD97
- IRC: webdesigner97
- In-game: webdesigner97
- Location: Cologne, Germany
- Contact:
I'm using the 0.4.7 stable download and Minetest 0.4.7 stable.
Visit me: webD97.de | @GitHub | @DeviantArt
Mods: StreetsMod | Vehicles
Featured from my blog: Dockerize the Minetest server
On my own behalf: Chameleon - A PHP image manipulation library built around GD
Mods: StreetsMod | Vehicles
Featured from my blog: Dockerize the Minetest server
On my own behalf: Chameleon - A PHP image manipulation library built around GD
- kaeza
- Moderator
- Posts: 2162
- Joined: Thu Oct 18, 2012 05:00
- GitHub: kaeza
- IRC: kaeza diemartin blaaaaargh
- In-game: kaeza
- Location: Montevideo, Uruguay
- Contact:
webdesigner97 wrote:http://im.bilderkiste.org/5137682139802/bug.PNG
I'm using the 0.4.7 stable download and Minetest 0.4.7 stable.
Please remove the firearms_destructive mod for now. I will look into it later.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)
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
Check out my stuff! | Donations greatly appreciated! PayPal
- kaeza
- Moderator
- Posts: 2162
- Joined: Thu Oct 18, 2012 05:00
- GitHub: kaeza
- IRC: kaeza diemartin blaaaaargh
- In-game: kaeza
- Location: Montevideo, Uruguay
- Contact:
https://github.com/kaeza/minetest-firea ... t.lua#L104Ikishida wrote:what's the recipe to make a gun?
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
Check out my stuff! | Donations greatly appreciated! PayPal
- webdesigner97
- Member
- Posts: 1328
- Joined: Mon Jul 30, 2012 19:16
- GitHub: webD97
- IRC: webdesigner97
- In-game: webdesigner97
- Location: Cologne, Germany
- Contact:
okkaeza 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.Please remove the firearms_destructive mod for now. I will look into it later.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)
Visit me: webD97.de | @GitHub | @DeviantArt
Mods: StreetsMod | Vehicles
Featured from my blog: Dockerize the Minetest server
On my own behalf: Chameleon - A PHP image manipulation library built around GD
Mods: StreetsMod | Vehicles
Featured from my blog: Dockerize the Minetest server
On my own behalf: Chameleon - A PHP image manipulation library built around GD
-
- Member
- Posts: 57
- Joined: Sun Sep 30, 2012 03:18
- Location: Philippines
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
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.
- kaeza
- Moderator
- Posts: 2162
- Joined: Thu Oct 18, 2012 05:00
- GitHub: kaeza
- IRC: kaeza diemartin blaaaaargh
- In-game: kaeza
- Location: Montevideo, Uruguay
- Contact:
Did you read the first post?clarksallador wrote:How do you reload?
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
Check out my stuff! | Donations greatly appreciated! PayPal
- kaeza
- Moderator
- Posts: 2162
- Joined: Thu Oct 18, 2012 05:00
- GitHub: kaeza
- IRC: kaeza diemartin blaaaaargh
- In-game: kaeza
- Location: Montevideo, Uruguay
- Contact:
Known. See above.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)
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
Check out my stuff! | Donations greatly appreciated! PayPal
- kaeza
- Moderator
- Posts: 2162
- Joined: Thu Oct 18, 2012 05:00
- GitHub: kaeza
- IRC: kaeza diemartin blaaaaargh
- In-game: kaeza
- Location: Montevideo, Uruguay
- Contact:
They shouldn't. Which weapon were you using?brunob.santos wrote:The shots go through the walls. is this correct? or is it a bug?
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
Check out my stuff! | Donations greatly appreciated! PayPal
- BrunoMine
- Member
- Posts: 1082
- Joined: Thu Apr 25, 2013 17:29
- GitHub: BrunoMine
- Location: SP-Brasil
- Contact:
simply all were equal. (except destructive).kaeza wrote:They shouldn't. Which weapon were you using?brunob.santos wrote:The shots go through the walls. is this correct? or is it a bug?
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
Comunidade Minetest Brasil
www.minetestbrasil.com
-
- New member
- Posts: 3
- Joined: Mon Oct 14, 2013 18:52
- kaeza
- Moderator
- Posts: 2162
- Joined: Thu Oct 18, 2012 05:00
- GitHub: kaeza
- IRC: kaeza diemartin blaaaaargh
- In-game: kaeza
- Location: Montevideo, Uruguay
- Contact:
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
Check out my stuff! | Donations greatly appreciated! PayPal
How do you zoom. And how come a mod can change fov in singleplayer but not multiplayer?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.
Coding;
1X coding
3X debugging
12X tweaking to be just right
1X coding
3X debugging
12X tweaking to be just right
- kaeza
- Moderator
- Posts: 2162
- Joined: Thu Oct 18, 2012 05:00
- GitHub: kaeza
- IRC: kaeza diemartin blaaaaargh
- In-game: kaeza
- Location: Montevideo, Uruguay
- Contact:
see firearmslib/action.lua (search for 'set_fov')jojoa1997 wrote:How do you zoom. And how come a mod can change fov in singleplayer but not multiplayer?
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
Check out my stuff! | Donations greatly appreciated! PayPal
- rubenwardy
- Moderator
- Posts: 6978
- Joined: Tue Jun 12, 2012 18:11
- GitHub: rubenwardy
- IRC: rubenwardy
- In-game: rubenwardy
- Location: Bristol, United Kingdom
- Contact:
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
awesome!kaeza wrote:NEW VERSION: http://youtu.be/CPRou-DFqgI
Who is online
Users browsing this forum: No registered users and 37 guests