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

User avatar
Dan Duncombe
Member
Posts: 904
Joined: Thu May 09, 2013 21:11
Location: In the unknown depths of Earth

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

by Dan Duncombe » Post

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
Attachments
army.zip
(146.65 KiB) Downloaded 2789 times
Last edited by Dan Duncombe on Wed Oct 30, 2013 15:35, edited 1 time in total.
Some Mods: Castles Prefab Camouflage
My Games: Nostalgia Realtest Revamped
Servers: See above games.

User avatar
LuxAtheris
Member
Posts: 169
Joined: Fri Oct 25, 2013 00:54
Location: Aether

by LuxAtheris » Post

Looks nice
gonna download now
Believe you can and you’re halfway there.

User avatar
Dan Duncombe
Member
Posts: 904
Joined: Thu May 09, 2013 21:11
Location: In the unknown depths of Earth

by Dan Duncombe » Post

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.
Last edited by Dan Duncombe on Wed Oct 30, 2013 11:15, edited 1 time in total.
Some Mods: Castles Prefab Camouflage
My Games: Nostalgia Realtest Revamped
Servers: See above games.

User avatar
LuxAtheris
Member
Posts: 169
Joined: Fri Oct 25, 2013 00:54
Location: Aether

by LuxAtheris » Post

Nice,i like the sound part.
but i think the mine isn't working,tried to step on it
Believe you can and you’re halfway there.

User avatar
Dan Duncombe
Member
Posts: 904
Joined: Thu May 09, 2013 21:11
Location: In the unknown depths of Earth

by Dan Duncombe » Post

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.
Some Mods: Castles Prefab Camouflage
My Games: Nostalgia Realtest Revamped
Servers: See above games.

User avatar
LuxAtheris
Member
Posts: 169
Joined: Fri Oct 25, 2013 00:54
Location: Aether

by LuxAtheris » Post

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
Believe you can and you’re halfway there.

User avatar
Topywo
Member
Posts: 1721
Joined: Fri May 18, 2012 20:27

by Topywo » Post

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.

User avatar
Dan Duncombe
Member
Posts: 904
Joined: Thu May 09, 2013 21:11
Location: In the unknown depths of Earth

by Dan Duncombe » Post

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.
Last edited by Dan Duncombe on Wed Oct 30, 2013 15:36, edited 1 time in total.
Some Mods: Castles Prefab Camouflage
My Games: Nostalgia Realtest Revamped
Servers: See above games.

User avatar
Dan Duncombe
Member
Posts: 904
Joined: Thu May 09, 2013 21:11
Location: In the unknown depths of Earth

by Dan Duncombe » Post

Update 0.3:

Remove mines, cause they caused some crashes.
Added a knife. (no recipe yet)
Last edited by Dan Duncombe on Wed Oct 30, 2013 15:35, edited 1 time in total.
Some Mods: Castles Prefab Camouflage
My Games: Nostalgia Realtest Revamped
Servers: See above games.

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

by BrunoMine » Post

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.
My small square universe under construction ... Minemacro
Comunidade Minetest Brasil
www.minetestbrasil.com

User avatar
Dan Duncombe
Member
Posts: 904
Joined: Thu May 09, 2013 21:11
Location: In the unknown depths of Earth

by Dan Duncombe » Post

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.
Some Mods: Castles Prefab Camouflage
My Games: Nostalgia Realtest Revamped
Servers: See above games.

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

by BrunoMine » Post

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!
Last edited by BrunoMine on Wed Oct 30, 2013 16:10, edited 1 time in total.
My small square universe under construction ... Minemacro
Comunidade Minetest Brasil
www.minetestbrasil.com

User avatar
Dan Duncombe
Member
Posts: 904
Joined: Thu May 09, 2013 21:11
Location: In the unknown depths of Earth

by Dan Duncombe » Post

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!
Some Mods: Castles Prefab Camouflage
My Games: Nostalgia Realtest Revamped
Servers: See above games.

User avatar
LionsDen
Member
Posts: 530
Joined: Thu Jun 06, 2013 03:19

by LionsDen » Post

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

User avatar
Inocudom
Member
Posts: 3096
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

by Inocudom » Post

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:
viewtopic.php?pid=77035#p77035
viewtopic.php?pid=49115#p49115
You can now find my videos at BitChute: https://www.bitchute.com/channel/some_cheeky_jinuskian/

User avatar
Dan Duncombe
Member
Posts: 904
Joined: Thu May 09, 2013 21:11
Location: In the unknown depths of Earth

by Dan Duncombe » Post

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)
Last edited by Dan Duncombe on Wed Oct 30, 2013 17:04, edited 1 time in total.
Some Mods: Castles Prefab Camouflage
My Games: Nostalgia Realtest Revamped
Servers: See above games.

User avatar
viv100
Member
Posts: 80
Joined: Sat Aug 10, 2013 16:36

by viv100 » Post

how is it to reload and fire the gun

User avatar
Dan Duncombe
Member
Posts: 904
Joined: Thu May 09, 2013 21:11
Location: In the unknown depths of Earth

by Dan Duncombe » Post

viv100 wrote:how is it to reload and fire the gun
Look further up, I have already given instructions.
Some Mods: Castles Prefab Camouflage
My Games: Nostalgia Realtest Revamped
Servers: See above games.

User avatar
viv100
Member
Posts: 80
Joined: Sat Aug 10, 2013 16:36

by viv100 » Post

I do not understand

User avatar
Dan Duncombe
Member
Posts: 904
Joined: Thu May 09, 2013 21:11
Location: In the unknown depths of Earth

by Dan Duncombe » Post

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.
Some Mods: Castles Prefab Camouflage
My Games: Nostalgia Realtest Revamped
Servers: See above games.

User avatar
LionsDen
Member
Posts: 530
Joined: Thu Jun 06, 2013 03:19

by LionsDen » Post

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.

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

by BrunoMine » Post

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.
My small square universe under construction ... Minemacro
Comunidade Minetest Brasil
www.minetestbrasil.com

User avatar
Inocudom
Member
Posts: 3096
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

by Inocudom » Post

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:
viewtopic.php?pid=77035#p77035
viewtopic.php?pid=49115#p49115
Nobody read the above post, apparently...

There is a capture-the-flag mod. The link to it is below:
viewtopic.php?id=6947
You can now find my videos at BitChute: https://www.bitchute.com/channel/some_cheeky_jinuskian/

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

by BrunoMine » Post

considered this mod flag, however the mod is a standard army of war.
My small square universe under construction ... Minemacro
Comunidade Minetest Brasil
www.minetestbrasil.com

User avatar
nolan
Member
Posts: 298
Joined: Tue Jun 25, 2013 04:52
Location: ohio

by nolan » Post

Update with the screenshots please? :)
Minecraft Came Out For The Ps3

Post Reply

Who is online

Users browsing this forum: No registered users and 11 guests