• 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(2036)

Lazy poster - avid reader
Mar 20, 2001
220
0
Visit site
heavy lance discovery event

I believe there is a bug in the heavy_lance discovery event.
Here is the begining of the event:

###########################
#heavy_lance discovery #
###########################

province_event = {
id = 3039

name = "TECH_DISCOVERY"
tag = heavy_lance
picture = event_techinvention
trigger = {
condition = {
type = not
value = {
type = has_advance
value = { shortbow = yes }
}
}
condition = {
type = has_advance
value = { heavy_lance = yes }
}
condition = { type = advance_focus value = heavy_lance
}
condition = { type = capital value = yes }
}

mean_time_to_happen = {
months = 750
......

The has and not has trigger seems funny :)
 
Upvote 0

CaBhaal

Bane Inc.
108 Badges
Feb 9, 2003
172
0
Visit site
  • Rome: Vae Victis
  • March of the Eagles
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Semper Fi
  • Sengoku
  • Sword of the Stars
  • Sword of the Stars II
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Majesty 2
  • Warlock: Master of the Arcane
  • Warlock 2: The Exiled
  • Warlock 2: Wrath of the Nagas
  • 500k Club
  • Cities: Skylines
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Mount & Blade: Warband
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Stellaris: Necroids
  • Divine Wind
  • Cities in Motion
  • 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
  • Deus Vult
  • Europa Universalis III
  • Hearts of Iron II: Armageddon
  • Europa Universalis IV
  • 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
  • Heir to the Throne
  • Europa Universalis III Complete
  • King Arthur II
  • The Kings Crusade
Thread title says feedback, so I guess I give some :)

Used the console on a new game to trigger the tech advances, seeing what combo you had to have a valid condition. As the event stands now, it will not trigger if you have the shortbow advance. So if you invent bows and arrows, no heavy lances for you. :D The next problem is you are also required to have heavy lances to get them....an impossibility.

Looked through the rest of the event file, none of the other techs require you to have/not have a tech from another tree. So, even if I reverse the two conditions, heavy lances are still dependent on my having just the shortbow tech. So I get to jump from a level 1 tech to a level 5, sounds like a good deal!

More likely the event should begin like this:
Code:
trigger	= {
		condition = {
			type = not
			value = {
				type = has_advance
				value = { heavy_lance= yes }
			}
		}
		condition = {
			type = has_advance
			value = { polearm = yes }
		}
		condition = { type = advance_focus value = heavy_lance
 }
		condition = { type = capital value = yes }
		}

I made this change to the advances_discovery.txt file and using the console was able to trigger longspear through heavy lances with no "Trigger unsatisfied" messages coming up.

~CaBhaal
 

unmerged(6777)

Field Marshal
Dec 10, 2001
12.470
5
SJG said:
Maybe it's the expertise in making long pointy sticks and it's just a matter of scale ;)
Yep. That's it exactly. :p

Er...I wonder who scripted that event? :eek:o

Will be fixed in 1.03.

In the interim you could replace that first ection with:

Code:
###########################
#heavy_lance discovery	  #	   
###########################
						   
province_event = {
	id = 3039

	name	= "TECH_DISCOVERY"
	tag		= heavy_lance
	picture = event_techinvention
	trigger	= {
		condition = {
			type = not
			value = {
				type = has_advance
				value = { heavy_lance = yes }
			}
		}
		condition = {
			type = has_advance
			value = { polearm = yes }
		}
		condition = { type = advance_focus value = heavy_lance
 }
		condition = { type = capital value = yes }
		}