Search found 13 matches

by Brownie
Thu Mar 31, 2016 5:13 pm
Forum: Modding help
Topic: [SOLVED]Assign entity ID error
Replies: 16
Views: 5377

Re: Assign entity ID error

It's ok, i've got it, it's stone-walls
by Brownie
Thu Mar 31, 2016 5:11 pm
Forum: Modding help
Topic: [SOLVED]Assign entity ID error
Replies: 16
Views: 5377

Re: Assign entity ID error

Ok, thanks for the help, I just need the technology now, i fixed the other bit.
by Brownie
Thu Mar 31, 2016 5:10 pm
Forum: Modding help
Topic: [SOLVED]Assign entity ID error
Replies: 16
Views: 5377

Re: Assign entity ID error

What should the technology be than, "wall"?
by Brownie
Thu Mar 31, 2016 5:09 pm
Forum: Modding help
Topic: [SOLVED]Assign entity ID error
Replies: 16
Views: 5377

Re: Assign entity ID error

Do you mean like this?
data:extend(
{
{
type = "wall",
name = "iron-wall",
icon = "__IronWall__/graphics/iron-wall-icon.png",
flags = {"placeable-neutral", "player-creation"},
collision_box = {{-0.29, -0.29}, {0.29, 0.29}},
selection_box = {{-0.5, -0.5}, {0.5, 0.5}},
minable = {mining ...
by Brownie
Thu Mar 31, 2016 5:06 pm
Forum: Modding help
Topic: [SOLVED]Assign entity ID error
Replies: 16
Views: 5377

Re: Assign entity ID error

Could you please elaborate at where I should be putting these curly braces, i'm not sure.
by Brownie
Thu Mar 31, 2016 4:58 pm
Forum: Modding help
Topic: [SOLVED]Assign entity ID error
Replies: 16
Views: 5377

Re: Assign entity ID error

Don't worry, thanks for trying at least :P
by Brownie
Thu Mar 31, 2016 4:32 pm
Forum: Modding help
Topic: [SOLVED]Assign entity ID error
Replies: 16
Views: 5377

Re: Assign entity ID error

Yes, I have it all, i've checked all the names in all the files and they all match.
by Brownie
Thu Mar 31, 2016 4:30 pm
Forum: Modding help
Topic: [SOLVED]Assign entity ID error
Replies: 16
Views: 5377

Re: Assign entity ID error

This is my entity.lua (this is my first mod so i'm not 100% sure of what i'm doing).
by Brownie
Thu Mar 31, 2016 4:18 pm
Forum: Modding help
Topic: [SOLVED]Assign entity ID error
Replies: 16
Views: 5377

[SOLVED]Assign entity ID error

I can't find where iv'e gone wrong :/
data:extend(
{

type = "wall",
name = "iron-wall",
icon = "__IronWall__/graphics/iron-wall-icon.png",
flags = {"placeable-neutral", "player-creation"},
collision_box = {{-0.29, -0.29}, {0.29, 0.29}},
selection_box = {{-0.5, -0.5}, {0.5, 0.5}},
minable ...
by Brownie
Thu Mar 31, 2016 9:46 am
Forum: Modding help
Topic: [SOLVED]Missing name or type
Replies: 2
Views: 1423

Re: Missing name or type in the following prototype definition

Thanks, i have notepad ++ already, i just didn't realise they were needed (this is my first mod).
Thanks for the help :)
by Brownie
Thu Mar 31, 2016 8:08 am
Forum: Modding help
Topic: [SOLVED]Missing name or type
Replies: 2
Views: 1423

[SOLVED]Missing name or type

http://i.imgur.com/JOSF24e.png

I can get my entity.lua to work.
data:extend(
{

type = "wall",
name = "iron-wall",
icon = "__IronWall__/graphics/iron-wall-icon.png",
flags = {"placeable-neutral", "player-creation"},
collision_box = {{-0.29, -0.29}, {0.29, 0.29}},
selection_box = {{-0.5 ...
by Brownie
Wed Mar 30, 2016 10:15 pm
Forum: Modding help
Topic: [SOLVED] Missing name or type
Replies: 2
Views: 1227

Re: Missing name or type in the following prototype definition.

Wow, I can't believe I missed that, oh well, thanks for the help. :D
by Brownie
Wed Mar 30, 2016 9:49 pm
Forum: Modding help
Topic: [SOLVED] Missing name or type
Replies: 2
Views: 1227

[SOLVED] Missing name or type

I am trying to make a simple mod that adds in new wall types, starting with iron walls. For some reason my game can't seem to be able to use decrease and percent in the resistances. this is my first mod and the code is taken from other game files with a few of my own bits of work.

Here is my enity ...

Go to advanced search