• 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!
88 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: Conclave
  • Victoria 2
  • 500k Club
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Knights of Pen and Paper 2
  • Surviving Mars
  • Europa Universalis IV: Mandate of Heaven
  • Cities: Skylines - Mass Transit
  • Crusader Kings II: Monks and Mystics
  • 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
  • Stellaris: Leviathans Story Pack
  • Cities: Skylines - Natural Disasters
  • Hearts of Iron IV: Together for Victory
  • Europa Universalis IV
  • Hearts of Iron 4: Arms Against Tyranny
  • Hearts of Iron IV: No Step Back
  • Hearts of Iron IV: By Blood Alone
  • Europa Universalis 4: Emperor
  • Battle for Bosporus
  • Crusader Kings III: Royal Edition
  • Crusader Kings III
  • Imperator: Rome - Magna Graecia
  • Hearts of Iron IV: La Resistance
  • Prison Architect
  • Imperator: Rome Deluxe Edition
  • Europa Universalis IV: Golden Century
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Dharma
  • Stellaris: Distant Stars
  • Cities: Skylines - Parklife
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Apocalypse
  • Europa Universalis III Complete
  • Stellaris: Humanoids Species Pack
  • Europa Universalis III Complete
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.)
 
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.
 
ah. Now what can cuase freezing at the loading senario phase? the same problem?
 
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)?
 
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)