[Mod] Simple Shooter [0.5.3] [shooter]

User avatar
Alienant1
Member
Posts: 69
Joined: Mon Jul 20, 2015 10:33
In-game: alienant1 or alienant2

Re: [Mod] Simple Shooter [0.5.3] [shooter]

by Alienant1 » Post

sorry if it is really obvious, how do you use an ammo pack? do you just put it in the crafting grid with the gun? does the gun have to be empty?
Merry Christmas Everyone!!!

User avatar
stu
Member
Posts: 923
Joined: Sat Feb 02, 2013 02:51
GitHub: stujones11
Location: United Kingdom

Re: [Mod] Simple Shooter [0.5.3] [shooter]

by stu » Post

Alienant1 wrote:sorry if it is really obvious, how do you use an ammo pack? do you just put it in the crafting grid with the gun? does the gun have to be empty?
You only need to have the ammo pack somewhere in your inventory, the gun will reload automatically if fired once fully spent, the ammo will then be deducted from the inventory (unless you are using creative mode)

User avatar
Alienant1
Member
Posts: 69
Joined: Mon Jul 20, 2015 10:33
In-game: alienant1 or alienant2

Re: [Mod] Simple Shooter [0.5.3] [shooter]

by Alienant1 » Post

thanks
Merry Christmas Everyone!!!

User avatar
Neuromancer
Member
Posts: 964
Joined: Tue Jun 12, 2012 22:28
GitHub: Neuromancer56

Re: [Mod] Simple Shooter [0.5.3] [shooter]

by Neuromancer » Post

Love this mod, but I wish the grenade and rocket launcher would destroy some of the terrain like the shotgun. And it would be cool if it blew up maybe 5-10 blocks or so.

User avatar
stu
Member
Posts: 923
Joined: Sat Feb 02, 2013 02:51
GitHub: stujones11
Location: United Kingdom

Re: [Mod] Simple Shooter [0.5.3] [shooter]

by stu » Post

Neuromancer wrote:Love this mod, but I wish the grenade and rocket launcher would destroy some of the terrain like the shotgun. And it would be cool if it blew up maybe 5-10 blocks or so.
It should be doing that already, unless you configured it otherwise, however, I have noticed that depending on the trajectory, the explosions can sometimes occur underground and out of sight. I have just made a few adjustments to the positioning and slightly increased the blast radius of the the rocket and grenade. I'd be interested to know if this resolves the issue for you, thanks for letting me know about it.

User avatar
Neuromancer
Member
Posts: 964
Joined: Tue Jun 12, 2012 22:28
GitHub: Neuromancer56

Re: [Mod] Simple Shooter [0.5.3] [shooter]

by Neuromancer » Post

Hmmm.... nope still just a bunch of smoke for the rocket and grenade. The odd thing is that I'm using the latest minetest, and even though tnt is part of minetest game, I don't see tnt in my inventory in creative mode. That might be what is causing the problem. I'm using 0.4.13 for windows and no mods other than yours and the ones in minetest game. I did force add the tnt mod from this site, and then I saw the tnt in my creative inventory but still no luck.

User avatar
benrob0329
Member
Posts: 1341
Joined: Thu Aug 06, 2015 22:39
GitHub: Benrob0329
IRC: benrob0329
In-game: benrob03
Location: Michigan
Contact:

Re: [Mod] Simple Shooter [0.5.3] [shooter]

by benrob0329 » Post

Are you in multiplayer? TNT is disabled by default in multiplayer.

User avatar
Alienant1
Member
Posts: 69
Joined: Mon Jul 20, 2015 10:33
In-game: alienant1 or alienant2

Re: [Mod] Simple Shooter [0.5.3] [shooter]

by Alienant1 » Post

how do you enable it?
Merry Christmas Everyone!!!

User avatar
Neuromancer
Member
Posts: 964
Joined: Tue Jun 12, 2012 22:28
GitHub: Neuromancer56

Re: [Mod] Simple Shooter [0.5.3] [shooter]

by Neuromancer » Post

benrob0329 wrote:Are you in multiplayer? TNT is disabled by default in multiplayer.
That was it. I went to single player and suddenly tnt and this mod worked fine. Fun to blow up villages. I see that it is easy to enable in multiplayer:
viewtopic.php?p=154083#p154083
Have to see how it performs

User avatar
Alienant1
Member
Posts: 69
Joined: Mon Jul 20, 2015 10:33
In-game: alienant1 or alienant2

Re: [Mod] Simple Shooter [0.5.3] [shooter]

by Alienant1 » Post

thanks.
Merry Christmas Everyone!!!

User avatar
Fixer
Member
Posts: 904
Joined: Sun Jul 31, 2011 11:23
IRC: Fixer
In-game: Fixer
Location: Ukraine

Re: [Mod] Simple Shooter [0.5.3] [shooter]

by Fixer » Post

Please fix shooter_click.ogg, it should be in mono (to play correctly in 3D), because with stereo it plays the same for everybody without direction indication (that is just wrong) and distance effect.

User avatar
stu
Member
Posts: 923
Joined: Sat Feb 02, 2013 02:51
GitHub: stujones11
Location: United Kingdom

Re: [Mod] Simple Shooter [0.5.3] [shooter]

by stu » Post

Fixerol wrote:Please fix shooter_click.ogg, it should be in mono (to play correctly in 3D), because with stereo it plays the same for everybody without direction indication (that is just wrong) and distance effect.
Done, thank you for reporting.

User avatar
BrunoMine
Member
Posts: 1082
Joined: Thu Apr 25, 2013 17:29
GitHub: BrunoMine
Location: SP-Brasil
Contact:

