[Mod] Simple Shooter [0.5.3] [shooter]
- balthazariv
- Member
- Posts: 214
- Joined: Mon Apr 07, 2014 15:48
- Contact:
Re: [Mod] Simple Shooter [0.5.0] [shooter]
Hello Stu,
I have everything turned off and I tested one by one. "Simple Shooter" crash with
[Mod] Simple protection [simple_protection]
I have everything turned off and I tested one by one. "Simple Shooter" crash with
[Mod] Simple protection [simple_protection]
- stu
- Member
- Posts: 923
- Joined: Sat Feb 02, 2013 02:51
- GitHub: stujones11
- Location: United Kingdom
Re: [Mod] Simple Shooter [0.5.1] [shooter]
Mod Updated: Version 0.5.1
Added simple protection mod support, requires a protection mod that utilizes minetest.is_protected()
Tested and works well with TenPlus1's version of the protector mod.
Note that protection support is disabled by default, you will need to set SHOOTER_ENABLE_PROTECTION = true
is your shooter.conf (if you don't already have this file then create it in the mod's main directory)
Enabling protection may cause a slight slow-down of explosions depending on which protection mod you use.
Added simple protection mod support, requires a protection mod that utilizes minetest.is_protected()
Tested and works well with TenPlus1's version of the protector mod.
Note that protection support is disabled by default, you will need to set SHOOTER_ENABLE_PROTECTION = true
is your shooter.conf (if you don't already have this file then create it in the mod's main directory)
Enabling protection may cause a slight slow-down of explosions depending on which protection mod you use.
- AMMOnym
- Member
- Posts: 682
- Joined: Tue Sep 10, 2013 14:18
- IRC: AMMOnym
- In-game: AMMOnym
- Location: Slovakia
Re: [Mod] Simple Shooter [0.5.1] [shooter]
Hello, can u add version with tnt, which just explode and doesnt destroy nodes ? Well....if its possible :Dstu wrote:Mod Updated: Version 0.5.1
Added simple protection mod support, requires a protection mod that utilizes minetest.is_protected()
Tested and works well with TenPlus1's version of the protector mod.
Note that protection support is disabled by default, you will need to set SHOOTER_ENABLE_PROTECTION = true
is your shooter.conf (if you don't already have this file then create it in the mod's main directory)
Enabling protection may cause a slight slow-down of explosions depending on which protection mod you use.
- stu
- Member
- Posts: 923
- Joined: Sat Feb 02, 2013 02:51
- GitHub: stujones11
- Location: United Kingdom
Re: [Mod] Simple Shooter [0.5.1] [shooter]
AMMOnym wrote:Hello, can u add version with tnt, which just explode and doesnt destroy nodes ? Well....if its possible :Dstu wrote:Mod Updated: Version 0.5.2
Added simple protection mod support, requires a protection mod that utilizes minetest.is_protected()
Tested and works well with TenPlus1's version of the protector mod.
Note that protection support is disabled by default, you will need to set SHOOTER_ENABLE_PROTECTION = true
is your shooter.conf (if you don't already have this file then create it in the mod's main directory)
Enabling protection may cause a slight slow-down of explosions depending on which protection mod you use.
You can either set SHOOTER_ALLOW_NODES = false which will disable the destruction of nodes altogether or you can now set SHOOTER_ENABLE_BLASTING = false to only disable node destruction by explosives, another new feature I forgot to mention.
See: shooter.config.example for all available options.
Last edited by stu on Fri Oct 24, 2014 22:22, edited 1 time in total.
- AMMOnym
- Member
- Posts: 682
- Joined: Tue Sep 10, 2013 14:18
- IRC: AMMOnym
- In-game: AMMOnym
- Location: Slovakia
Re: [Mod] Simple Shooter [0.5.1] [shooter]
stu wrote:Thank you a lotAMMOnym wrote:Hello, can u add version with tnt, which just explode and doesnt destroy nodes ? Well....if its possible :Dstu wrote:Mod Updated: Version 0.5.1
Added simple protection mod support, requires a protection mod that utilizes minetest.is_protected()
Tested and works well with TenPlus1's version of the protector mod.
Note that protection support is disabled by default, you will need to set SHOOTER_ENABLE_PROTECTION = true
is your shooter.conf (if you don't already have this file then create it in the mod's main directory)
Enabling protection may cause a slight slow-down of explosions depending on which protection mod you use.
You can either set SHOOTER_ALLOW_NODES = false which will disable the destruction of nodes altogether or you can now set SHOOTER_ENABLE_BLASTING = false to only disable node destruction by explosives, another new feature I forgot to mention.
See: shooter.config.example for all available options.
- stu
- Member
- Posts: 923
- Joined: Sat Feb 02, 2013 02:51
- GitHub: stujones11
- Location: United Kingdom
Re: [Mod] Simple Shooter [0.5.1] [shooter]
Mod update
Added a crossbow with directional arrows.
Arrows will do damage to players/entities listed in SHOOTER_ENTITIES and will stick in all non-walkable nodes (walkable = false). They can be picked up again by punching them but will dissapear after a preset time (default 3 mins) or if they become unloaded, for whatever reason.
I wanted to have the arrows stick in players/mobs but this is currently not possible due to some bugs in the core entity attachment system. :/
Enjoy 8)
Added a crossbow with directional arrows.
Spoiler
"]
I wanted to have the arrows stick in players/mobs but this is currently not possible due to some bugs in the core entity attachment system. :/
Enjoy 8)
- philipbenr
- Member
- Posts: 1897
- Joined: Fri Jun 14, 2013 01:56
- GitHub: philipbenr
- IRC: philipbenr
- In-game: robinspi
- Location: United States
Re: [Mod] Simple Shooter [0.5.2] [shooter]
Hey, it looks fine right now. If you can get them to stick to players I'd think that as a bonus.
;) nice work stu.
;) nice work stu.
- Evergreen
- Member
- Posts: 2135
- Joined: Sun Jan 06, 2013 01:22
- GitHub: 4Evergreen4
- IRC: EvergreenTree
- In-game: Evergreen
- Location: A forest in the midwest
- Contact:
Re: [Mod] Simple Shooter [0.5.2] [shooter]
Awesome!
EDIT:
it's 'crossbow' not 'crassbow'
EDIT:
it's 'crossbow' not 'crassbow'
Back from the dead!
- stu
- Member
- Posts: 923
- Joined: Sat Feb 02, 2013 02:51
- GitHub: stujones11
- Location: United Kingdom
Re: [Mod] Simple Shooter [0.5.2] [shooter]
Fixed, thanks for reportingEvergreen wrote:Awesome!
EDIT:
it's 'crossbow' not 'crassbow'
Re: [Mod] Simple Shooter [0.5.2] [shooter]
May I please use this for my SAO mod? can't code a gun...
- stu
- Member
- Posts: 923
- Joined: Sat Feb 02, 2013 02:51
- GitHub: stujones11
- Location: United Kingdom
Re: [Mod] Simple Shooter [0.5.2] [shooter]
Yes, you may use the source code under the terms of LGPL v2.1, however, the sound effects are licensed separately. Please see the LICENSE.txt for full details.Ikishida wrote:May I please use this for my SAO mod? can't code a gun...
- stu
- Member
- Posts: 923
- Joined: Sat Feb 02, 2013 02:51
- GitHub: stujones11
- Location: United Kingdom
Re: [Mod] Simple Shooter [0.5.3] [shooter]
Mod Updated: version-0.5.3
Added coloured arrows
Regular white arrows can now be mixed with base dyes to create grey, black, red, yellow, green, cyan, blue and magenta arrows
Added admin super weapons
This change lets admins (people with server privilege) shoot guns automatically after <= 2 seconds if they hold left click without using munition.
Note: the latter must be enabled in shooter.conf by adding SHOOTER_ADMIN_WEAPONS = true.
See shooter.conf.example for all available config options.
Much of the credit goes to HybridDog for making these changes possible and to lightonflux for suggesting the coloured arrows.
Added coloured arrows
Regular white arrows can now be mixed with base dyes to create grey, black, red, yellow, green, cyan, blue and magenta arrows
Added admin super weapons
This change lets admins (people with server privilege) shoot guns automatically after <= 2 seconds if they hold left click without using munition.
Note: the latter must be enabled in shooter.conf by adding SHOOTER_ADMIN_WEAPONS = true.
See shooter.conf.example for all available config options.
Much of the credit goes to HybridDog for making these changes possible and to lightonflux for suggesting the coloured arrows.
- sparky
- Member
- Posts: 154
- Joined: Sun Oct 05, 2014 00:54
- GitHub: Elkien3
- IRC: ircSparky
- In-game: sparky
- Location: USA
- Contact:
Re: [Mod] Simple Shooter [0.5.3] [shooter]
I added smoke grenades, code is based of "grenade.lua" with some from "flare.lua" added in
also changed "init.lua" and "shooter.lua" to make it load like the other .luas
the particles could use some more tweaking though.
I hope you like it. :D
keep up the awsumness
also changed "init.lua" and "shooter.lua" to make it load like the other .luas
the particles could use some more tweaking though.
I hope you like it. :D
keep up the awsumness
- Attachments
-
- shooter.zip
- (347.81 KiB) Downloaded 110 times
- stu
- Member
- Posts: 923
- Joined: Sat Feb 02, 2013 02:51
- GitHub: stujones11
- Location: United Kingdom
Re: [Mod] Simple Shooter [0.5.3] [shooter]
This looks pretty cool, I will add this to the mod as soon as I get a chance, though I would like to make a few tweaks here and there.sparky wrote:I added smoke grenades, code is based of "grenade.lua" with some from "flare.lua" added in
also changed "init.lua" and "shooter.lua" to make it load like the other .luas
the particles could use some more tweaking though.
I hope you like it. :D
keep up the awsumness
Thank you for sharing this.
Re: [Mod] Simple Shooter [0.5.3] [shooter]
Found a bug, if you have 2 crossbows and use the second, instead of wearing out, it starts again like the first time you used it
- stu
- Member
- Posts: 923
- Joined: Sat Feb 02, 2013 02:51
- GitHub: stujones11
- Location: United Kingdom
Re: [Mod] Simple Shooter [0.5.3] [shooter]
I believe this to be a bug in the engine as it works fine with older versions, also this does not just affect the crossbow but a lot of the other weapons too.guideahon wrote:Found a bug, if you have 2 crossbows and use the second, instead of wearing out, it starts again like the first time you used it
viewtopic.php?f=6&t=11471
Hopefully there will be a fix sometime soon otherwise this mod is busted :-(
- mahmutelmas06
- Member
- Posts: 367
- Joined: Mon Mar 02, 2015 13:10
- GitHub: mahmutelmas06
- IRC: mahmutelmas06
- In-game: masum
Re: [Mod] Simple Shooter [0.5.3] [shooter]
Thank you for the mod.
I dont know if you thinked to add but firearms has a some kind of hud for guns.
I dont know if you thinked to add but firearms has a some kind of hud for guns.
-
- Member
- Posts: 15
- Joined: Tue Sep 08, 2015 21:59
Re: [Mod] Simple Shooter [0.5.3] [shooter]
Hey can you add support for mobs redo. I tried editing the config file but it did not work. Simple mobs did work though. Thanks in advance
p.s Im using minetest version: 0.4.13
p.s Im using minetest version: 0.4.13
- lightonflux
- Member
- Posts: 384
- Joined: Mon Nov 11, 2013 07:22
- In-game: lof
- Location: Germany
Re: [Mod] Simple Shooter [0.5.3] [shooter]
I already wrote an issue regarding mobs redo. https://github.com/stujones11/shooter/issues/6
You have to add the entities of the mod to shooter so it knows which entity it is allowed to harm. But the real problem is the damage that is dealt (too little).
You have to add the entities of the mod to shooter so it knows which entity it is allowed to harm. But the real problem is the damage that is dealt (too little).
-
- Member
- Posts: 15
- Joined: Tue Sep 08, 2015 21:59
Re: [Mod] Simple Shooter [0.5.3] [shooter]
so what exactly do I have to edit in the shooter directory to increase the damage of the weapons?
And why can you shoot the sheep but not the bunny even if they have the same armour level?
And why can you shoot the sheep but not the bunny even if they have the same armour level?
- stu
- Member
- Posts: 923
- Joined: Sat Feb 02, 2013 02:51
- GitHub: stujones11
- Location: United Kingdom
Re: [Mod] Simple Shooter [0.5.3] [shooter]
I could add a global damage coefficient (as discussed in that issue) but then the weapons will also do more damage to players, which may or may not be desirable. I really need to have separate damage levels for players and entities which is quite a bit more work.lightonflux wrote:I already wrote an issue regarding mobs redo. https://github.com/stujones11/shooter/issues/6
I will eventually make the default support for mobs redo as it seems to be quite popular but in the meantime it is probably easier to decrease the armor levels of the mobs than to alter this mod.
If you want the guns to do more damage to both players and mobs then edit guns.lua and increase the damage_groups={fleshy=n} levels.tinkerlevu wrote:so what exactly do I have to edit in the shooter directory to increase the damage of the weapons?
For explosions you would need to look for this line in shooter.lua and adjust the algorithm to suit.
Code: Select all
local damage = (fleshy * 0.5 ^ dist) * 2
All I can guess it that the bunny has not been properly included in the SHOOTER_ENTITIES table. To configure this, you need to add a file called shooter.conf in the mod's main directory, see shooter.conf.example for all of the available options.tinkerlevu wrote: why can you shoot the sheep but not the bunny even if they have the same armour level?
-
- Member
- Posts: 15
- Joined: Tue Sep 08, 2015 21:59
Re: [Mod] Simple Shooter [0.5.3] [shooter]
well... I added the entities to the entity list and I slowly increased fleshy on my rifle to 500, then back down to 0 and even after adding the entities to the entity list in the conf file and shooter.lua, the bullets go straight through them and ends up hitting the block behind them. it still doesn’t work. Do you know why? I know that I'm asking too much but any help is appreciated. Thanks.
- stu
- Member
- Posts: 923
- Joined: Sat Feb 02, 2013 02:51
- GitHub: stujones11
- Location: United Kingdom
Re: [Mod] Simple Shooter [0.5.3] [shooter]
Adding "mobs:cow" to the config worked for me, however I did notice that the cow's collision box is relatively small so you do need to hit it right in the middle.tinkerlevu wrote:well... I added the entities to the entity list and I slowly increased fleshy on my rifle to 500, then back down to 0 and even after adding the entities to the entity list in the conf file and shooter.lua, the bullets go straight through them and ends up hitting the block behind them. it still doesn’t work. Do you know why? I know that I'm asking too much but any help is appreciated. Thanks.
I have now added auto configuration for all simple mobs derivatives, that is all mods that are simply named "mobs" this includes mobs redo by TenPlus1 and carbone mobs by Calinou, there may well be others.
I have so far only tested mobs redo and I personally find the damage levels quite acceptable but if you do still wish to increase the damage groups of the guns I would start with something a lot less than 500, that's way too high.
-
- Member
- Posts: 15
- Joined: Tue Sep 08, 2015 21:59
Re: [Mod] Simple Shooter [0.5.3] [shooter]
OMG! it works! you... are... AWESOME!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
I guess that all i have to do is change the hit boxes on the mobs
oh BTW, I had a addon to mobs redo that registered mobs as: kpgmobs:<mob name>, so I changed:
to:
and everything worked fine.
So I was thinking... maybe you can add support for simple mob based mods that use different naming conventions which can also be altered through the config file. Thanks alot.
I guess that all i have to do is change the hit boxes on the mobs
oh BTW, I had a addon to mobs redo that registered mobs as: kpgmobs:<mob name>, so I changed:
Code: Select all
for k, v in pairs(minetest.registered_entities) do
if string.find(k, "^mobs") then
table.insert(SHOOTER_ENTITIES, k)
end
end
Code: Select all
for k, v in pairs(minetest.registered_entities) do
if string.find(k, "^mobs") then
table.insert(SHOOTER_ENTITIES, k)
elseif string.find(k, "^kpgmobs") then
table.insert(SHOOTER_ENTITIES, k)
end
end
So I was thinking... maybe you can add support for simple mob based mods that use different naming conventions which can also be altered through the config file. Thanks alot.
Last edited by tinkerlevu on Sun Sep 13, 2015 09:32, edited 1 time in total.
-
- Member
- Posts: 15
- Joined: Tue Sep 08, 2015 21:59
Re: [Mod] Simple Shooter [0.5.3] [shooter]
oh I've got an idea! how about instead of reloading by clicking when the gun is empty, you can drag the empty gun and a pack of ammo onto the crafting guild in-order to load the gun. And you can enable or disable this feature through the config file.
And another idea, how about also being able to edit the ammo amounts of each gun through the config file
that's about all I can think of right now...
And another idea, how about also being able to edit the ammo amounts of each gun through the config file
that's about all I can think of right now...
Who is online
Users browsing this forum: Ahrefs [Bot] and 17 guests