What does the # symbol in some of the script files mean?

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

Mister Analyst

Lt. General
80 Badges
Jul 27, 2018
1.247
1.594
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Together for Victory
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: La Resistance
  • Battle for Bosporus
  • Hearts of Iron IV: No Step Back
  • Hearts of Iron IV: By Blood Alone
So looking at and editing some scripts, I saw a # in front of some of the modifiers, what does that mean?
The hash symbol # means that line of code has been converted to a comment and is no longer active. The game will skip that single line of code and will not execute it.
 
  • 3Like
Reactions:

Louella

Field Marshal
70 Badges
Jul 18, 2015
3.164
3.034
33
  • Stellaris: Leviathans Story Pack
  • Stellaris
  • Stellaris: Galaxy Edition
  • Crusader Kings II
  • Europa Universalis IV: Dharma
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Apocalypse
  • Stellaris: Digital Anniversary Edition
  • Crusader Kings II: Conclave
  • Hearts of Iron IV: Expansion Pass
  • Crusader Kings II: Monks and Mystics
  • Stellaris: Humanoids Species Pack
  • Europa Universalis IV: Mandate of Heaven
  • Hearts of Iron IV: Expansion Pass
  • Surviving Mars
  • Hearts of Iron IV: Death or Dishonor
  • Surviving Mars: First Colony Edition
  • Europa Universalis IV: Cradle of Civilization
  • VtM - Bloodlines 2 Blood Moon Edition
  • Stellaris: Distant Stars
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: No Step Back
  • Hearts of Iron IV: By Blood Alone
  • Stellaris: Nemesis
  • Stellaris: Necroids
  • Battle for Bosporus
  • Imperator: Rome - Magna Graecia
  • Europa Universalis IV
  • Imperator: Rome Deluxe Edition
  • Imperator: Rome Sign Up
  • Stellaris: Lithoids
  • Hearts of Iron IV: La Resistance
  • Europa Universalis IV: El Dorado
  • Stellaris: Federations
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Mare Nostrum
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Europa Universalis IV: Rights of Man
  • Tyranny: Archon Edition
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Third Rome
  • Stellaris: Synthetic Dawn
  • Crusader Kings II: Charlemagne
It's also useful to point out that in some of hoi4's files, the # is used to spell out section headings as a form of ascii art, and depending on the width/wraparound options of your text editor, it may not appear readable.
 
  • 3
Reactions:

bitmode

1st Reverse Engineer Battalion
Nov 10, 2016
3.810
6.988
It's also useful to point out that in some of hoi4's files, the # is used to spell out section headings as a form of ascii art, and depending on the width/wraparound options of your text editor, it may not appear readable.
I believe those are primarily for editors with minimaps:
1684677026018.png
 
  • 3
  • 2Like
Reactions: