Topic: Debug-Script
MarkMcWire Topic Opener |
Posted at: 2020-10-28, 12:15
Here my script as attachement. My widelands project: https://github.com/widelands/wl_addons_server/tree/master/addons/europeans_tribe.wad Top Quote |
hessenfarmer |
Posted at: 2020-10-28, 12:28
Would be nice if you could keep us updated with any observations you make Top Quote |
MarkMcWire Topic Opener |
Posted at: 2020-10-28, 13:03
My europeans KI dont dismantle fisher huts, even if they have 0% fish left. I don't know, if this is an error in my tribe code or a general problem. My widelands project: https://github.com/widelands/wl_addons_server/tree/master/addons/europeans_tribe.wad Top Quote |
hessenfarmer |
Posted at: 2020-10-28, 13:38
I don't have much time for analysis currently, but this sounds not ok. Did you try with other tribes as well? Top Quote |
MarkMcWire Topic Opener |
Posted at: 2020-11-11, 10:42
Here a new extended version of the script. My widelands project: https://github.com/widelands/wl_addons_server/tree/master/addons/europeans_tribe.wad Top Quote |
hessenfarmer |
Posted at: 2020-11-11, 18:59
Thanks for the script. Top Quote |
GunChleoc |
Posted at: 2020-11-12, 08:40
I'll need the pathfinding bit of the road connection for the training wheels too. +1 for implementing in C++. Edited: 2020-11-12, 08:40
Busy indexing nil values Top Quote |
MarkMcWire Topic Opener |
Posted at: 2020-11-12, 15:21
The code isn't final. Actual, the function make only one step in the right direction but don't connect the flags. I have to implement a loop, which executes the code multiple times. My widelands project: https://github.com/widelands/wl_addons_server/tree/master/addons/europeans_tribe.wad Top Quote |
GunChleoc |
Posted at: 2020-11-12, 19:31
I very recently wrote this bit that might come in useful:
Busy indexing nil values Top Quote |
MarkMcWire Topic Opener |
Posted at: 2020-11-19, 17:44
Some extensions of my script. Just for fun or developement. Not to cheat My widelands project: https://github.com/widelands/wl_addons_server/tree/master/addons/europeans_tribe.wad Top Quote |