Official RPG Codex Discord Server

  1. Welcome to rpgcodex.net, a site dedicated to discussing computer based role-playing games in a free and open fashion. We're less strict than other forums, but please refer to the rules.

    "This message is awaiting moderator approval": All new users must pass through our moderation queue before they will be able to post normally. Until your account has "passed" your posts will only be visible to yourself (and moderators) until they are approved. Give us a week to get around to approving / deleting / ignoring your mundane opinion on crap before hassling us about it. Once you have passed the moderation period (think of it as a test), you will be able to post normally, just like all the other retards.
    Dismiss Notice

TBS Age of Wonders 1 & 2

Discussion in 'Strategy and Simulation' started by BING XI LAO, Apr 6, 2020.

  1. Lagi Savant

    Lagi
    Joined:
    Jul 19, 2015
    Messages:
    474
    Location:
    Desert
    it doesnt matter because min chance to hit is 10%. so against every unit its 4x 10% for hit. So archers, slingers are costwise good vs dragons or heroes units with high def.

    only crossbow in aow1 is on turtle ballista shell (and maybe orc shredder looks like xbow).
     
    ^ Top  
  2. BING XI LAO Age of Wonders fanboy Patron

    BING XI LAO
    Joined:
    Apr 10, 2018
    Messages:
    3,183
    Location:
    Mouse Utopia
    Insert Title Here
    Correct

    I don't know how to make an editor, however you can download PE Explorer, HxD, and look at my list of offsets spreadsheet. Just open AoWEPack.dpl in PE Explorer and modding it using HxD becomes fairly straightforward especially using my spreadsheet which autogenerates where to look in HxD. For example 558E83D4 in PE Explorer is 1E77D4 in the hex editor, if you type in a PA Explorer address and pulls down the adjacent formula, it will tell you where to edit in HxD.
    Sorry if that was a vague explanation.
    https://docs.google.com/spreadsheet...6aAbf4jvio2Xr5lS5qhc0dnJs/edit#gid=1430838464

    Range and numbers of attacks can also be changed. But retaliations are unlimited in AoW1, it's only the later games that brought in limited retaliations.
     
    • Informative Informative x 2
    ^ Top  
  3. BING XI LAO Age of Wonders fanboy Patron

    BING XI LAO
    Joined:
    Apr 10, 2018
    Messages:
    3,183
    Location:
    Mouse Utopia
    Insert Title Here
    I decided to start doing something Lagi suggested, which is renaming units to have more racially specific names instead of 'Rider' etc. But I still want the names to be recognisable, not some fantasy gibberish.
    For example the Elves and Dark Elves now have their t2 cavalry renamed to Dragoons, since I gave those units Archery and Magic Bolts respectively.
    Will be updating the mod frequently as I catch errors (like forgetting to add the Turtle Ram) and as I expand unit descriptions and make other minor tweaks.
    The next improvement will be making descriptions properly match for modded abilities, for example the game still says Leadership is just +1 ATK so I need to write in the +1 DEF there.
    Screenshot_73.png Screenshot_74.png
     
    • Interesting Interesting x 2
    • Brofist Brofist x 1
    ^ Top  
  4. vota DC Liturgist

    vota DC
    Joined:
    Aug 23, 2016
    Messages:
    1,726
    Couldn't find any of the number of spreadsheet with PE Explorer, but I find with the hex editor.
    For example the 1e17f0 start like that
    04 03 03 03 02 02 02 03 02 02 02 01
    then
    03 04 03 02 02 02 02 01 02 02 02 01
    The first value must be relations of humans and 4 friendly, the 02 are the neutral toward good and evil races, the 01 wary with undead and 03 polite with the highmen
    The second line is the Azrac and so on

    Anyway for some reasons the changes do nothing. AoWEPack.dp has always been a weirdo file since I changed with reshacker (for strings) with a total conversion mod and the file said "last update march of 2000" but despite this the changes with reshacker applied, this time nothing happens.
     
    • Nuke it from orbit Nuke it from orbit x 1
    ^ Top  
  5. BING XI LAO Age of Wonders fanboy Patron

    BING XI LAO
    Joined:
    Apr 10, 2018
    Messages:
    3,183
    Location:
    Mouse Utopia
    Insert Title Here
    What does your PE Explorer look like? I should look like the below, you need to open the dissassembler to get the second window. Best way to find things in PE Explorer is searching for text.
    Show Spoiler

    Screenshot_78.png

    As for the file not reflecting changes..... how is that possible?!?! Do the changes show up when you close and reopen the file? Maybe try a reinstall? Is that a problem with Windows 10 protections on the program files x86 folder?
     
    ^ Top  
  6. vota DC Liturgist

    vota DC
    Joined:
    Aug 23, 2016
    Messages:
    1,726
    Ah ok I forgot the dissasembler
    PE explore give me this
    558E83F0 AoWE.DefaultRaceRelations@ADE03589:
    and also shows the modified number for my test
    04 00 03 03 02 02 02 03 02 02 02 01
    I discovered that what does is humans friendly toward Azrac leaders BUT not azrac friendly toward Human leader. That is....funny. You can have cuck races that are friendly toward races that are hostile to them.

    Also how to get from 558E83F0 to 1E71F0?
     
    ^ Top  
  7. BING XI LAO Age of Wonders fanboy Patron

    BING XI LAO
    Joined:
    Apr 10, 2018
    Messages:
    3,183
    Location:
    Mouse Utopia
    Insert Title Here
    Personally I chose to keep relations symmetrical but the AoW+ and AoWx mods decided in some cases asymmetry makes sense.

    HxD address=dec2hex(hex2dec(X)-1433408000) for 'data offsets'
    HxD adrress =dec2hex(hex2dec(X)-1433406464) for 'code offsets'
    Where 'X' is the address in PE Explorer. Most things are code offsets, some are data, I don't know why.
    Just wham the above formulae in a spreadsheet like I did and you're good to go
     
    ^ Top  
  8. vota DC Liturgist

    vota DC
    Joined:
    Aug 23, 2016
    Messages:
    1,726
    I get now these errors during combat (when someone gets hit)
    exception during aowhsmap.newframe
    and
    error during token exe strike

    But they are not related on the hex modding. I haven't tested this game since ages and I checked only that started on the new laptop, so I never noticed, in the older laptop with windows 7 I haven't any issue, must be something about windows 10.
     
    • Rage Rage x 1
    ^ Top  
  9. BING XI LAO Age of Wonders fanboy Patron

    BING XI LAO
    Joined:
    Apr 10, 2018
    Messages:
    3,183
    Location:
    Mouse Utopia
    Insert Title Here
    Hopefully it's just a variant of the showscene patch, fixable by installing this: https://github.com/int19h/aow-patch/releases
    If not, have you tested whether it occurs in a fresh installation? I really hope it's not either part of my mod (AoWEPack.dpl or Release folder)
     
    ^ Top  
  10. vota DC Liturgist

    vota DC
    Joined:
    Aug 23, 2016
    Messages:
    1,726
    I found three nice formulas

    (count 24 after hex code offset for attack)
    (count -18 after hex code offset for damage, number of attacks and range)
    (count -10 before hex code offset for type of damage, always near 1a)

    6EB94 poison darts attack
    6EB55 archery attack
    6E979 black bolt type of attack??
    0 nothing (10 means only physical)
    1 physical 2 fire 4 black damage 8 wall c poison
    note that that some combo like 12 (physical + fire doesn't work)
    30 = magic + poison + death + holy
    50 = fire + lighting + magic

    I noticed with the PE explorer that you usually have right after the attack range the "ax, L5576f810" but black bolts had Lff76f814
    No idea how to make a lightning ballista but a poisonus ballista you just need to replace 10 with 1c


    On the other hand I failed to understand the upkeep formula...the three bytes seems to be 40 03 and c0. I can modify the 03 (09 works, 06 no) to lower the upkeep but I can't touch the other two bytes so I can get t4 with 5 upkeep and t1 with 2 upkeep or even free units but no idea how to make t1 matter because I think I am only touching the base cost without touching the formula tied with the tier.
     
    • Makes you think... Makes you think... x 1
    ^ Top  
  11. vota DC Liturgist

    vota DC
    Joined:
    Aug 23, 2016
    Messages:
    1,726
    I get only weird combo, right now after many rainbow results reliable numbers are
    10 physical
    14 physical + death
    24 physical + poison
    18 physical + wall
    20 fire
    1c poison
    28 death
     
    • Informative Informative x 1
    ^ Top  
  12. BING XI LAO Age of Wonders fanboy Patron

    BING XI LAO
    Joined:
    Apr 10, 2018
    Messages:
    3,183
    Location:
    Mouse Utopia
    Insert Title Here
    Played 90 turns on the 'Damnation' map (available at aowheaven) and boy do I like my mod! First time I've actually played the game in months, I've literally just been modding it that whole time.
    Flames bloody everywhere on the map because the AIs kept casting and dispelling Fire Mastery.
    Made extensive use of the new 'dragoon' magic bolts dark elf cavalry. Felt balanced though they could have a goldcost increase.
    Heroes definitely develop slower with the 10-pointscost DEF, but they get really strong later on, stronger maybe than before.
    +1 ATK/DEF Leadership on Leaders and some units is strong but not overpowering.
    I actually managed to implement 1-turn unit installations in cities at some point... thought I'd failed to copy it over from AoW+
    Summoned units cost very little to summon in Ziggurat but their upkeep is equal to their summon cost - very hefty. Worked well.

    What are you thinking you might implement with this?
     
    ^ Top  
  13. vota DC Liturgist

    vota DC
    Joined:
    Aug 23, 2016
    Messages:
    1,726
    I change the type of the attack because the old full conversion mod I made Is better with that. For example the faction catapult that poisoned enemies used fire cannon skill so was just a catapult with more damage. Now catapult with fire cannon skill can poison enemies and It works.
    I give both fire cannon and hurl boulder because poison+Wall+physical Is impossible but It Is fine.
     
    • Informative Informative x 1
    ^ Top  
  14. vota DC Liturgist

    vota DC
    Joined:
    Aug 23, 2016
    Messages:
    1,726
    It Is possibile to add new skills and where to Place them in the file?
    It Is possible to reverse protection and get weakness like 2?
    Are possible skills that influence upkeep or production time? I need them for the spammer faction.
     
    ^ Top  
  15. BING XI LAO Age of Wonders fanboy Patron

    BING XI LAO
    Joined:
    Apr 10, 2018
    Messages:
    3,183
    Location:
    Mouse Utopia
    Insert Title Here
    I think it's impossible, even AoW2' MPE mod (similar engine) could only rework existing skills.
    If you can figure out how to rework a skill then use superfluous ones, like the game doesn't really need both swimming and sailing, and Trail of Darkness is pretty dogshit.

    You'd have to figure out how to examine aow2's files and then try copying over the code. No idea.

    Nope. It's possible that level 0 units would still show up in the city recruitment list though....
     
    ^ Top  
  16. vota DC Liturgist

    vota DC
    Joined:
    Aug 23, 2016
    Messages:
    1,726
    At the end I failed to find anything that suggest that there Is a formula that lower to half a damage of a type.


    Can level 0 units be possibile or city to build level 5 units?
     
    ^ Top  
  17. BING XI LAO Age of Wonders fanboy Patron

    BING XI LAO
    Joined:
    Apr 10, 2018
    Messages:
    3,183
    Location:
    Mouse Utopia
    Insert Title Here
    Level 5 units won't show up in the recruitment list but I haven't tested with level 0. Actually I am not sure if level 0 works in AoW1, it does work in AoW2 though.
     
    • Begone thot! Begone thot! x 1
    ^ Top  
  18. octavius Prestigious Gentleman Arcane

    octavius
    Joined:
    Aug 4, 2007
    Messages:
    15,658
    Location:
    Bjørgvin
    I tried looking into this Hex Editing business, and now I have a splitting headache.
    But if your offer still stands, I would like an AoW+ submod with just the archery nerfs (mainly number of attacks) reverted to vanilla values.
    I think the AI should be encouraged to use ranged units, to be able to cope better with Dragons.

    From there on I will make some of my modifications using the less headache inducing AoWEd.dev.exe.

    Anyway, I'm starting to feel that modding AoW1 for SP is kind of a slippery slope, since some user-made maps, like quest/RPG type maps, may be finely balanced for vanilla rules. Oh well, I already played most of the worthwhile AoW1 user-made maps, so it will be interesting to play with a different rule set. The maps I enjoyed least due to the poor AI - war maps and campaigns - should also benefit most from the mod.
     
    • Brofist Brofist x 1
    ^ Top  
  19. BING XI LAO Age of Wonders fanboy Patron

    BING XI LAO
    Joined:
    Apr 10, 2018
    Messages:
    3,183
    Location:
    Mouse Utopia
    Insert Title Here
    Sorry, I didn't notice your post. Will do presently.

    In the meantime, most of AoW1 players from last year seem to have completely buggered off. But at the same time, the new discord server has seemingly attracted 6 new players for PBEM!
     
    • incline incline x 1
    ^ Top  
  20. BING XI LAO Age of Wonders fanboy Patron

    BING XI LAO
    Joined:
    Apr 10, 2018
    Messages:
    3,183
    Location:
    Mouse Utopia
    Insert Title Here
    Last edited: Jan 30, 2021
    • Brofist Brofist x 1
    ^ Top  
  21. octavius Prestigious Gentleman Arcane

    octavius
    Joined:
    Aug 4, 2007
    Messages:
    15,658
    Location:
    Bjørgvin
    Thanks!

    I made some unit changes, like giving Wall Crushing to some lvl 4 units, changing the Incarnate to a Hydra, and giving the Undead Wraiths Physical Protection and Pass Wall Floating instead of Physical Immunity.
    I didn't make a new unit, but instead used the stats from Largo's Lagi's mod to replace the Incarnate, to simplify things. I thought I could just rename the Hydra. ILB to dlfin.ILB and replace the latter, but the old image still appears, so I used the Basilisk image instead. Small inconvenience.

    I started playing Last Stand Before Destruction, the oldest of the classic AoW user-made maps.
    The change to the Wraiths was interesting. They no longer dare attack this group, not even the two berserkers on their own:
    [​IMG]
     
    Last edited: Feb 8, 2021
    • Brofist Brofist x 2
    ^ Top  
  22. BING XI LAO Age of Wonders fanboy Patron

    BING XI LAO
    Joined:
    Apr 10, 2018
    Messages:
    3,183
    Location:
    Mouse Utopia
    Insert Title Here
    This is where you can point a unit's graphics towards a different ILB.
     
    • Brofist Brofist x 1
    ^ Top  
  23. BING XI LAO Age of Wonders fanboy Patron

    BING XI LAO
    Joined:
    Apr 10, 2018
    Messages:
    3,183
    Location:
    Mouse Utopia
    Insert Title Here
    Map is complete, after 6 months of work. VERY detailed, and moderately innovative, in that there's a novel type of hero you can spam-summon as long as you can afford the upkeep.
    http://aow.heavengames.com/downloads/showfile.php?fileid=1233
    requires my mod, for the heroes to exist;
    http://aow.heavengames.com/downloads/showfile.php?fileid=1231
    8hsc5hyrv4g61.png
    The next map I'm going to make will be for AoW2:SM with MPE:UPatch 1.6 mod.
    That mod has so many bonus graphical assets added that I can make an urban map, so I'll make it... Sigil, the City of a Thousand Doors!
    Sigil_-_Jason_Engle.jpg
    I never realised from playing Planescape that Sigil is actually the inside of a torus. I'll represent this ingame by having two map levels, each with a hollow circle of Sigil streets, and on both the inner and outer sides of each of the two circles, there'll be 'cave passages' (stairway graphics) leading between the two.
    The third map level will have all kinds of unique, random locations to teleport to and fro. I saw one teleporter graphic that was a bit like the ones used in Planescape: Torment for the portals.
     
    • Interesting Interesting x 3
    • Brofist Brofist x 2
    • Creative Creative x 1
    ^ Top  
  24. BING XI LAO Age of Wonders fanboy Patron

    BING XI LAO
    Joined:
    Apr 10, 2018
    Messages:
    3,183
    Location:
    Mouse Utopia
    Insert Title Here
    Have started work on the userpatch 1.6 map for aow2.
    What you can see here is the width of Sigil's torus, with the city's smog taking over at the bottom and the top. Still getting used to the huge array of usable assets, and the next step is implementing a ''mountain'' terrain under the buildings. Currently any unit can walk through them. Mountain terrain will allow only Mountaineers and Flyers to do so - ie Mountaineering with be Rooftop Walking. I could even mod the game to say that.
    Show Spoiler

    [​IMG]
     
    • Interesting Interesting x 2
    • hopw roewur ne hopw roewur ne x 1
    ^ Top  
  25. The Brazilian Slaughter Arcane

    The Brazilian Slaughter
    Joined:
    May 11, 2007
    Messages:
    1,873,328
    Location:
    Belém do Pará
    The whole point of Wraiths is Physical Immunity. Take that out, and they are just a lame-ass lvl1 unit with a few extra resists.
     
    • nice nice x 1
    • Agree Agree x 1
    ^ Top  

As an Amazon Associate, rpgcodex.net earns from qualifying purchases.