Page 1 of 2

[Mod] Army Stuff!!! [0.2] [army]

PostPosted: Wed Oct 30, 2013 09:44
by Dan Duncombe
Hello there, this is my new mod: Army!
It adds some army style stuff, eg barbed wire, sandbags, ration packs, and GUN!
Even a sort of airdrop crate!
Great for pvp styled servers!
May add more stuff. Make suggestions below!
Credits to PilzAdam for the framework of the gun.

Please report any bugs in the issues tracker at Github.

Todo:
  • Some more stuff (need ideas!)
  • Give Knife a recipe (ideas anyone?)

Depends: Default, Dye

Download: See below.

License: CC-By-Sa

[spoiler=Screenshots]
Image
Image
[/spoiler]

PostPosted: Wed Oct 30, 2013 09:55
by LuxAtheris
Looks nice
gonna download now

PostPosted: Wed Oct 30, 2013 11:14
by Dan Duncombe
Update 0.2:
ADDED A RIFLE!!! To use: Put rifle in inv, put bullets directly right of rifle,punch to fire!!!
Credits to PilzAdam for the framework of the gun.

PostPosted: Wed Oct 30, 2013 13:39
by LuxAtheris
Nice,i like the sound part.
but i think the mine isn't working,tried to step on it

PostPosted: Wed Oct 30, 2013 13:45
by Dan Duncombe
LuxAtheris wrote:Nice,i like the sound part.
but i think the mine isn't working,tried to step on it

You did activate it right?
Punch and wait to activate.

PostPosted: Wed Oct 30, 2013 14:32
by LuxAtheris
Dan Duncombe wrote:
LuxAtheris wrote:Nice,i like the sound part.
but i think the mine isn't working,tried to step on it

You did activate it right?
Punch and wait to activate.

ohh,didnt know that,silly me

PostPosted: Wed Oct 30, 2013 14:41
by Topywo
I took a look at the screenshot and the code of the barbed wire. Very nice!

While doing that I read you need to punch a mine? Maybe an idea to activate it when an entity is close? Punching it isn't the first thing I think about when I see a mine.

PostPosted: Wed Oct 30, 2013 15:34
by Dan Duncombe
Topywo wrote:I took a look at the screenshot and the code of the barbed wire. Very nice!

While doing that I read you need to punch a mine? Maybe an idea to activate it when an entity is close? Punching it isn't the first thing I think about when I see a mine.

Well, mines are now removed because they crashed minetest by causing something to go wrong in default.
I meant punch to turn on, with a several-second countdown, giving you time to get away before they become active.
When active, they blow up when a player comes near.

PostPosted: Wed Oct 30, 2013 15:35
by Dan Duncombe
Update 0.3:

Remove mines, cause they caused some crashes.
Added a knife. (no recipe yet)

PostPosted: Wed Oct 30, 2013 15:43
by BrunoMine
Looks good but ....
It exencial accompanying another mod of firearms. Can be based on the mod arremeçar (PilzAdam), but with sound and textures of firearms.

PostPosted: Wed Oct 30, 2013 16:05
by Dan Duncombe
brunob.santos wrote:Looks good but ....
It exencial accompanying another mod of firearms. Can be based on the mod arremeçar (PilzAdam), but with sound and textures of firearms.

Errr... the textures, and the sounds, are different from firearms. There is ONE gun in this. This adds many things not in firearms.

PostPosted: Wed Oct 30, 2013 16:09
by BrunoMine
Dan Duncombe wrote:
brunob.santos wrote:Looks good but ....
It exencial accompanying another mod of firearms. Can be based on the mod arremeçar (PilzAdam), but with sound and textures of firearms.

Errr... the textures, and the sounds, are different from firearms. There is ONE gun in this. This adds many things not in firearms.


excuse me, mistakenly published.
What I mean.
Add a background sound that inspires a war (sound of gunfire in the distance)
Add a way to select players for each team. (Or enter a mod to do that) Thanks!

PostPosted: Wed Oct 30, 2013 16:11
by Dan Duncombe
brunob.santos wrote:excuse me, mistakenly published.
What I mean.
Add a background sound that inspires a war (sound of gunfire in the distance)
Add a way to select players for each team. (Or enter a mod to do that) Thanks!

I see, so make the world seem warlike with sound effects etc. If I get good enough, that will definately be included!

PostPosted: Wed Oct 30, 2013 16:32
by LionsDen
For the sound effects, you could use the minetest.after function to play the sound. Then it will call the minetest.after function for the next time the sound is needed by maybe randomly choosing a number between 1 and 10 seconds. That way you get the random sounds of guns and or bombs. Just have a different timer for each sound you want in the background. Hope this helps. :)

A link to the minetest.after wiki page.

http://dev.minetest.net/minetest.after

PostPosted: Wed Oct 30, 2013 16:51
by Inocudom
How about, as something for the army to fight, giant subterranean yellow jacket hives. If you need some inspiration, look at the video below:
http://youtu.be/sjfr8EsI2YQ
Why yellow jackets you ask? Because they are very aggressive, their hives are like something out of a horror film, and they would sure make for a unique type of enemy that has never been done before.

You could add flamethrowers and fire extinguishers to this mod. Give the two mods below a look in order to gain inspiration:
https://forum.minetest.net/viewtopic.php?pid=77035#p77035
https://forum.minetest.net/viewtopic.php?pid=49115#p49115