I think I found a bug.

by BrunoMine » Post

I think I found a bug.
The crossbow is not releasing the arrow away. Instead it goes straight to the ground.
But if you shoot moving sideways it works normally.
I imagine that the arrow can be hitting myself.

User avatar
stu
Member
Posts: 923
Joined: Sat Feb 02, 2013 02:51
GitHub: stujones11
Location: United Kingdom

Re: I think I found a bug.

by stu » Post

BrunoMine wrote:I think I found a bug.
The crossbow is not releasing the arrow away. Instead it goes straight to the ground.
But if you shoot moving sideways it works normally.
I imagine that the arrow can be hitting myself.
Strange, it seems to be working fine for me, what version of minetest are you using?

User avatar
BrunoMine
Member
Posts: 1082
Joined: Thu Apr 25, 2013 17:29
GitHub: BrunoMine
Location: SP-Brasil
Contact:

Re: [Mod] Simple Shooter [0.5.3] [shooter]

by BrunoMine » Post

I am using 0.4.13.
This only happens when we throw up (no shooting blocks).

User avatar
stu
Member
Posts: 923
Joined: Sat Feb 02, 2013 02:51
GitHub: stujones11
Location: United Kingdom

Re: [Mod] Simple Shooter [0.5.3] [shooter]

by stu » Post

BrunoMine wrote:I am using 0.4.13.
This only happens when we throw up (no shooting blocks).
Yes, if you shoot the thing straight up in the air then you would expect it to fall right back on your head, would you not?

User avatar
BrunoMine
Member
Posts: 1082
Joined: Thu Apr 25, 2013 17:29
GitHub: BrunoMine
Location: SP-Brasil
Contact:

Re: [Mod] Simple Shooter [0.5.3] [shooter]

by BrunoMine » Post

stu wrote: Yes, if you shoot the thing straight up in the air then you would expect it to fall right back on your head, would you not?
try to shoot 45º in the horizontal plane of the earth.
O /
| /
|
|

User avatar
stu
Member
Posts: 923
Joined: Sat Feb 02, 2013 02:51
GitHub: stujones11
Location: United Kingdom

Re: [Mod] Simple Shooter [0.5.3] [shooter]

by stu » Post

BrunoMine wrote:
stu wrote: Yes, if you shoot the thing straight up in the air then you would expect it to fall right back on your head, would you not?
try to shoot 45º in the horizontal plane of the earth.
O /
| /
|
|
I'm not sure how you are reading the angle but I can only reproduce this at 90º to the horizontal

User avatar
BrunoMine
Member
Posts: 1082
Joined: Thu Apr 25, 2013 17:29
GitHub: BrunoMine
Location: SP-Brasil
Contact:

Re: [Mod] Simple Shooter [0.5.3] [shooter]

by BrunoMine » Post

Image

User avatar
stu
Member
Posts: 923
Joined: Sat Feb 02, 2013 02:51
GitHub: stujones11
Location: United Kingdom

Re: [Mod] Simple Shooter [0.5.3] [shooter]

by stu » Post

Sorry, try as I might, I have not been able reproduce this, is there anyone else able to confirm this bug?

User avatar
BrunoMine
Member
Posts: 1082
Joined: Thu Apr 25, 2013 17:29
GitHub: BrunoMine
Location: SP-Brasil
Contact:

Re: [Mod] Simple Shooter [0.5.3] [shooter]

by BrunoMine » Post

Yes. My friend Lunovox (owner of CRAFTOPOLES server)

User avatar
stu
Member
Posts: 923
Joined: Sat Feb 02, 2013 02:51
GitHub: stujones11
Location: United Kingdom

Re: [Mod] Simple Shooter [0.5.3] [shooter]

by stu » Post

I finally managed to reproduce this but only in multiplayer mode and within a certain proximity to other players. It seems a little strange that I have never spotted this before now and that it does not seem to affect singleplayer but there you go.
I have just pushed a small change that appears to have fixed the issue for me, please let me know if you have any further problems with it, thank you.

User avatar
BrunoMine
Member
Posts: 1082
Joined: Thu Apr 25, 2013 17:29
GitHub: BrunoMine
Location: SP-Brasil
Contact:

Re: [Mod] Simple Shooter [0.5.3] [shooter]

by BrunoMine » Post

Yes. This bug is fixed. Thanks!

User avatar
BrunoMine
Member
Posts: 1082
Joined: Thu Apr 25, 2013 17:29
GitHub: BrunoMine
Location: SP-Brasil
Contact:

Re:another ploblem

by BrunoMine » Post

I use this mod with the mod CME (Creatures MOB-Engine) and I see the problem.
When the creature dies, it begins to rise until it is removed by MOB-Engine.
(obs.: When a creature dies, it performs a death animation and then disappears.)

I understand that you have no obligation to help me, but it would make your mod compatible with CME.

I believe the problem is occurring in the line 55:

Code: Select all

if pos then
	self.object:moveto(pos)
end

User avatar
BrunoMine
Member
Posts: 1082
Joined: Thu Apr 25, 2013 17:29
GitHub: BrunoMine
Location: SP-Brasil
Contact:

Re: [Mod] Simple Shooter [0.5.3] [shooter]

by BrunoMine » Post

I realized a change in the code
crossbow.lua

Code: Select all

76	-	self:stop(object:getpos())

76	+	local luaentity = object:get_luaentity()
77	+	if luaentity == nil or luaentity.mob_name == nil then
78	+		self:stop(object:getpos())
79	+	else
80	+		self.object:remove()
81	+	end

Post Reply

Who is online

Users browsing this forum: No registered users and 68 guests