Making a scenario using "Regicide" type of victory

ImageImageTalking about Modding for EE2 and EE2 AOS. New maps, patches, programs and Multiplayer scenarios.
User avatar
Dr.MonaLisa
High Representative
Posts: 7416
Joined: 17 Jun 2010, 11:21
Location: Poland

Re: Making a scenario using "Regicide" type of victory

Post by Dr.MonaLisa » 24 Feb 2019, 03:09

"script says so" victory condition.
It must be set by the script when player loses
Best regards,
Dr.MonaLisa
Ministry of Game Affairs
Department of Control and Complains


Bogdan
Posts: 67
Joined: 25 Feb 2017, 17:26

Re: Making a scenario using "Regicide" type of victory

Post by Bogdan » 24 Feb 2019, 11:39

It is set

User avatar
Dr.MonaLisa
High Representative
Posts: 7416
Joined: 17 Jun 2010, 11:21
Location: Poland

Re: Making a scenario using "Regicide" type of victory

Post by Dr.MonaLisa » 24 Feb 2019, 12:34

Then it doesn't work. Perhaps incorrect script.
Best regards,
Dr.MonaLisa
Ministry of Game Affairs
Department of Control and Complains

Bogdan
Posts: 67
Joined: 25 Feb 2017, 17:26

Re: Making a scenario using "Regicide" type of victory

Post by Bogdan » 03 Mar 2019, 13:49

Hello again, I remember you've gave me an advice to use this in description

Code: Select all

\"
but I don't understand now how is this possible:

Code: Select all

brief = "Probably, my last scenario. This one is about changing history.\n\nI’ve always
Parse error: line 69:79: expecting " " ", found " I "

Is that really in some cases there's restrictions for characters number?

User avatar
Dr.MonaLisa
High Representative
Posts: 7416
Joined: 17 Jun 2010, 11:21
Location: Poland

Re: Making a scenario using "Regicide" type of victory

Post by Dr.MonaLisa » 03 Mar 2019, 14:00

Does this string end with a quote character?
Best regards,
Dr.MonaLisa
Ministry of Game Affairs
Department of Control and Complains

Bogdan
Posts: 67
Joined: 25 Feb 2017, 17:26

Re: Making a scenario using "Regicide" type of victory

Post by Bogdan » 03 Mar 2019, 14:19



Added after 38 minutes 12 seconds:
Here's full script. I don't understand the reason of these errors :(
Attachments
SaveByzantium.scn
(2.33 MiB) Downloaded 6 times
Byzantium_script.ies
(16.74 KiB) Downloaded 8 times

User avatar
Dr.MonaLisa
High Representative
Posts: 7416
Joined: 17 Jun 2010, 11:21
Location: Poland

Re: Making a scenario using "Regicide" type of victory

Post by Dr.MonaLisa » 03 Mar 2019, 15:43

Can't check it now. Try to escape all " " " and " ' " characters with " \ ".
Best regards,
Dr.MonaLisa
Ministry of Game Affairs
Department of Control and Complains

Bogdan
Posts: 67
Joined: 25 Feb 2017, 17:26

Re: Making a scenario using "Regicide" type of victory

Post by Bogdan » 03 Mar 2019, 15:58

Escaping ' symbols doesn't help either. Furthermore, my last script worked without that. Very strange

User avatar
Dr.MonaLisa
High Representative
Posts: 7416
Joined: 17 Jun 2010, 11:21
Location: Poland

Re: Making a scenario using "Regicide" type of victory

Post by Dr.MonaLisa » 03 Mar 2019, 16:00

Maybe cut it in pieces and test where exactly problems start?
Best regards,
Dr.MonaLisa
Ministry of Game Affairs
Department of Control and Complains

Bogdan
Posts: 67
Joined: 25 Feb 2017, 17:26

Re: Making a scenario using "Regicide" type of victory

Post by Bogdan » 03 Mar 2019, 16:31

It turns out that script doesn't work if you use

Code: Select all

'
or

Code: Select all

-
And this

Code: Select all

\
does not help.

So I just got rid of these symbols
Last edited by Bogdan on 03 Mar 2019, 16:37, edited 2 times in total.

Post Reply

Return to “EE2 files, modding, maps, testing, etc.”