• 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.

unmerged(73622)

Veteran Strategy Gamer
Apr 5, 2007
215
0
I was reading on another forum that HOI3 will never be fixed because of this:

It's broken because LUA is incapable if fully processing the data. LUA is a industrial configuration script language. DATA handling is not what is supposed to do.

You cannot pull data out until all data input is done being put in- there's no way it can crunch the numbers in a world war II game that has it doing 10,000 provinces of weather, troops, terrain, units, ect- the game would be a slideshow-

The data base zeros out and the data goes to a garbage dump- to put it simply. There are a few tricks I know but they aren't enough for this game. I wouldn't even attempt it- and surely the programmers at Paradox either didn't care or didn't know this- so they aren't about to produce a rabbit out of a magic hat.

I think there was great pressure to get this game to market and LUA was choosen because of the ease to implement it quickly. It wasn't a practical choice. LUA has never been used in a ANY game for beyond simple configuration (WOW) simple pathfinding (Shooters) and simple NPC control (Baldur's gate- which BTW had horrible results. Try a G3 script and watch it bog the game down even today)

Is this true? What can we do to fix this?
 

am300307

Colonel
50 Badges
Aug 17, 2009
866
498
  • Crusader Kings II
  • March of the Eagles
  • Rome Gold
  • Iron Cross
  • Hearts of Iron III
  • Victoria 2: A House Divided
  • Arsenal of Democracy
  • Darkest Hour
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV: Mare Nostrum
  • Stellaris: Nemesis
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Cossacks
  • Stellaris: Synthetic Dawn
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Golden Century
  • Imperator: Rome
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Stellaris: Federations
  • Crusader Kings III
  • Europa Universalis 4: Emperor
  • Stellaris: Necroids
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Rome: Vae Victis
  • Victoria 2: Heart of Darkness
  • Victoria 2
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • Europa Universalis III
  • For the Motherland
  • Hearts of Iron III: Their Finest Hour
  • The Kings Crusade
  • Magicka
  • Majesty 2 Collection
  • Victoria: Revolutions
  • Semper Fi
  • Sword of the Stars
The post is a lie.
 

unmerged(152596)

Second Lieutenant
1 Badges
Aug 11, 2009
121
0
  • Hearts of Iron III
The post contains subjective judgments that cannot be verified as "truth" or "lies." The user community is free to discuss the merits and disadvantages of various implementations and pass its own subjective judgment on the way HOI3 was developed, but you will not get anyone say this is "truth."

More importantly, the tone here is pretty inflammatory and runs the risk of being flamed/closed. A better thread title would have been something like, "So was using LUA a good idea?"
 

bouzoulll

Captain
35 Badges
May 7, 2009
445
0
  • Europa Universalis III
  • Europa Universalis IV: Res Publica
  • Semper Fi
  • March of the Eagles
  • Heir to the Throne
  • Europa Universalis III: Chronicles
  • Divine Wind
  • Europa Universalis IV
  • Hearts of Iron IV: La Resistance
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Golden Century
  • Battle for Bosporus
  • Europa Universalis 4: Emperor
  • Europa Universalis IV: Dharma
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Rule Britannia
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Death or Dishonor
  • Europa Universalis IV: Mandate of Heaven
  • Hearts of Iron IV: Together for Victory
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV Sign-up
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • For the Motherland
  • Hearts of Iron III
  • Europa Universalis IV: Third Rome
I was reading on another forum that HOI3 will never be fixed because of this:



Is this true? What can we do to fix this?

I dont know but anyway who is he who knows so mutch about coding or scripting? Is he a developer? Anyway i like the game even its broken or not, enough with the negative coments, why dont you wright about one of its good points?
 

Alex_brunius

