Jump to content

badosu

Balancing Advisors
  • Posts

    859
  • Joined

  • Last visited

  • Days Won

    16

Everything posted by badosu

  1. As a beginner it's always best to master your economy, especially if you are playing against nubs, you can worry about tactics when you get gud enough that your opponents can rush or match your units decently (just search for valihrant guide on youtube and enjoy)
  2. New development version, fourth release candidate: - Bring in Britannic Road, props to @Feldfeld!!! - Fix sunken minerals on hyrcanian - Port optimization fixes for DiskPlacer and AnnulusPlacer - Optimize placements by constraining on areas instead of placer functions - Adjustments for tiny balanced maps - Memoize areas for food creation - Rearchitecture the helper functions (new library balancedHelpers) From now on I expect to only generate map previews and address any further issues found on playtesting. Thanks for the help!! balanced-maps.pyromod
  3. @crazy_Baboon Are you aware of community_maps? You might want to send them a PR when this is ready (https://github.com/cwrtl/community_maps)
  4. An alternative would be to have categories of mods, e.g. spec mods (e.g. autociv, fgod) are never checked for compatibility, maps mods are checked only when the map is loaded (like we do here), etc... But these would be ad-hoc solutions, I think a compatibility constraint would be best. As to avoid abuse, it would be impossible and made easier but I guess it's better to have it explicit than some kind of security through obscurity (stanza and hasSameMods can be patched regardless). As for maps, language-packs, etc a resource distribution mechanism would be a better delivery system than packaging them as mods, thought the mod specification could be reused possibly with a tagging mechanic (as described above) if a proper resource delivery system is too ambitious for a first step. A proper resource delivery system would download the assets on the fly, like for example when you download a map when playing a typical fps, with all textures, templates, etc... That would imply in additional complexity to be sure maps are compatible with mods, possibly even chaining on mod delivery. But I guess mod constraint specification would be a huge step in the right direction at least.
  5. I mentioned on lobby, the ideal solution would be to specify mod compatibility constraints on `mod.json`. I guess something that can be worked on for a24.
  6. New development version, third release candidate: - Introduce wood generator, guarantees fair global 3/4 patches to each player I won't expect to introduce any new features now. My focus is on playtesting, rearchitecture of the helper functions, generating map previews and possibly including britannic_road (when @Feldfeld feels its ready) Please test if possible and let me know your feedback. balanced-maps.pyromod
  7. New development version, second release candidate: - Bump to 0.18.0 - Introduce compatibility checker so users on vanilla and incompatible versions can't enter game if balanced-map is being hosted balanced-maps.pyromod
  8. Ok, this is what I ended up with: https://github.com/badosu/badmod/commit/4923a551063de471bb58df9f5f07a09a22d136b5 I had to patch `init` like autociv does. Also, I have a custom compatibility checked because I want patch versions to be compatible with each other.
  9. Ok, thanks @elexis for the suggestion. We can send the mod on stanza only when a balanced-map is being used, which works. @nani It seems autociv redefinition of sendRegisterGameStanzaImmediate is always used regardless if my mod is loaded before or after, if the filename is alphabetically before or after the one used in autociv, etc. Any ideas why I can't patch over the autociv definition?
  10. Like autociv and fgod I patch `hasSameMods` and `sendRegisterGameStanzaImmediate` to make my mod able to work with vanilla (avoid having all matches in lobby without mod greyed out). E.g.: https://github.com/badosu/badmod/blob/ac9b65a009305fe1cc46412abd7a1a60477fd1fd/gui/gamesetup/gamesetup~badmod.js#L16-L20 However, in preparation for 0.18 release I want to still be compatible with vanilla but incompatible with 0.17. However it seems that to be able to do that I would have to start sending the mod on the stanza (so `hasSameMods` can perform the check) which would make it incompatible with vanilla. This is a sample code of how the check would be performed: global["balancedMapsCompatibilityMatcher"] = new RegExp('^0\\.18(\\.|$)', 'i'); autociv_patchApplyN("hasSameMods", function (target, that, args) { let mod = function([name, version]) { return !(/^balanced[-_]maps.*/i.test(name) && global["balancedMapsCompatibilityMatcher"].test(version)); } return target.apply(that, args.map(mods => mods.filter(mod))); }) But to have the mod comparison available I would have to send on the stanza, it's my assumption that if I send on the stanza then all ppl without mod wouldn't be able to join mod-hosted games, even if the map being hosted itself is vanilla. Is my understanding that this is impossible correct or is there another way?
  11. Yes, that was my plan, but I ran `binaries/system/test --help-tests` and didn't find `test_RectPlacer` there. Anyway, I'll try and find out if it's running and just not showing, thanks!
  12. Done, as far as I found only `binaries/system/test` is available
  13. I dealt with allocations and map boundaries, I'd like to make and run javascript tests but wat not able to find in the documentation
  14. New development version, first release candidate: - Port minerals and food generator to all balanced-maps - Fix inconsistent fish generation on cross balanced-maps.pyromod
  15. I need to verify its behaviour when sections of the disk are out of map boundaries, which the mentioned patch does.
  16. Well, this is a straightforward fix to merge, it does not do much apart from what it's supposed to
  17. First contribution: https://code.wildfiregames.com/D2710
  18. New development version, several fixes from Feld and Valihs feedback: - Fix fauna/flora spawning on iber walls - Use areas to generate food, tks for the steal Feld - Create new AnnulumPlacer for disk with a hole - Does not scan whole map as DiskPlacer - It seems avoidClasses distance is not exactly equal to the distance of the placer, so avoidClasses is not a suitable 'hole' - Spawn minerals on whatever angle from player position - Port to Wrench balanced-maps.pyromod
  19. Nevermind, I just found out I can attach to Trac, sorry for the noise. Also: My motivation is same as @crazy_Baboon, I find it much easier to operate using the git mirror
  20. Is it possible to send files on patch format to create a commit and for review on https://code.wildfiregames.com?
  21. New development version, only works for mainland, several fixes from Feld and Valihs feedback: - Maximum 3 extra berries - Default gen eles must be farther from cc - Improve grouping of hunt balanced-maps.pyromod
  22. I see, this seems to be out of the scope for the current effort though. I could imagine a set of textures and triggers on a custom map that could implement these ideas though, if easy to be ported and fair enough could even make into competitive maps.
  23. @Lion.Kanzen Could you elaborate?
  24. Done proof of concept, it is a behemoth of complexity and brute force, but should cover all biomes. It makes some assumptions on gameplay for each biome (e.g. huge food is possible in some biomes but much rarer while savannah, desert and snowy have greater amounts) so feedback is appreciated. It also introduces the concept of straggler fauna, which is close to cc enough to be usable but not in quantities to make farmstead worth. It exists to help with fauna calculations but may also may be an interesting factor in gameplay. I also allow for the possibility of a single patch of berries or small hunt to exist but it also has a 50% chance of having no extra food at all if food to be placed is 600 or lower. I also slightly reduced the distance from ccs in mainland so that small has a bit of backside and made mineral positions vary more widely. cc @ValihrAnt @Feldfeld balanced-maps.pyromod
  25. Awesome, it works! Thanks for the tips! Is there any documentation on how the image should be generated? I noticed I have to make some gap on the bottom side but I'm doing trial and error.
×
×
  • Create New...