I need help modding

User avatar
TailsTheFoxDoes MT
Member
 
Posts: 415
Joined: Mon Jan 18, 2016 20:50
In-game: TailsTheFox

I need help modding

by TailsTheFoxDoes MT » Sun May 01, 2016 20:13

I need some help to make a mod:
First, i need to know, what type of fighting is there besides dogfight? And will i have to put extra code for these fighting types to work?

OFFTOPIC:
Has anyone played Zombie Tsunami?
I'm the TailsTMM of minetest, in other words, i rock.
BRAAAAAZZZZAAAA!!!!!!!!!!!!!!!!!!!!!!!!!!!
BTW it means TailsTheMeseMinecart, but that isn't my name, it's just a way of saying that i basically do the same thing Dantdm does but i do it with minetest And you problably can't see the invisible ink.
My mods:
My first mod:tails_boss

Mob_pack now has voice acting! Do you want YOUR VOICE included? Look in my posts for the thread!
 

User avatar
MineYoshi
Member
 
Posts: 4267
Joined: Wed Jul 08, 2015 13:20
GitHub: MineYosh
IRC: MineYoshi
In-game: Kirby_Retro

Re: I need help modding

by MineYoshi » Sun May 01, 2016 20:32

[quote="TailsTheFoxDoes MT"
OFFTOPIC:
Has anyone played Zombie Tsunami?[/quote]

Nope.
People talk about freedom of speech, so i'll say that God exists.
Open your eyes!! See The big unicorn conspiracy.!! :D The government has been lying to us about unicorns!!
"I've learned there are three things you don't discuss with people: religion, politics and the Great Pumpkin" - Linus Van Pelt
I'm the Officially 1st ABJist in the world ( ͡° ͜ʖ ͡°)
 

User avatar
azekill_DIABLO
Member
 
Posts: 3458
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: I need help modding

by azekill_DIABLO » Mon May 02, 2016 11:03

all types of fight i know is dogshoot (follows you and shot when in range<<=can be modified)
and dogfight :)
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
Hi, my username is azekill_DIABLO and i'm an exelent bug-maker(yeah...i know...i have a bad reputation)

azekill_DIABLO said: Mineyoshi+ABJ+Baggins= TOPIC HIJACKED.
My Mods and Stuff | Voxellar | VoxBox on GITHUB | M.I.L.A Monster engine
WEIRD MODDING CONTEST !!!
 

User avatar
TailsTheFoxDoes MT
Member
 
Posts: 415
Joined: Mon Jan 18, 2016 20:50
In-game: TailsTheFox

Re: I need help modding

by TailsTheFoxDoes MT » Sun May 08, 2016 23:20

azekill_DIABLO wrote:all types of fight i know is dogshoot (follows you and shot when in range<<=can be modified)
and dogfight :)

Yyeess i needed to know how to make them shoot but don't you need to query in what texture the shot uses and if so, do you just put it under fightype=dogshoot?
I'm the TailsTMM of minetest, in other words, i rock.
BRAAAAAZZZZAAAA!!!!!!!!!!!!!!!!!!!!!!!!!!!
BTW it means TailsTheMeseMinecart, but that isn't my name, it's just a way of saying that i basically do the same thing Dantdm does but i do it with minetest And you problably can't see the invisible ink.
My mods:
My first mod:tails_boss

Mob_pack now has voice acting! Do you want YOUR VOICE included? Look in my posts for the thread!
 

User avatar
Napiophelios
Member
 
Posts: 752
Joined: Mon Jul 07, 2014 01:14
GitHub: Napiophelios
IRC: Nappi
In-game: Nappi

Re: I need help modding

by Napiophelios » Sun May 08, 2016 23:30

you will need to register an "arrow"

Use dungeon master as a referance:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
-- Dungeon Master by PilzAdam

stuff needed when you register_mob:
attack_type = "dogshoot",
reach = 3,
shoot_interval = 2.5,
arrow = "mobs:fireball",
shoot_offset = 1,

-- fireball (weapon)
mobs:register_arrow("mobs:fireball", {
   visual = "sprite",
   visual_size = {x = 1, y = 1},
   textures = {"mobs_fireball.png"},
   velocity = 6,

   -- direct hit, no fire... just plenty of pain
   hit_player = function(self, player)
      player:punch(self.object, 1.0, {
         full_punch_interval = 1.0,
         damage_groups = {fleshy = 8},
      }, nil)
   end,

   hit_mob = function(self, player)
      player:punch(self.object, 1.0, {
         full_punch_interval = 1.0,
         damage_groups = {fleshy = 8},
      }, nil)
   end,

   -- node hit, bursts into flame
   hit_node = function(self, pos, node)
      mobs:explosion(pos, 1, 1, 0)
   end
})
 

User avatar
TailsTheFoxDoes MT
Member
 
Posts: 415
Joined: Mon Jan 18, 2016 20:50
In-game: TailsTheFox

Re: I need help modding

by TailsTheFoxDoes MT » Mon May 30, 2016 15:32

Napiophelios wrote:you will need to register an "arrow"

Use dungeon master as a referance:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
-- Dungeon Master by PilzAdam

stuff needed when you register_mob:
attack_type = "dogshoot",
reach = 3,
shoot_interval = 2.5,
arrow = "mobs:fireball",
shoot_offset = 1,

-- fireball (weapon)
mobs:register_arrow("mobs:fireball", {
   visual = "sprite",
   visual_size = {x = 1, y = 1},
   textures = {"mobs_fireball.png"},
   velocity = 6,

   -- direct hit, no fire... just plenty of pain
   hit_player = function(self, player)
      player:punch(self.object, 1.0, {
         full_punch_interval = 1.0,
         damage_groups = {fleshy = 8},
      }, nil)
   end,

   hit_mob = function(self, player)
      player:punch(self.object, 1.0, {
         full_punch_interval = 1.0,
         damage_groups = {fleshy = 8},
      }, nil)
   end,

   -- node hit, bursts into flame
   hit_node = function(self, pos, node)
      mobs:explosion(pos, 1, 1, 0)
   end
})

Lots of code, but thanks, i'll use this for my new mod because Teletron shoots stuff. :\
I'm the TailsTMM of minetest, in other words, i rock.
BRAAAAAZZZZAAAA!!!!!!!!!!!!!!!!!!!!!!!!!!!
BTW it means TailsTheMeseMinecart, but that isn't my name, it's just a way of saying that i basically do the same thing Dantdm does but i do it with minetest And you problably can't see the invisible ink.
My mods:
My first mod:tails_boss

Mob_pack now has voice acting! Do you want YOUR VOICE included? Look in my posts for the thread!
 


Return to Modding Discussion

Who is online

Users browsing this forum: No registered users and 11 guests