Field Marshal
68 Badges
Mar 24, 2006
22.404
5.017
  • Hearts of Iron IV Sign-up
  • Victoria 2: A House Divided
  • War of the Roses
  • 200k Club
  • 500k Club
  • Cities: Skylines
  • Crusader Kings II: Holy Knight (pre-order)
  • Pride of Nations
  • Magicka 2
  • Cities: Skylines - After Dark
  • Cities: Skylines - Snowfall
  • Achtung Panzer
  • Stellaris
  • Victoria 2
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Field Marshal
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Cities: Skylines - Natural Disasters
  • Stellaris - Path to Destruction bundle
  • Steel Division: Normandy 44
  • Cities: Skylines - Mass Transit
  • PDXCON 2017 Gold Ticket holder
  • Surviving Mars
  • Battle for Bosporus
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron II: Armageddon
  • Cities in Motion
  • Cities in Motion 2
  • Crusader Kings II
  • Deus Vult
  • Dungeonland
  • Europa Universalis III Complete
  • Europa Universalis IV
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • For the Motherland
  • Hearts of Iron III
  • Arsenal of Democracy
  • Heir to the Throne
  • Europa Universalis III Complete
  • Magicka
  • Majesty 2
  • Europa Universalis III Complete
  • Naval War: Arctic Circle
  • Victoria: Revolutions
  • Rome Gold
  • Semper Fi
  • Sword of the Stars
Lua however is only one of the many tools available.

All the remaining data, events, decisions, pictures and other stuff is in plain good old txt or fast picture formats.

So even if that post would be true, It's pretty much only AI and really advanced stuff that remain in the hands of Paradox to fix through exe modifications.

So not much change at all to other paradox games not using Lua in other words.

If lua however is not as slow as the post suggests, then it does open a world of possibilities for AI modding. I guess your best bet is talking with the guys actually involved in modding HoI3 AI with LUA scripts.
 

Johan

Studio Manager Paradox Tinto
Administrator
Paradox Staff
Moderator
15 Badges
Dec 14, 1999
18.408
38.945
  • Diplomacy
  • Teleglitch: Die More Edition
  • War of the Roses
  • 500k Club
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis III: Collection
  • Magicka: Wizard Wars Founder Wizard
  • Hearts of Iron IV Sign-up
  • Stellaris Sign-up
  • Imperator: Rome Sign Up
  • A Game of Dwarves
  • Magicka
  • Starvoid
Complete bollocks from some random idiot on the internet.

"there's no way it can crunch the numbers in a world war II game that has it doing 10,000 provinces of weather, troops, terrain, units"

LUA is not used for any of those.
 

unmerged(139259)

GordonCZ
6 Badges
Apr 9, 2009
954
1
www.gordoncz.com
  • Cities in Motion
  • Deus Vult
  • For the Motherland
  • Hearts of Iron III
  • Semper Fi
  • Sword of the Stars
Complete bollocks from some random idiot on the internet.

I thought so. I have already some experience with LUA from another game and believe me, LUA was not a feature which consumed the most of the computing processes...
 

Scryder

Lt. General
104 Badges
Aug 2, 2009
1.271
3
  • King Arthur II
  • Magicka
  • Majesty 2 Collection
  • Europa Universalis III Complete
  • Naval War: Arctic Circle
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Semper Fi
  • Sword of the Stars
  • Rome: Vae Victis
  • Crusader Kings II: Conclave
  • Sword of the Stars II
  • Victoria 2
  • Age of Wonders: Planetfall - Revelations
  • Knights of Pen and Paper +1 Edition
  • Cities: Skylines - Green Cities
  • 500k Club
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Mount & Blade: Warband
  • Mount & Blade: With Fire and Sword
  • Crusader Kings II: Way of Life
  • Age of Wonders III
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Stellaris: Leviathans Story Pack
  • Cities in Motion 2
  • BATTLETECH
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Mandate of Heaven
  • Cities: Skylines - Snowfall
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Monks and Mystics
  • Hearts of Iron IV: Together for Victory
  • Cities: Skylines - Natural Disasters
  • Cities in Motion
  • Stellaris: Digital Anniversary Edition
  • Steel Division: Normandy 44
  • Tyranny: Archon Edition
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Rights of Man
  • Surviving Mars
  • Hearts of Iron IV: Death or Dishonor
