Page 1 of 1

The correct command for long reach is?

Posted: Tue Nov 19, 2024 8:43 pm
by brunzenstein
/c local reach = 10000
game.player.force.character_build_distance_bonus = reach
game.player.force.character_reach_distance_bonus = reach

This command (as listed on the console Lua site) wont work - can anyone give me a helping hand?

Re: The correct command for long reach is?

Posted: Tue Nov 19, 2024 10:47 pm
by morsk
These commands still work for long reach. You can see the difference if you zoom out, and try to delete an item at a far corner of the screen. It works.

The change is they don't work in Remote View, because it only does bot requests, not real "reach". I don't know if there's any way to get the old style of map view back that lets you use reach.

Re: The correct command for long reach is?

Posted: Wed Nov 20, 2024 3:02 pm
by brunzenstein
morsk wrote: Tue Nov 19, 2024 10:47 pm These commands still work for long reach. You can see the difference if you zoom out, and try to delete an item at a far corner of the screen. It works.

The change is they don't work in Remote View, because it only does bot requests, not real "reach". I don't know if there's any way to get the old style of map view back that lets you use reach.
They don't work - thankfully Posila helped me out with the correct Lua commands:

/c local reach = 10000
game.player.force.character_build_distance_bonus = reach
game.player.force.character_reach_distance_bonus = reach
game.player.force.character_resource_reach_distance_bonus = reach
game.player.force.character_item_drop_distance_bonus = reach

Re: The correct command for long reach is?

Posted: Wed Nov 20, 2024 4:06 pm
by morsk
I mean it's obvious from your answer that it worked for build & reach distance, but not resource-reach and item-drop, and this is miscommunication. I will add the 2 new ones to the Wiki.

Re: The correct command for long reach is?

Posted: Wed Nov 20, 2024 6:43 pm
by brunzenstein
morsk wrote: Wed Nov 20, 2024 4:06 pm I mean it's obvious from your answer that it worked for build & reach distance, but not resource-reach and item-drop, and this is miscommunication. I will add the 2 new ones to the Wiki.
Thanks for your swift reaction - Chapeau!

Re: The correct command for long reach is?

Posted: Thu Nov 21, 2024 8:32 am
by brunzenstein
morsk wrote: Wed Nov 20, 2024 4:06 pm I mean it's obvious from your answer that it worked for build & reach distance, but not resource-reach and item-drop, and this is miscommunication. I will add the 2 new ones to the Wiki.
Hi morsk

Could you help me with another one:
How to clear console history?

player.clear_console()

dosesn work
Thanks in advance - Servus from Vienna