Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Axis & Allies 1942 Online is now available in Early Access! Buy it on Steam. The FAQ is available.
New Premium Module: Tyrants of the Moonsea! Read More
Attention, new and old users! Please read the new rules of conduct for the forums, and we hope you enjoy your stay!

to hit and combat rules

someone knows where is the code for combat and to hit? and is there any way to mod it?

Comments

  • DJKajuruDJKajuru Member Posts: 3,102
    There are 2da files for thac0/character class and level , you can also edit how strength and dexterity affect combat .You can do all of that with Near Infinity, is that what you're looking for?

    JuliusBorisov
  • dorpinchdorpinch Member Posts: 11
    no, but thanks
    The to hit mechanic works like that, right?:
    if thac0-ac<=d20 its a hit, and than you have to roll the damage.
    I want to change it to this:
    ((thac0+d20)-(ac+d20))*z=damage taken.
    so basically each character gets more thac0 and ac when they level up. z is a number that represent the basic damage every weapon makes, and you multiply it by the difference between the hit roll and the dodge roll. so a good attacker with HIGH thac0 will have more chance causing more damage, and a good defender with HIGH ac will reduce the injury he gets.
    I just need to be able to modify this code

    LoldrupJuliusBorisov
  • subtledoctorsubtledoctor Member Posts: 11,238
    d20+AC>=thac0 is a hard-coded roll made for weapon attacks. I'm pretty sure there's no way to change that. (Though you can of course modify thac0 and/or AC however you like.)

    There's no way to record the difference between the two sides if that equation and use the resulting value to modify a damage roll.

    StummvonBordwehrJuliusBorisov
  • dorpinchdorpinch Member Posts: 11
    its been a while, thanks

    JuliusBorisov
Sign In or Register to comment.