[11.1] JBullet 0.1.0

Topics and discussion about specific mods
Post Reply
User avatar
JohnDowson
Burner Inserter
Burner Inserter
Posts: 11
Joined: Wed Nov 12, 2014 5:15 am
Contact:

[11.1] JBullet 0.1.0

Post by JohnDowson »

Image
One tank with one type of ammo?
Ha!
Current features
Planned features
Any comments are welcome.
Attachments
jbullets.zip
(17.94 KiB) Downloaded 246 times

Fisherman
Burner Inserter
Burner Inserter
Posts: 12
Joined: Mon Apr 21, 2014 4:28 pm
Contact:

Re: [11.1] JBullet 0.1.0

Post by Fisherman »

Illustrations, please.
Biters are so cute ^_^

Sorry for my poor English. I'm from Bearland.

User avatar
Stx3
Fast Inserter
Fast Inserter
Posts: 201
Joined: Wed Nov 05, 2014 9:04 am
Contact:

Re: [11.1] JBullet 0.1.0

Post by Stx3 »

new monsters? or do you want transform monsters in children? :lol:
Image
Image

User avatar
JohnDowson
Burner Inserter
Burner Inserter
Posts: 11
Joined: Wed Nov 12, 2014 5:15 am
Contact:

Re: [11.1] JBullet 0.1.0

Post by JohnDowson »

Fisherman wrote:Illustrations, please.
Actually, currently nothing to illustrate.
Stx3 wrote:new monsters?
No.
Stx3 wrote:or do you want transform monsters in children?
Wtf i am reading?

Vuk Farkas
Burner Inserter
Burner Inserter
Posts: 6
Joined: Sun Nov 16, 2014 8:52 pm
Contact:

Re: [11.1] JBullet 0.1.0

Post by Vuk Farkas »

there was an error and this is a fix made by my friend Saberuneko who said :"Missing "(" at eof, Missing "{" at line 129, for closing "}" at line 168."

Code: Select all

data:extend(
{
  {
    type = "projectile",
    name = "cannon-20mm-projectile",
    flags = {"not-on-map"},
    collision_box = {{-0.05, -1.1}, {0.05, 1.1}},
    acceleration = 0,
    direction_only = true,
    piercing_damage = 300,
    action =
    {
      type = "direct",
      action_delivery =
      {
        type = "instant",
        target_effects =
        {
          {
            type = "create-entity",
            entity_name = "explosion-gunshot"
          },
          {
            type = "damage",
            damage = { amount = 50 , type = "physical"}
          },
          {
            type = "damage",
            damage = { amount = 5 , type = "explosion"}
          }
        }
      }
    },
    animation =
    {
      filename = "__base__/graphics/entity/bullet/bullet.png",
      frame_count = 1,
      width = 3,
      height = 50,
      priority = "high"
    },
  },
  {
    type = "projectile",
    name = "cannon-20mm-he-projectile",
    flags = {"not-on-map"},
    collision_box = {{-0.05, -1.1}, {0.05, 1.1}},
    acceleration = 0,
    direction_only = true,
    piercing_damage = 300,
    action =
    {
      type = "direct",
      action_delivery =
      {
        type = "instant",
        target_effects =
        {
          {
            type = "create-entity",
            entity_name = "explosion"
          },
		  {
            type = "nested-result",
            action =
            {
              type = "area",
              perimeter = 1,
              action_delivery =
              {
                type = "instant",
                target_effects =
                {
                  {
                    type = "damage",
                    damage = {amount = 15, type = "explosion"}
                  },
				  {
                    type = "damage",
                    damage = { amount = 15 , type = "physical"}
                  },
                  {
                    type = "create-entity",
                    entity_name = "explosion"
                  }
                }
              }
	        },
          },
		  {
            type = "nested-result",
            action =
            {
              type = "area",
              perimeter = 2.5,
              action_delivery =
              {
                type = "instant",
                target_effects =
                {
                  {
                    type = "damage",
                    damage = {amount = 15, type = "explosion"}
                  },
				  {
                    type = "damage",
                    damage = { amount = 5 , type = "physical"}
                  },
                  {
                    type = "create-entity",
                    entity_name = "explosion"
                  }
                }
              }
	        },
          }
        }
      }
    },
    animation =
    {
      filename = "__base__/graphics/entity/bullet/bullet.png",
      frame_count = 1,
      width = 3,
      height = 50,
      priority = "high"
    },
  },
  {
    type = "projectile",
    name = "cannon-20mm-belt-projectile",
    flags = {"not-on-map"},
    collision_box = {{-0.05, -1.1}, {0.05, 1.1}},
    acceleration = 0,
    direction_only = true,
    piercing_damage = 300,
    action =
    {
      type = "direct",
      action_delivery =
      {
        type = "instant",
        target_effects =
        {
          {
            type = "create-entity",
            entity_name = "explosion-gunshot"
          },
          {
            type = "damage",
            damage = { amount = 50 , type = "physical"}
          },
          {
            type = "damage",
            damage = { amount = 5 , type = "explosion"}
          }
        }
      }
    },
    animation =
    {
      filename = "__base__/graphics/entity/bullet/bullet.png",
      frame_count = 1,
      width = 3,
      height = 50,
      priority = "high"
    },
  },
}
)

Post Reply

Return to “Mods”