LetswaveaBook Posted April 17, 2023 Report Share Posted April 17, 2023 (edited) 14 hours ago, wowgetoffyourcellphone said: I'm always open to try new features though, so I look forward to a patch. I was playing around with the idea of a farmstead that could build fields nearby. If fields would be placed this way around farmsteads, that would look more natural and nicer than placing them around CCs. However I haven't been able to attach the builder template to a building. Since I do think the axe cav is underdeveloped, I experimented with reducing its required promotional experience to 2 and setting it promotion entity to a (Persian) field. This does not feel like an ideal solution though, even if you set the required xp to 0 (instant development into a field). Though in all seriousness, it could allow the engine to "train" an unit and the result would be a building. However I am afraid it could be used to create overlapping buildings. Edited April 17, 2023 by LetswaveaBook Quote Link to comment Share on other sites More sharing options...
Player of 0AD Posted April 17, 2023 Report Share Posted April 17, 2023 "Machines making machines! How perverse." - C3PO 1 1 Quote Link to comment Share on other sites More sharing options...
Lion.Kanzen Posted April 17, 2023 Report Share Posted April 17, 2023 28 minutes ago, LetswaveaBook said: 15 hours ago, wowgetoffyourcellphone said: I'm always open to try new features though, so I look forward to a patch. I was playing around with the idea of a farmstead that could build fields nearby. If fields would be placed this way around farmsteads, that would look more natural and nicer than placing them around CCs. I agree. Quote Link to comment Share on other sites More sharing options...
Freagarach Posted April 18, 2023 Report Share Posted April 18, 2023 (edited) You may want https://code.wildfiregames.com/D2657. Edited April 18, 2023 by Freagarach 1 Quote Link to comment Share on other sites More sharing options...
wowgetoffyourcellphone Posted April 18, 2023 Report Share Posted April 18, 2023 (edited) 19 hours ago, LetswaveaBook said: I was playing around with the idea of a farmstead that could build fields nearby. If fields would be placed this way around farmsteads, that would look more natural and nicer than placing them around CCs. However I haven't been able to attach the builder template to a building. As is tradition, Delenda Est already has this cool feature. https://github.com/JustusAvramenko/delenda_est/blob/master/simulation/templates/template_structure_economic_farmstead.xml#L13 And it works pretty nicely. Try it on the Miletus Peninsula skirmish map in the mod, since there's a nice free Farmstead nearby you can capture or the new Isthmus of Corinth skirmish map, which also has 2 nearby capturable Farmsteads. As an aside, the mod makes a distinction now between Granaries and Farmsteads. Granaries are built by the player, while Farmsteads are gaia objects you capture to get the Farmland aura. But of course "under the hood" "Granaries" still use the Farmstead nomenclature to not screw up the AI. Edited April 18, 2023 by wowgetoffyourcellphone 1 1 Quote Link to comment Share on other sites More sharing options...
LetswaveaBook Posted April 29, 2023 Author Report Share Posted April 29, 2023 On 17/04/2023 at 8:31 PM, LetswaveaBook said: I was playing around with the idea of a farmstead that could build fields nearby. On 18/04/2023 at 3:49 PM, wowgetoffyourcellphone said: As is tradition, Delenda Est already has this cool feature. You pulled a prank on me. Delanda Est does not have that cool feature. Farmsteads in Delenda Est can't build fields. Fields build itself ;P I haven't found any code yet to make buildings construct other buildings. Quote Link to comment Share on other sites More sharing options...
wowgetoffyourcellphone Posted April 29, 2023 Report Share Posted April 29, 2023 1 minute ago, LetswaveaBook said: You pulled a prank on me. Delanda Est does not have that cool feature. Farmsteads in Delenda Est can't build fields. Fields build itself ;P Then I guess I don't know what you want. The effect remains the same. Quote Link to comment Share on other sites More sharing options...
LetswaveaBook Posted April 29, 2023 Author Report Share Posted April 29, 2023 44 minutes ago, wowgetoffyourcellphone said: The effect remains the same. The difference is that if a unit has 10 foundations around it, then it can build only one at a time. If a farmstead has 10 autobuilding fields around it, then all of them get constructed at the same time. Quote Link to comment Share on other sites More sharing options...
LetswaveaBook Posted April 29, 2023 Author Report Share Posted April 29, 2023 My current idea is to set a limit to the number of autobuildables of 1. Once an autobuildable is completed, it promotes to a regular building. That way, only 1 building gets constructed at a time. Quote Link to comment Share on other sites More sharing options...
Yekaterina Posted April 29, 2023 Report Share Posted April 29, 2023 It would be great if houses can automatically build other houses. Quote Link to comment Share on other sites More sharing options...
hyperion Posted April 29, 2023 Report Share Posted April 29, 2023 1 hour ago, wowgetoffyourcellphone said: Then I guess I don't know what you want. The effect remains the same. Should be placing foundations as well. @LetswaveaBook, there quite a few aspects you haven't clearly outlined, like how are placements triggered, how are resource cost handled, outlaying algorithm etc. Anyway I don't see a way to abuse current mechanics to do what you want, so you will inevitably have to write some code. If you limit yourself to the special case of placing farms around a farmstead this doesn't seem all to difficult tho. Quote Link to comment Share on other sites More sharing options...
wowgetoffyourcellphone Posted April 29, 2023 Report Share Posted April 29, 2023 (edited) 1 hour ago, LetswaveaBook said: The difference is that if a unit has 10 foundations around it, then it can build only one at a time. If a farmstead has 10 autobuilding fields around it, then all of them get constructed at the same time. So you want the fields to only spawn one at a time? Does the field placement happen automatically or does it require player input? Edited April 29, 2023 by wowgetoffyourcellphone Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.