And there you go! I love playing 1.3 personally, it's great fun compared to 1.2. :D
 

kartebi

Captain
88 Badges
Aug 25, 2009
331
9
  • Europa Universalis IV: Res Publica
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Heir to the Throne
  • Europa Universalis III Complete
  • King Arthur II
  • Leviathan: Warships
  • The Kings Crusade
  • Lost Empire - Immortals
  • Magicka
  • Majesty 2 Collection
  • March of the Eagles
  • Europa Universalis III Complete
  • Hearts of Iron III
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Rome Gold
  • Semper Fi
  • Sengoku
  • Sword of the Stars
  • Sword of the Stars II
  • Warlock: Master of the Arcane
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • Dungeonland
  • Crusader Kings II
  • 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
  • Commander: Conquest of the Americas
  • Darkest Hour
  • Deus Vult
  • Cities in Motion
  • East India Company Collection
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For the Motherland
TO ALL

99.9% of stuff on random forums is in fact useless tbh.

If what you saying is 100% true then 99.9% of stuff in the internet is useless, because every forum is random for someone. That includes 99.9% of the stuff being said here.

Personally i agree with you. I'm just correcting you :p
99.9% of everything human made is useless, its just that people don't understand it , or look it from another perspective and can't see the truth.

And usually when this 0.1% shows up and says something, two possibilities arise
1. 99.9% kills 0.1%
2. 99.9% listens to 0.1% (has happened few times in history and most of them lead to possibility 1)

If you truly understand what i'm saying, you'll realize that 99.9% of the stuff i'm saying are useless.
Yet there ALWAYS is a 0.1% everywhere. You just need to find it :)
 
Last edited:

bouzoulll

Captain
35 Badges
May 7, 2009
445
0
  • Europa Universalis III
  • Europa Universalis IV: Res Publica
  • Semper Fi
  • March of the Eagles
  • Heir to the Throne
  • Europa Universalis III: Chronicles
  • Divine Wind
  • Europa Universalis IV
  • Hearts of Iron IV: La Resistance
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Golden Century
  • Battle for Bosporus
  • Europa Universalis 4: Emperor
  • Europa Universalis IV: Dharma
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Rule Britannia
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Death or Dishonor
  • Europa Universalis IV: Mandate of Heaven
  • Hearts of Iron IV: Together for Victory
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV Sign-up
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • For the Motherland
  • Hearts of Iron III
  • Europa Universalis IV: Third Rome
Complete bollocks from some random idiot on the internet.

"there's no way it can crunch the numbers in a world war II game that has it doing 10,000 provinces of weather, troops, terrain, units"

LUA is not used for any of those.

The vast expand of hoi3 have worried some as...les, so they are trying to hit it with sneaky attacks.
 

Fredgard

First Lieutenant
7 Badges
Sep 23, 2008
268
0
  • Hearts of Iron Anthology
  • Darkest Hour
  • Europa Universalis III: Chronicles
  • Hearts of Iron III
  • Victoria 2
  • 500k Club
  • Mount & Blade: Warband
TO ALL



If what you saying is 100% true then 99.9% of stuff in the internet is useless, because every forum is random for someone. That includes 99.9% of the stuff being said here.

Personally i agree with you. I'm just correcting you :p
99.9% of everything human made is useless, its just that people don't understand it , or look it from another perspective and can't see the truth.

And usually when this 0.1% shows up and says something, two possibilities arise
1. 99.9% kills 0.1%
2. 99.9% listens to 0.1% (has happened few times in history and most of them lead to possibility 1)

If you truly understand what i'm saying, you'll realize that 99.9% of the stuff i'm saying are useless.
Yet there ALWAYS is a 0.1% everywhere. You just need to find it :)

