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

{LD}Firestorm

Defender of Democracy
54 Badges
Aug 11, 2005
1.515
0
  • Hearts of Iron IV: Death or Dishonor
  • Cities: Skylines - After Dark
  • Cities: Skylines - Snowfall
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Cities: Skylines - Natural Disasters
  • Hearts of Iron IV: Together for Victory
  • Stellaris - Path to Destruction bundle
  • Steel Division: Normandy 44
  • Cities: Skylines - Mass Transit
  • Magicka 2
  • Stellaris: Synthetic Dawn
  • Cities: Skylines - Green Cities
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Apocalypse
  • Cities: Skylines - Parklife Pre-Order
  • Cities: Skylines - Parklife
  • Stellaris: Distant Stars
  • Cities: Skylines Industries
  • Stellaris: Megacorp
  • Imperator: Rome Deluxe Edition
  • Imperator: Rome
  • Stellaris: Federations
  • Europa Universalis IV: Call to arms event
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Arsenal of Democracy
  • Hearts of Iron III
  • Heir to the Throne
  • Magicka
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Semper Fi
  • Victoria 2
  • 500k Club
  • Cities: Skylines
  • Europa Universalis IV: El Dorado
Just a couple quick questions to you guys out there:

1. Is it possible to modify resource consumption of factories?
2. I see extra lines of code for new buildings. How does one go and create a new building type?
3. If so, is there a way to have a building damage a specific unit type?
4. And last but not least....is it possible to code a restriction on resources, or have a stockpile cap? I cannot recall if this was possible or not in HoI II. Is it a feature that can be modded in AoD?
 
I seem to remeber vanillia Hoi and Hoi2 before the expansions came out cap at 100k rescources. but as to hoe to do that now I dont know :(
 
{LD}Firestorm said:
4. And last but not least....is it possible to code a restriction on resources, or have a stockpile cap? I cannot recall if this was possible or not in HoI II. Is it a feature that can be modded in AoD?

dont know if this would be realistic, currently China is saving its rare earth elements , collecting it etc. such things should be possible in AoD as well?
 
It would not be a cap on all of them. Without going into too much detail, I want to cap energy specifically.