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

Lyrecryer

Back by Unpopular Demand!
85 Badges
Feb 27, 2010
2.074
13
  • Cities: Skylines - After Dark
  • Rome: Vae Victis
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Sword of the Stars
  • Crusader Kings II: Horse Lords
  • Imperator: Rome - Magna Graecia
  • Crusader Kings III
  • Victoria 2
  • 500k Club
  • Stellaris: Leviathans Story Pack
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Cradle of Civilization
  • Knights of Pen and Paper 2
  • Crusader Kings II: Conclave
  • Hearts of Iron IV: No Step Back
  • Cities: Skylines - Natural Disasters
  • Hearts of Iron IV Sign-up
  • Stellaris Sign-up
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Hearts of Iron IV: Together for Victory
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Cities: Skylines - Parklife
  • Stellaris: Distant Stars
  • Europa Universalis IV: Dharma
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Golden Century
  • Imperator: Rome Deluxe Edition
  • Prison Architect
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: La Resistance
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV
  • Crusader Kings III: Royal Edition
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Third Rome
  • Surviving Mars
  • Europa Universalis III Complete
  • Hearts of Iron IV: Death or Dishonor
  • Europa Universalis III Complete
  • Europa Universalis 4: Emperor
the title says it all. I'm trying to make an battlescenario from scrach but it just freezes when I click singleplayer. I got the debug on but it's doesn't say anything.

what would make it freeze?

