• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

ThomasH

Captain
71 Badges
May 13, 2002
439
2
Visit site
  • Cities: Skylines - Snowfall
  • 500k Club
  • Cities: Skylines
  • Cities: Skylines Deluxe Edition
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Rome: Vae Victis
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Expansion Pass
  • Crusader Kings II: Monks and Mystics
  • Stellaris: Ancient Relics
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Europa Universalis III
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Crusader Kings II
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Europa Universalis IV: Res Publica
  • Europa Universalis: Rome
  • Semper Fi
  • Victoria 2
Well here is a very strange bug :


Maybe u have noticed that the attack value of Militias vs archers is 0 %.
At the 1st moment i thought its just a gameplay "balance" change in
VV - but its not , its a bug as we see when we open the
/common/units/milita.txt the value there is still 0.5 (50 %)

After testing to change the values and restarting the game (various times)
i found out that when i put
"archers = 0.5" in the 1. Line instead at the bottom

i get "Milita vs archers" = 50 %
but
"Militia vs Horse archers" = 0 % :eek:


So whats wrong here ? I cant say cause im not a programmer.

But found a fix , that when i put
the militia = 1.0 on the last line (cause the last line may not be lower than 1.0
:rolleyes: )
all the values work properly.

Strange bug for me though cause all other units like heavy intf etc work ok.
 
Last edited:
Upvote 0
Militia's attack value against archers is indeed (correctly) displayed as .5. The issue should only show if - when modding values - You forgot to add a final endline. The released unit files do contain endlines (report if that isn't so).

(As for "triremes" the last line happens to be the first line of the values block.)
 
I'm pretty sure I corrected missing endlines on my copy, even though I didn't touch the unit files before that. This is on a copy downloaded from Gamersgate a few days ago. Not sure if any unit besides the militia was missing the endline.