Search found 4 matches
- Thu Sep 17, 2020 3:09 pm
- Forum: Modding discussion
- Topic: it's possible Render an entity
- Replies: 6
- Views: 1862
Re: it's possible Render an entity
You must define a special type called "animation" in data.lua. For example:
data:extend{
{
type = "animation",
name = "my-animation",
filename = "__base__/graphics/entity/electric-furnace/electric-furnace-heater.png",
width = 25,
height = 15,
frame_count = 12,
animation_speed = 0.5 ...
- Thu Sep 17, 2020 3:00 pm
- Forum: Modding discussion
- Topic: it's possible Render an entity
- Replies: 6
- Views: 1862
Re: it's possible Render an entity
is similar to thatdarkfrei wrote: Thu Sep 17, 2020 8:59 amLike this one?evandro1994 wrote: Thu Sep 17, 2020 1:45 am I made a mod that allows you to recycle the remains of dead entities by returning parts of the recipes
https://mods.factorio.com/mod/LootingRemnants
then you have to mine the dead entity to get the items
- Thu Sep 17, 2020 1:45 am
- Forum: Modding discussion
- Topic: it's possible Render an entity
- Replies: 6
- Views: 1862
Re: it's possible Render an entity
I haven't seen anyone using it. Though, if it is done right then in some cases you would just think that it's done with static file modifications so you wouldn't be able to tell how it is actually implemented by just looking at the result.
I haven't used it yet, but I'm thinking of doing it in ...
- Sat Sep 12, 2020 5:00 am
- Forum: Modding discussion
- Topic: it's possible Render an entity
- Replies: 6
- Views: 1862
it's possible Render an entity
it is possible to change
Render an entity during the game
![Geek :geek:](./images/smilies/icon_e_geek.gif)
for exemple https://lua-api.factorio.com/latest/Lua ... _animation
but I don't know how to do it
Render an entity during the game
![Geek :geek:](./images/smilies/icon_e_geek.gif)
for exemple https://lua-api.factorio.com/latest/Lua ... _animation
but I don't know how to do it