![]() |
|
|||||||
| Real Warfare 2: Northern Crusades A new chapter in the Real Warfare realistic real-time strategy games series. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Some facts about arrow script:
(..\data\aix\weapon\inf.g1.archer.arrow.static\inf .g1.archer.arrow.static.aix) Each soldier has 24 HP. Types of arrow damage: Code:
[*] = ;const DeadDamage = 24; [*] = ;const HardDamage = 12; [*] = ;const LiteDamage = 4; Code:
[*] = ; if Distance < 5 then [*] = ; begin [*] = ; if CubeRes <= 9 then HPDec := DeadDamage [*] = ; else [*] = ; if CubeRes <= 11 then HPDec := HardDamage [*] = ; else [*] = ; if CubeRes <= 12 then HPDec := LiteDamage; [*] = ; end Code:
[*] = ; if Distance < 45 then [*] = ; begin [*] = ; if CubeRes <= 3 then HPDec := DeadDamage [*] = ; else [*] = ; if CubeRes <= 6 then HPDec := HardDamage [*] = ; else [*] = ; if CubeRes <= 8 then HPDec := LiteDamage; [*] = ; end Code:
[*] = ; if Distance < 95 then [*] = ; begin [*] = ; if CubeRes <= 2 then HPDec := HardDamage [*] = ; else [*] = ; if CubeRes <= 4 then HPDec := LiteDamage; [*] = ; end Code:
[*] = ; if Distance < 100 then [*] = ; begin [*] = ; if CubeRes <= 2 then HPDec := LiteDamage; [*] = ; end Some examples of crossbow damage (xbow against 0 armor): Code:
[*] = ; if Distance < 5 then [*] = ; begin [*] = ; if CubeRes <= 10 then HPDec := DeadDamage [*] = ; else [*] = ; HPDec := HardDamage; [*] = ; end Code:
[*] = ; if Distance < 40 then [*] = ; begin [*] = ; if CubeRes <= 6 then HPDec := DeadDamage [*] = ; else [*] = ; if CubeRes <= 7 then HPDec := HardDamage [*] = ; else [*] = ; if CubeRes <= 9 then HPDec := LiteDamage; [*] = ; end Code:
[*] = ; if Distance < 100 then [*] = ; begin [*] = ; if CubeRes <= 3 then HPDec := DeadDamage [*] = ; else [*] = ; if CubeRes <= 4 then HPDec := HardDamage [*] = ; else [*] = ; if CubeRes <= 6 then HPDec := LiteDamage; [*] = ; end So If you don't like dev's archery system you can easily change it yourself. |
|
#2
|
|||
|
|||
|
I don't doubt and have never doubted that is how the developer's scripted it since that is what is happening in the game, I am questioning whether that is accurate or not. Sure, I could update the scripts myself, but that is not something I really want to do for games I buy.
I don't know the precise distance between my units, but visually seemed very close and I was on top of a hill looking down. It would seem there would be some additional advantage for that as well. |
|
#3
|
|||
|
|||
|
Quote:
I will absolutely do that myself. Thank you very much Goblin Wizard for the scripts! |
|
#4
|
|||
|
|||
|
Goblin Wizard, I was wondering, as you seem to know about scripts and stuff: Do you possibly know how to change camera strafing? You've probably read what I said in other posts, (Camera wont strafe oblique, so it takes way longer time to get where you want, it's ineffective.. and so on), It'd be really grateful.
|
|
#5
|
|||
|
|||
|
Quote:
|
|
#6
|
|||
|
|||
|
Wow thanks. =) Really appreciated. But do you know how to open those aix files for the archery? I dont seem to have the tools for
|
|
#7
|
|||
|
|||
|
I can just open them in notepad. Not sure if that is right or not.
|
|
#8
|
|||
|
|||
|
Quote:
Last edited by Goblin Wizard; 11-25-2011 at 04:56 PM. |
|
#9
|
|||
|
|||
|
Quote:
|
|
#10
|
|||
|
|||
|
Does anybody know which tools are needed in order to open the files? (Aix files)
I've no idea, already been looking around but I cant find them |
![]() |
| Thread Tools | |
| Display Modes | |
|
|