Jump to content


Community Members
  • Content Count

  • Joined

Community Reputation

44 Excellent

1 Follower

About smiley

  • Rank

Recent Profile Visitors

377 profile views
  1. > What is already done? >> Would there be a way to improve pathfinding performance by using formations? Commands to move and pathfind across a map apply to formations, unit pathfinding would then only be relative to the formation. > And what does this have to do with terrain auras? Technically, nothing. Terrain auras will be rather to simple to implement. > Also can you describe the architectural problems, what they are, and how this relates to the issue of territory auras. Well, considering that it was because of performance problems that this feature you are asking for was removed in the first place, I will say that it is somewhat relevant. For the other question, it's 2020, and the game can't run smoothly on overkill hardware. But yes, aside from unit movement affecting terrain and the consequence upon pathfinding, there really is no relevancy in that post.
  2. Already done. Making the pathfinder work with non uniform grids is a solved problem and various games already have it. I recently read a paper from AAAI 2019 that discussed this very in-depth. Performance problems today are mainly due to some major architectural flaws. Having worked with commercial engines, this one is just not there yet.
  3. Actually, you can't really have unit speed affecting properties. A unit will choose to walk through 2 feets of mud a foot away from a literal road in the current pathfinding scheme. Jump point search is based on the assumption of uniform cost grids. This feature was present in the past before it was decided to nuke it in favour of better performance.
  4. GPL is not a free license. Unless 0AD is relicensed under a permissive license, there is no way to use Steamworks SDK. STK is apparently using Steamworks SDK in a separate closed source process and communicating with said process as a middle man. This opens up only the most basic of steam functionality. GPL is a rather viral license in that it tries to attach itself to things it should not be. "Keep in mind that according to the Steam Distribution Agreement you warrant and represent that you have all necessary rights to distribute the game via Steam. If your application contains third party open source code that is incompatible with the Steamworks SDK, then YOU MUST NOT DISTRIBUTE YOUR APPLICATION VIA STEAM." "But I saw a GPL-licensed application on Steam! This can happen if the author of the code that is GPL-licensed has given the permission to do so. The author can of course always (a) decide to grant Valve a different license than the author grants everyone else or (b) decide that what the Steamworks SDK does is just a communication with a service that does not invoke the copyleft requirement of the GPL." Also, consumer protection laws can come in. This means two things, Wildfire Games should be a registered company (Hopefully an LLC), and Wildfire Games can potentially be open to law suits. Seems like a no win situation for the benefit achieved by a donate button.
  5. White peacocks are almost always the result of leucism. And since it's a recessive gene, there is like no chance of encountering one of these in the wild. A random mutation will surely get killed, and even if not, will probably not pass on the gene. Leucism almost always occurs in captivity, so, i would assume recent. 1/100 is still too frequent. 0/100 is preferable in my point of view to be honest. (this is regarding that peacock discussion from last month btw)
  6. Maybe build artifacts? The SM binary distributed with 0AD is not that large as well. Somewhat matches Firefox sizes.
  7. That's actually a pretty good concept. Rather unique as well. Even worth exploring. Any concrete plans on this?
  8. Huh. I see. I assumed it was like the Intel integrated graphics.
  9. Integrated graphics will still be using the VRAM no? Aside from the onboarding buffer (which your dedicated card will also use)? I don't think the current ram bus allows to not tank GPU performance while using system ram. You should be fine as long as you are not buying an Intel and it can push 4ghz on a single core.
  10. Can you abstract it a bit and make it part of rmgen/math.js? And submit a patch of course. (code.wildfiregames.com is fine by me). It can be reviewed more easily and committed (at least to the one I commit to).
  11. Get used to it dude. You are gonna have to go through the same thing when you finish your thesis. Literally everyone in academia is skeptical of everything. Assume it's wrong until proven correct.
  12. General comment on the flood fill algorithm. When testing reachability, there is no reason to not stop once a connection has been established. Edit: disregard the comments below. You are already using a stack it seems. ~~Keeping that in mind, for most cases, using a stack (the data structure) might lead to a connection being found faster than if you were using a queue. If you visualise your algorithm, you would see the fill expanding like a diamond (actually a square oriented diagonally). If you were using a stack, the fill would be expanding line by line. Vertical lines going across the whole area. The probability of hitting the target is much higher. Especially if the target is an area rather than a point. Basically, last in first out instead of first in fast out. But implementing a stack is more complex than a queue.~~
  13. density_placer.js Submit it to upstream if you think that's worth having there. I am not sure I have much use for that now.
  14. You don't really need the pathfinder to do that. You just need to flood fill for non mountain tileclasses and see if your two points are connected. But you have to use the underlying storage of tileclasses for optimal performance. But this should not be that slow since the N in O(N^2) would remain in acceptable values. For nicer mountains, I suggest using fractal generation. More specifically, subdivision generation. The concept is rather simple. Split into half, add height, repeat. The only issue might be that there just aren't enough vertices in 0ad terrain. I might have some code to throw your way which I used to generate some screenshot worthy maps with regards to more natural looking forests.Will post if I managed to find it.
  15. What about PBR? I am not sure if it's really worth it. In RTS games, you can't really see the details. And more simpler code from certain points of view. But most importantly, if a gltf migration is planned, that's something to think about since it's kinda centered on PBR.
  • Create New...