Can not create a entity like a car (I use the bomber Guide)
Posted: Thu May 23, 2013 2:02 pm
Hello,
I´m new and i tried to create a car-like item. I examine the bomber Guide >FreeER's Step by Step Bomber Mod< from FreeER [thanks FreeEr ]
But If I craft the Item in my mod - i only become a icon - i cant use it. It will works similar like a axe i can drop it on the tiles with key >Z< but i can not use it with right mouseclick. Also i missed the direction or big pictures from the item if i move it with the mouse over the screen - like other entity´s do.
At least I have copy past the bomber.lua files segments from item.lua, entity.lua, recipe.lua. (and all the graphics)
The same result - no car like entity.
Maybe someone can help me. thx.
By the way - the game crashed if i add locale\de\*.cfg files. The reason: If i save the files they will saved in the wrong format it must be UTF-8 without BOM in ANSI there pop up a error "no '=' in line. ????
Greetings Frank
#######EDIT#####
Problem solved!!!!
in the "xxItem.lua" File I forgot the >>place_result="fooItem",<< Line.
So I have another question:
I got the entity-name, Item-Name and technology-name ... is there a List with all the properties, events and the other stuff u need for a good mod?
thx
I´m new and i tried to create a car-like item. I examine the bomber Guide >FreeER's Step by Step Bomber Mod< from FreeER [thanks FreeEr ]
But If I craft the Item in my mod - i only become a icon - i cant use it. It will works similar like a axe i can drop it on the tiles with key >Z< but i can not use it with right mouseclick. Also i missed the direction or big pictures from the item if i move it with the mouse over the screen - like other entity´s do.
At least I have copy past the bomber.lua files segments from item.lua, entity.lua, recipe.lua. (and all the graphics)
The same result - no car like entity.
Maybe someone can help me. thx.
By the way - the game crashed if i add locale\de\*.cfg files. The reason: If i save the files they will saved in the wrong format it must be UTF-8 without BOM in ANSI there pop up a error "no '=' in line. ????
Greetings Frank
#######EDIT#####
Problem solved!!!!
in the "xxItem.lua" File I forgot the >>place_result="fooItem",<< Line.
So I have another question:
I got the entity-name, Item-Name and technology-name ... is there a List with all the properties, events and the other stuff u need for a good mod?
thx