#hurricane sandbox
1 messages · Page 1 of 1 (latest)
lets go in here since its php related and not lua so we don't bother the other modders
appears like I had to download the whole assets folder, and not only the one I wanted
let me try that
now its outputting a ton of warnings, still progress I suppose
hmm as i feared, its been a while since i updated this mod and hurricane changed the format of his newer sprites a whole bunch of times
I think Moshine is using that sprite if you just need the data on how to make it work in Factorio
let me try that
oh in that case just grab https://mods.factorio.com/mod/character-inventory-uplink, note that my entity isn't the size that is suggested for the asset but it should be easy enough for you to modify it
what's the suggested size?
the figma site reccomends 2x2
2x2
mine is 3*4 i believe
ah thanks
Yea with models this nice you can easily scale em up or down a bit.
entity.circuit_connector = circuit_connector_definitions.create_vector
(
universal_connector_template,
{
{variation = 22, main_offset = util.by_pixel(-17.5, 53), shadow_offset = util.by_pixel(-17.5, 53), show_shadow = true},
{variation = 22, main_offset = util.by_pixel(-17.5, 53), shadow_offset = util.by_pixel(-17.5, 53), show_shadow = true},
{variation = 22, main_offset = util.by_pixel(-17.5, 53), shadow_offset = util.by_pixel(-17.5, 53), show_shadow = true},
{variation = 22, main_offset = util.by_pixel(-17.5, 53), shadow_offset = util.by_pixel(-17.5, 53), show_shadow = true},
}
)
entity.circuit_connector[1].sprites.connector_main = nil
entity.circuit_connector[1].sprites.connector_shadow = nil
entity.circuit_connector[1].sprites.led_red = util.empty_sprite()
entity.circuit_connector[1].sprites.led_green = util.empty_sprite()
entity.circuit_connector[1].sprites.led_blue = util.empty_sprite()
entity.circuit_connector[1].sprites.led_blue_off = nil
what's this part supposed to do?