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

Second Lieutenant
Dec 20, 2003
185
0
I tried editing some events for Brazil for VIP Version 0.4B(Victoria 1.03c), after I was done I tried loading the GC and got a bunch of errors, such as:

"missing = in statement"
"date: unexpected field"
"unknown lhs in game-event"
"unkown data defined in event database"
"unexpected field"
"unkown trigger type"

Does anyone know of a list that explains what all this means? I went back and checked the file and the formatting seems ok :confused:

Here's the file if anybody wants to take a look:

http://rapidshare.de/files/35010026/VIP_Brazil.rar.html
 

TheLoneTaco

Soft Taco
29 Badges
Nov 7, 2002
1.717
2
Visit site
  • Rome Gold
  • Europa Universalis 4: Emperor
  • Europa Universalis IV: Golden Century
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Mount & Blade: Warband
  • Europa Universalis IV: El Dorado
  • 500k Club
  • 200k Club
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Victoria 2
  • Crusader Kings II
  • Victoria: Revolutions
  • Europa Universalis IV: Res Publica
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Heir to the Throne
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Europa Universalis IV
  • Divine Wind
  • Europa Universalis III Complete
  • Deus Vult
#########################################################################
# Tariff Alves Branco Conservative Party by Pimparel
#########################################################################
event = {
id = 128042
random = no
country = BRZ
picture = market_regulations

trigger = { ruling_party = 16301 }

name = "Alves Branco Tariff"
desc = "In 1844, the policy of free trade was replaced by a protectionist one. According to new customs legislation, prices were doubled for merchandise which had no national equivalent and quadrupled otherwise. Evidently, international pressure against the measure has been widespread, mostly on the part of the British, who lost a good part of their privileges. Although the protectionist policies did not form an insurmountable barrier, neither did they develop the domestic market."
style = 0

date = { year = 1844 }
offset = 360
deathdate = ( year = 1854 }

action_a = {
name = "Approve."
command = { type = relation which = ENG value = -50 }
command = { type = sleep_party which = 16300 } #Liberal free_trade
command = { type = sleep_party which = 16301 } #Conservative free_trade
command = { type = wake_party which = 16306 } #Liberal protecionism
command = { type = wake_party which = 16307 } #Conservative protecionism
command = { type = set_ruling_party which = 16307 } #Partido Conservador
command = { type = sleepevent which = 128043 } #Tariff Alves Branco Liberal Party
}
action_b = {
name = "Disapprove."
command = { type = sleepevent which = 128043 } #Tariff Alves Branco Liberal Party
command = { type = sleepevent which = 128069 } #Tariff Silva Ferraz Conservative Party
command = { type = sleepevent which = 128070 } #Tariff Silva Ferraz Liberal Party
}
}

Well there is one problem. Try changing the ( to a { and see if that works
 

unmerged(23721)

Second Lieutenant
Dec 20, 2003
185
0
TheLoneTaco said:
Well there is one problem. Try changing the ( to a { and see if that works
Thanks for spotting that :D, but it doesn't seem to affect any of the errors.

Is there a limit on the number of lines for each event description? On some events if I shorten the "desc =" to 4 or 5 lines the errors seem to go away. Otherwise I can't get something like

---------------------------
Critical error!
---------------------------

--- ERROR : (Missing = in statement.) '} = 1836' Line = 1864399226 file = f Piratini. For the first time, Imperial troops faced an organized military movement, formed in its majority by free men. The rebels extended their forces by offering freedom for slaves who adhered to the movement. ---
Do you still want to continue?

to make any sense :confused:
 

HMS Enterprize

On loan to the C.S Navy
26 Badges
Jun 21, 2004
4.903
57
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Nemesis
  • Stellaris: Necroids
  • Stellaris: Federations
  • Stellaris: Lithoids
  • Stellaris: Ancient Relics
  • Stellaris: Megacorp
  • Stellaris: Distant Stars
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Stellaris: Synthetic Dawn
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron II: Armageddon
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris
  • 500k Club
  • Victoria 2
  • Victoria: Revolutions
  • Europa Universalis III Complete
  • Iron Cross
  • Europa Universalis III Complete
  • Hearts of Iron III
  • Europa Universalis III Complete
  • Darkest Hour
^If you write the event text in- it cannot be too long (which is one of your problems by the looks of it)...if you want very long text you have to define the text in another file and use an EVT_DESC_xxx in the desc line.

Have a look at other events to get an idea of how to do it.
 

unmerged(23721)

Second Lieutenant
Dec 20, 2003
185
0
HMS Enterprize said:
if you want very long text you have to define the text in another file and use an EVT_DESC_xxx in the desc line.

Oh man :( . That about doubles the time it takes to do it doesn't it. I added a bunch of events. Is there an easy way to do this?

thanks though!
 

HMS Enterprize

On loan to the C.S Navy
26 Badges
Jun 21, 2004
4.903
57
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Nemesis
  • Stellaris: Necroids
  • Stellaris: Federations
  • Stellaris: Lithoids
  • Stellaris: Ancient Relics
  • Stellaris: Megacorp
  • Stellaris: Distant Stars
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Stellaris: Synthetic Dawn
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron II: Armageddon
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris
  • 500k Club
  • Victoria 2
  • Victoria: Revolutions
  • Europa Universalis III Complete
  • Iron Cross
  • Europa Universalis III Complete
  • Hearts of Iron III
  • Europa Universalis III Complete
  • Darkest Hour
mandrake said:
Oh man :( . That about doubles the time it takes to do it doesn't it. I added a bunch of events. Is there an easy way to do this?

thanks though!

Well, its not hard per se, it just takes a while...