PostPosted: Wed Oct 30, 2013 16:52
by Dan Duncombe
LionsDen wrote:For the sound effects, you could use the minetest.after function to play the sound. Then it will call the minetest.after function for the next time the sound is needed by maybe randomly choosing a number between 1 and 10 seconds. That way you get the random sounds of guns and or bombs. Just have a different timer for each sound you want in the background. Hope this helps. :)

A link to the minetest.after wiki page.

http://dev.minetest.net/minetest.after


Thanks!

Edit: This works once, but then stops, how do I keep it repeating?
minetest.after(7, function(pos, player)
music_handle=minetest.sound_play("army_ambient1",
{pos = pos, gain = 1.0, max_hear_distance = 1,})
end)

PostPosted: Wed Oct 30, 2013 17:27
by viv100
how is it to reload and fire the gun

PostPosted: Wed Oct 30, 2013 17:34
by Dan Duncombe
viv100 wrote:how is it to reload and fire the gun

Look further up, I have already given instructions.

PostPosted: Wed Oct 30, 2013 17:40
by viv100
I do not understand

PostPosted: Wed Oct 30, 2013 18:12
by Dan Duncombe
viv100 wrote:I do not understand


'Put gun in inventory. Put bullets to direct right of gun. Punch to fire'
More or less what I already said.

PostPosted: Wed Oct 30, 2013 19:49
by LionsDen
Dan Duncombe wrote:
LionsDen wrote:For the sound effects, you could use the minetest.after function to play the sound. Then it will call the minetest.after function for the next time the sound is needed by maybe randomly choosing a number between 1 and 10 seconds. That way you get the random sounds of guns and or bombs. Just have a different timer for each sound you want in the background. Hope this helps. :)

A link to the minetest.after wiki page.

http://dev.minetest.net/minetest.after


Thanks!

Edit: This works once, but then stops, how do I keep it repeating?
minetest.after(7, function(pos, player)
music_handle=minetest.sound_play("army_ambient1",
{pos = pos, gain = 1.0, max_hear_distance = 1,})
end)


Put the sound into it's own function and call that once the first time when your mod code is executed once. Then in the function you created to play the sound, have it do the minetest.after command again but this time with a random number in the time position. That way it will call itself again every time the sound is played and it will space the time between plays randomly. That would be the way that I would do it as I don't know of any other way that is as economical in computing time.

PostPosted: Wed Oct 30, 2013 21:14
by BrunoMine
This is the best mod for pvp servers I've ever seen. If you want this to really work. I believe we need a functional system for the server.
This system includes:
* Zoning of the players into two teams (so enter the server)
* Auto balancing the number of players on each team.
* Renaming of players on each team (eg BLUE01, RED01)
* Respawn at the base of the team
* Scoring system for deaths

I analyzed all the points I and with the addition of these functions may be the mod for pvp servers.

PostPosted: Wed Oct 30, 2013 21:59
by Inocudom
Inocudom wrote:How about, as something for the army to fight, giant subterranean yellow jacket hives. If you need some inspiration, look at the video below:
http://youtu.be/sjfr8EsI2YQ
Why yellow jackets you ask? Because they are very aggressive, their hives are like something out of a horror film, and they would sure make for a unique type of enemy that has never been done before.

You could add flamethrowers and fire extinguishers to this mod. Give the two mods below a look in order to gain inspiration:
https://forum.minetest.net/viewtopic.php?pid=77035#p77035
https://forum.minetest.net/viewtopic.php?pid=49115#p49115


Nobody read the above post, apparently...

There is a capture-the-flag mod. The link to it is below:
https://forum.minetest.net/viewtopic.php?id=6947

PostPosted: Wed Oct 30, 2013 22:59
by BrunoMine
considered this mod flag, however the mod is a standard army of war.

PostPosted: Thu Oct 31, 2013 00:05
by nolan
Update with the screenshots please? :)

PostPosted: Thu Oct 31, 2013 07:00
by Rhys
Very nice! It would be nice if you added a knife and more weapons like a bazooka. Hope you like my ideas! Lovely mod btw! :)

PostPosted: Thu Oct 31, 2013 08:19
by jenova99sephiros
Nice and cool

PostPosted: Mon Dec 02, 2013 18:00
by ZacAttack
Dan Duncombe wrote:Hello there, this is my new mod: Army!
It adds some army style stuff, eg barbed wire, sandbags, ration packs, and GUN!
Even a sort of airdrop crate!
Great for pvp styled servers!
May add more stuff. Make suggestions below!
Credits to PilzAdam for the framework of the gun.

Please report any bugs in the issues tracker at Github.

Todo:
  • Some more stuff (need ideas!)
  • Give Knife a recipe (ideas anyone?)

Depends: Default, Dye

Download: See below.

License: CC-By-Sa

[spoiler=Screenshots]
http://i.imgur.com/xWMjpGo.png
http://s14.postimg.org/hm9t3jlhd/army_mod_perimeter.png
[/spoiler]

For knife use 1 wood and i ironingut

PostPosted: Mon Dec 02, 2013 18:19
by Inocudom
Well, I guess this mod will never be updated ever again. Why does Minetest have such a problem with holding onto aspiring modders?

Re: [Mod] Army Stuff!!! [0.2] [army]

PostPosted: Mon Jun 09, 2014 14:02
by Inocudom
Since Dan Duncombe is not around, what will become of this mod?