Page 1 of 1

Rotate stickers/sticker box

Posted: Sat Aug 17, 2019 11:46 pm
by gabberworld
that green thing what shows that you was get hit by enemy not auto turn for same direction like collision_box are

Image

Re: green hit by enemy

Posted: Sun Aug 18, 2019 4:34 am
by Rseding91
Thanks for the report however you haven't given us any way to reproduce what you're showing. Please post a save file and what ever mods your'e using + steps to reproduce the issue.

Re: green hit by enemy

Posted: Sun Aug 18, 2019 6:13 am
by gabberworld

Code: Select all

    collision_box = {{-1.0, -1.6}, {0.3, 1.6}},  
add this to the tank script for testing only
should be at data\base\prototypes\entity\entities.lua in line 1238
and then go hunt enemy for hit you,
when enemy hits you, rotate your tank , and you should see same results like me

Re: green hit by enemy

Posted: Mon Aug 19, 2019 9:31 am
by Klonan
Right now, the stickers/sticker box doesn't rotate, it isn't a feature in the engine

I am moving this to Ideas and suggestions

You can set a custom sticker box `sticker_box = {{1, 2}, {3, 4}}` if you want the green hit to appear elsewhere