Here is the code to check out(you can give me tips and tutorials. I am using the tutorial from HOI2wiki):
Code:
name       = "RED ALERT 1: THE FIRST RED WAR"
panel      = "scenarios/data/scenario_1914.bmp"
header =
{ name       = "THE FIRST RED WAR"
  startdate  = { year = 1943 }
  free	= no
  combat = yes  
  
  SOV        = { picture = "scenarios\data\SOV_RA1.bmp" bottom = yes desc = SOV_RED1}
  
  ALS        = { desc = ALS_RED1 picture = "scenarios\data\ALS_RA1.bmp}
  }
globaldata = {
rules = { diplomacy = yes
        production = yes
        technology = yes
		}
 startdate = { year = 1943 month = january day = 0 }
 enddate   = { year = 1953 month = january day = 21 }
  axis = 	{
	        id = { type = 15000 id = 2 }
			participant = {  }
		}
  allies =
  { id          = { type = 15000 id = 1 }
    participant = { ALS }
  }
  comintern =
  { id          = { type = 15000 id = 3 }
    participant = { SOV }
  } 
  map = { no = all
#GB
yes = 2
yes = 4
yes = 5
yes = 6
yes = 7
yes = 8
yes = 9
yes = 10
yes = 11
yes = 12
yes = 13
yes = 14
yes = 15
yes = 16
yes = 17
yes = 18
yes = 19
yes = 20
yes = 21
yes = 22
yes = 23
yes = 24
yes = 25
yes = 26
yes = 27
yes = 28
yes = 29
yes = 30
yes = 31
yes = 32
yes = 33
yes = 34
yes = 35
yes = 36
#France
yes = 37
yes = 38
yes = 39
yes = 40
yes = 41
yes = 42
yes = 43
yes = 44
yes = 45
yes = 46
yes = 47
yes = 48
yes = 49
yes = 50
yes = 51
yes = 52
yes = 53
yes = 54
yes = 55
yes = 56
yes = 57
yes = 58
yes = 59
yes = 60
yes = 61
yes = 62
yes = 63
yes = 64
yes = 65
yes = 66 
top = {	x = 13904 y = 1912 }
bottom = {	x = 15736 y = 3772 }
} 
  # ########################### ALS-SOV NAP (used to prevent an early war but a event will appear to start it.) ############################
  treaty =
  { id         = { type = 16384 id = 1 }
    type       = non_aggression
    country    = "SOV"
    country    = "ALS"
    startdate  = { year = 1942 month = december day = 30 }
    expirydate = { year = 1946 month = december day = 30 }
  }
 
}
# ###################
# Includes for global data
#include = "db\events.txt"

# Victory points distribution
include = "scenarios\RED_WAR_1\vp.inc"

# Include files for each country tag used in the scenario
include = "scenarios\RED_WAR_1\soviet union.inc"
#include = "scenarios\RED_WAR_1\Allied Forces.inc"
#include = "scenarios\RED_WAR_1\bases.inc"

(yes I am making a red alert mod. I just want to check stuff out.)
 

Lyrecryer

Back by Unpopular Demand!
85 Badges
Feb 27, 2010
2.074
13
  • Cities: Skylines - After Dark
  • Rome: Vae Victis
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Sword of the Stars
  • Crusader Kings II: Horse Lords
  • Imperator: Rome - Magna Graecia
  • Crusader Kings III
  • Victoria 2
  • 500k Club
  • Stellaris: Leviathans Story Pack
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Cradle of Civilization
  • Knights of Pen and Paper 2
  • Crusader Kings II: Conclave
  • Hearts of Iron IV: No Step Back
  • Cities: Skylines - Natural Disasters
  • Hearts of Iron IV Sign-up
  • Stellaris Sign-up
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Hearts of Iron IV: Together for Victory
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Cities: Skylines - Parklife
  • Stellaris: Distant Stars
  • Europa Universalis IV: Dharma
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Golden Century
  • Imperator: Rome Deluxe Edition
  • Prison Architect
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: La Resistance
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV
  • Crusader Kings III: Royal Edition
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Third Rome
  • Surviving Mars
  • Europa Universalis III Complete
  • Hearts of Iron IV: Death or Dishonor
  • Europa Universalis III Complete
  • Europa Universalis 4: Emperor
It appears it was this:
Code:
{ picture = "scenarios\data\SOV_RA1.bmp" bottom = yes desc = SOV_RED1} 
{ desc = ALS_RED1 picture = "scenarios\data\ALS_RA1.bmp}

Now I got to deal with it freezing up while it's loading.
 

Lyrecryer

Back by Unpopular Demand!
85 Badges
Feb 27, 2010
2.074
13
  • Cities: Skylines - After Dark
  • Rome: Vae Victis
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Sword of the Stars
  • Crusader Kings II: Horse Lords
  • Imperator: Rome - Magna Graecia
  • Crusader Kings III
  • Victoria 2
  • 500k Club
  • Stellaris: Leviathans Story Pack
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Cradle of Civilization
  • Knights of Pen and Paper 2
  • Crusader Kings II: Conclave
  • Hearts of Iron IV: No Step Back
  • Cities: Skylines - Natural Disasters
  • Hearts of Iron IV Sign-up
  • Stellaris Sign-up
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Hearts of Iron IV: Together for Victory
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Cities: Skylines - Parklife
  • Stellaris: Distant Stars
  • Europa Universalis IV: Dharma
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Golden Century
  • Imperator: Rome Deluxe Edition
  • Prison Architect
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: La Resistance
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV
  • Crusader Kings III: Royal Edition
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Third Rome
  • Surviving Mars
  • Europa Universalis III Complete
  • Hearts of Iron IV: Death or Dishonor
  • Europa Universalis III Complete
  • Europa Universalis 4: Emperor
ah. Now what can cuase freezing at the loading senario phase? the same problem?
 

Limith

Modding for Myself
18 Badges
Apr 7, 2010
3.740
369
  • Darkest Hour
  • Deus Vult
  • East India Company
  • Europa Universalis III Complete
  • Divine Wind
  • Crusader Kings II
  • Heir to the Throne
  • Rome: Vae Victis
  • Rome Gold
  • Sword of the Stars
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Stellaris Sign-up
  • 500k Club
  • Victoria 2
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV
Most freezing in loading (hard freeze aka I have to restart the computer if it isn't in windowed mode) is related to typos. Depending on when it freezes, it can be scenario/event related (generally first half of load bar) or database related (generally second half of load bar extrapolated from my CG mod with no db for ministers and stuff jumps from 50% loaded to 100%)

On a related note Martin (since no one has answered this despite me asking twice in previous threads), what causes the endgame command to be ignored in battlescenarios (the game won't immediately end, the winning side is ignored once scenario deathdate is reached with only VPs considered, the checksum is changed in the main menu, and any new games started/loaded will crash)?
 

MartinBG

Darkest Hour Developer
2 Badges
Nov 16, 2007
5.634
257
  • Hearts of Iron II: Beta
  • Hearts of Iron IV Sign-up
On a related note Martin (since no one has answered this despite me asking twice in previous threads), what causes the endgame command to be ignored in battlescenarios (the game won't immediately end, the winning side is ignored once scenario deathdate is reached with only VPs considered, the checksum is changed in the main menu, and any new games started/loaded will crash)?

No idea. Report that in details in the bug reports sub-forum and I can take a look (could take a while as I have many tasks to take care of first)