Nescio Posted May 29, 2020 Report Share Posted May 29, 2020 If and when units on walls no longer interfere with the opening and closing of gates (D1418), it would be possible to garrison units on gates (D2760) and also on wall towers (D2769), differentiating them further from free-standing defence towers and making them more similar to other wall segments. Most wall towers are already suitable for this, with a platform on top, but a few actors would need to be adjusted. From left to right, the kush, mace, and sele wall towers: Spoiler The Kushite actor is fine and doesn't need changes. The one of the “Hellenes” (used by athen, mace, spart) needs its roof replaced with a platform, like those of other civs; it also has a tiny window halfway and is the only one with a door at ground level; could those be removed? Walls were typically solid up to the parapet level. The sele also needs a platform instead of the roof, or, if you want more variation, raise the roof and replace the chamber with a platform (cf. gaul); also remove those arrowslits in the middle. The brit wall tower does have a platform on top, but the roof is so low there is no room for placing units. At the very least its roof should be raised considerably (cf. gaul). However, the brit wall tower could actually use a redesign, since currently it's neither round, nor square, nor a regular octagon. The last civ with unsuitable wall towers is maur; here the situation is more complicated, because the short, medium, long segments have roofs too, which would should not end in empty space, and because the wall tower design is basically used in the gate as well: Spoiler On 1/25/2020 at 1:28 PM, Nescio said: Also, it would be nice if someone could raise the top platform of the siege wall tower and gate, because currently the men on the level below go through the ceiling: Also the outpost: Quote Link to comment Share on other sites More sharing options...
wowgetoffyourcellphone Posted May 30, 2020 Report Share Posted May 30, 2020 I have a competing request (I'd rather we upgrade wall turrets like we do Sentry Towers and Defense Towers: "Guard House" adds a rooftop and default arrows, "Ballista Emplacement" adds a ballista to the platform, etc. The only current problem is that wallset code can only designate 1 wall tower entity; upgrading the tower to something else doesn't allow it to be a wall endpoint anymore in case you need to rebuild a section of wall to it). But perhaps I can make a separate thread for that. 2 Quote Link to comment Share on other sites More sharing options...
asterix Posted May 30, 2020 Report Share Posted May 30, 2020 recently was commited this thing https://code.wildfiregames.com/rP23710 1 Quote Link to comment Share on other sites More sharing options...
Nescio Posted July 21, 2020 Author Report Share Posted July 21, 2020 @m7600, if you have the time and motivation, maybe you could try your hand at this? Quote Link to comment Share on other sites More sharing options...
wowgetoffyourcellphone Posted July 22, 2020 Report Share Posted July 22, 2020 I think wall towers should be about 15% taller too, to help with aesthetics on hilly ground. Quote Link to comment Share on other sites More sharing options...
Nescio Posted July 22, 2020 Author Report Share Posted July 22, 2020 19 hours ago, m7600 said: Sure, give me some time to look into it properly, since there's more than just aesthetics going on here. Thanks! Take your time, doing it properly is more important than doing it quickly. For the siege wall tower (and the outpost) what is to be done is clear and simple: just raise the top platform (or roof). The Greek (athen, mace, spart) and Seleucid wall towers it's more work but still quite straightforward. For the Mauryas it's more complicated. That said, I don't really now how Blender works, and my graphical skills are rather limited, so my request is obviously easier said than done. I made a simple graphic to illustrate how I think a default wall tower design ought to be, perhaps it helps: Fainter colours: surrounding wall segments. Blue: wall base, solid to parapet level. No doors, windows, or arrow slits here. The height should be the same as the height of the short, medium, long wall segments, which varies per civ. The width must be between 6 and 12, i.e. at least half of and at most the full short wall segment length (12). The depth must be at least 1 more than the depth of short, medium, long wall segments. Most wall towers are square, thus depth would be the same as width, i.e. between 6 and 12. However, non-square wall towers are perfectly fine too, e.g. a 6×12 footprint works, as do circular, octagonal, and other polygonal footprints. Green: solid corner columns supporting the platform on top. Yellow: tower chamber, hollow. Since units in 0 A.D. have a height of about 4, this room should have a height of 5. Historically this was where light artillery was deployed, not on the top platform, for multiple reasons. Firstly, they need a stable ground below them. Secondly, the strings were made from human hair (usually from female slaves and captives, but in emergencies also from citizen-born women; horse hair was an inferior substitute) and exposure to sun and rain had a negative impact. Thirdly, unlike archers, artillery can't fire at an angle below 0° (horizontal); placing them at a higher position means they have a higher maximum range but also a much higher minimum range; in siege warfare this is simply not worth the trade-off; the purpose is to prevent people from reaching the walls, increasing the safe zone in front is not helpful. Magenta: windows, two on each side, or three if the wall tower is wider than usual (e.g. cart). They're long and narrow to allow shooting both at an upwards angle for increased range, and horizontally for increased accuracy. Given that the footprint radius of infantry is 1.5, the distance from the centre of a window to the centre of the next should be 3. Red: parapet and battlements. The above is more information than you really need, I'm just explaining the reasoning behind the drawing I made, also for future reference. For the mace and sele wall towers the current footprints etc. are fine, they just need their roof replaced with a platform on top. Quote Link to comment Share on other sites More sharing options...
Nescio Posted July 22, 2020 Author Report Share Posted July 22, 2020 (edited) 13 hours ago, wowgetoffyourcellphone said: I think wall towers should be about 15% taller too, to help with aesthetics on hilly ground. This is something that bothered me too more than once. However, I disagree with redoing art as a workaround, it could (should?) be solved in the code. If I understand correctly, fields follow all curves of the terrain, whereas other structures are rigid objects and take the terrain height at the centre point of the structure footprint to off-set their position. In my opinion wall segments should be treated as a special case: they should not take the height at the centre of the wall segment itself, but the average of the height of the centre of the wall tower they start at and that of the wall tower they go to. Edited July 22, 2020 by Nescio ce Quote Link to comment Share on other sites More sharing options...
Nescio Posted July 22, 2020 Author Report Share Posted July 22, 2020 9 minutes ago, m7600 said: If I may suggest something: you should really consider giving it a try, independently of the present wall tower request. You can learn the basics of Blender in about a week, I highly recommend this guy's channel. There's also a great step by step tutorial on how to make any low poly animal, it's great for getting your feet wet. He has the same tutorial for later versions of Blender. You'd be surprised at what you can accomplish in Blender with "limited" graphical skills. Honestly. There are simply too many other things I want to do, learning Blender is nowhere near the top of my list. Leaving art files to people who show they understand graphical software is good enough for me. Besides, I'm very much a text-based person, I like being able to read what I'm doing, and write what I want to be done (that's why svg is great, it's basically xml). Quote Link to comment Share on other sites More sharing options...
Nescio Posted July 22, 2020 Author Report Share Posted July 22, 2020 Just now, m7600 said: Allow me to continue playing devil's advocate. I think that Blender is especially suited for people with a background in programming and/or scripting. A lot of stuff is done mathematically. For example, rotating an object, scaling it, modifying it. You can use numerical values for almost everything. And it has a built-in text editor which supports Python scripting (it probably supports other languages as well, but I haven't checked). Join the dark side Nescio, join us in the Blender cult Actually I don't have a programming background, I have a background in classics, an entirely different kind of texts. I can't read or write Python either. Quote Link to comment Share on other sites More sharing options...
wowgetoffyourcellphone Posted July 22, 2020 Report Share Posted July 22, 2020 25 minutes ago, Nescio said: This is something that bothered me too more than once. However, I disagree with redoing art as a workaround, it could (should?) be solved in the code. If I understand correctly, fields follow all curves of the terrain, whereas other structures are fixing objects and take the terrain height at the centre point of the structure footprint. In my opinion wall segments should be treated as a special case: they should not take the height at the centre of the wall segment itself, but the average of the height of the centre of the wall tower they start at and that of the wall tower they go to. Hmm, interesting solution. I think AOM went even further though and had terrain analysis and swapped in "bent" wall segment models to conform to the terrain. Worked okay for the time. It would certainly require more art work, but would look better. Quote Link to comment Share on other sites More sharing options...
Stan` Posted July 22, 2020 Report Share Posted July 22, 2020 Well technically if each beam of palissade was a prop, it would adapt to terrain ^^ 1 Quote Link to comment Share on other sites More sharing options...
wowgetoffyourcellphone Posted July 22, 2020 Report Share Posted July 22, 2020 11 minutes ago, Stan` said: Well technically if each beam of palissade was a prop, it would adapt to terrain ^^ That could work, but what about stone walls? Quote Link to comment Share on other sites More sharing options...
Stan` Posted July 22, 2020 Report Share Posted July 22, 2020 Heh. Quote Link to comment Share on other sites More sharing options...
Nescio Posted July 22, 2020 Author Report Share Posted July 22, 2020 26 minutes ago, Stan` said: Well technically if each beam of palissade was a prop, it would adapt to terrain ^^ Maybe something that could be tried out in https://wildfiregames.com/forum/index.php?/topic/28064-request-longer-palisades/ ? Quote Link to comment Share on other sites More sharing options...
Stan` Posted July 22, 2020 Report Share Posted July 22, 2020 5 minutes ago, Nescio said: Maybe something that could be tried out in https://wildfiregames.com/forum/index.php?/topic/28064-request-longer-palisades/ ? Problem is using too many props is bad for performance. Quote Link to comment Share on other sites More sharing options...
wowgetoffyourcellphone Posted July 22, 2020 Report Share Posted July 22, 2020 48 minutes ago, Stan` said: Heh. 32 minutes ago, Stan` said: Problem is using too many props is bad for performance. I wouldn't make every single beam into a prop, but maybe every 3 beams could work. lol Quote Link to comment Share on other sites More sharing options...
Nescio Posted July 23, 2020 Author Report Share Posted July 23, 2020 10 hours ago, Stan` said: Problem is using too many props is bad for performance. How much worse? I understand placing e.g 42 stakes one by one is less efficient than placing one set of 42 as a whole, however, once placed, it's still the same number of lines, right? I'm not saying it must be implement, but I do believe it's worth exploring. Quote Link to comment Share on other sites More sharing options...
Stan` Posted July 23, 2020 Report Share Posted July 23, 2020 The problem is with GPUs. The game already has a lot of draw calls (the fewer the better). So say you have a wall with 1 mesh with four draw calls you have say, 20 posts in that wall and you make a prop for each one of them you'll have 20 * 4 = 80 draw calls instead of 4. Two walls 160 instead of 8. There are probably ways to optimize this, but currently we do not have such code. EDIT: Textures don't affect drawcalls it seems. Quote Link to comment Share on other sites More sharing options...
Nescio Posted July 23, 2020 Author Report Share Posted July 23, 2020 Thanks, that's good to know. So the number of objects to draw has a much larger impact than the number of lines to draw per object? Even if the total number of lines would be less under more objects? Quote Link to comment Share on other sites More sharing options...
Stan` Posted July 23, 2020 Report Share Posted July 23, 2020 Yeah because you need to do more roundtrips. Instead of sending the whole thing at once, you send it prop by prop 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.