You must be drunk, mad, crazy or correct.
 

The_13th_Ronin

Colonel
120 Badges
May 13, 2007
808
13
  • Victoria: Revolutions
  • Gettysburg
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Europa Universalis III Complete
  • King Arthur II
  • Lead and Gold
  • Magicka
  • Majesty 2
  • Europa Universalis III Complete
  • Penumbra - Black Plague
  • Europa Universalis IV: Res Publica
  • For the Motherland
  • Europa Universalis: Rome
  • Rome Gold
  • Semper Fi
  • Sengoku
  • Sword of the Stars
  • Sword of the Stars II
  • Supreme Ruler 2020
  • Supreme Ruler: Cold War
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Crusader Kings III
  • Darkest Hour
  • Hearts of Iron II: Armageddon
  • Cities in Motion
  • Cities in Motion 2
  • Crusader Kings II
  • 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
  • A Game of Dwarves
  • Deus Vult
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event

Kriegsspieler

Field Marshal
68 Badges
Feb 27, 2003
10.454
1.252
  • Europa Universalis IV
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Surviving Mars
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
  • Battle for Bosporus
  • Hearts of Iron IV: No Step Back
It's a programming language, and used for AI scripts in hoi3.
The strange quote in the opening post - seems rather uninformed. "There are a few tricks I know"? trying to look smart there.
I crave further enlightenment. Is it a special variant of C++? Why has Paradox adopted it in this game? Why are there designated "LUA" files in the gamer folder, apparently replacing the txt files of earlier editions?
Just think of me as an annoying 3-year-old. . . .:rolleyes:
 

Xendance

Captain
76 Badges
Sep 6, 2008
492
86
  • Victoria 2: Heart of Darkness
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Semper Fi
  • Victoria 2: A House Divided
  • Crusader Kings II
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Pre-order
  • Cities: Skylines - After Dark
  • Crusader Kings II: Jade Dragon
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV Sign-up
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: The Republic
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Divine Wind
  • Hearts of Iron II: Armageddon
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Art of War
  • Hearts of Iron IV: Together for Victory
  • Stellaris: Leviathans Story Pack
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Cadet
  • Cities: Skylines - Mass Transit
  • Stellaris: Galaxy Edition
  • Stellaris
  • Hearts of Iron IV: No Step Back
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Victoria 2
  • Europa Universalis III Complete
  • Europa Universalis III Complete
I crave further enlightenment. Is it a special variant of C++? Why has Paradox adopted it in this game? Why are there designated "LUA" files in the gamer folder, apparently replacing the txt files of earlier editions?
Just think of me as an annoying 3-year-old. . . .:rolleyes:

It is a scripting language. I can't tell you why Paradox decided to use it, ask them. And .lua files are lua script files. Kinda self-explanatory don't you think? ;)

http://en.wikipedia.org/wiki/Lua_(programming_language)
 

Luka

Lt. General
13 Badges
Nov 13, 2002
1.455
0
www.euriskostudios.com
  • Crusader Kings II
  • Europa Universalis III
  • Europa Universalis III Complete
  • For the Motherland
  • Hearts of Iron III
  • Heir to the Throne
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Semper Fi
  • Victoria 2
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Victoria 2 Beta
I crave further enlightenment. Is it a special variant of C++? Why has Paradox adopted it in this game? Why are there designated "LUA" files in the gamer folder, apparently replacing the txt files of earlier editions?
Just think of me as an annoying 3-year-old. . . .:rolleyes:

As far as I understand it Lua is a language that acts as a kind of bridge between moddable files (such as AI files) and the game engine. The Paradox team embed Lua in their code and create functions to allow access to certain elements of the game that can therefore be examined or set by Lua commands. So things like complex AI decisions do not have to be hard coded and compiled into the exe, they can be created in a Lua script which allows for quick modification and easy, yet extensive modding.
It is also a pretty forgiving language and has lots of nice features that make it an attractive scripting language to use in game.