Page 1 of 1
Event Help
Posted: Sun May 31, 2009 12:22 am
by paw1776
Hello,
I cannot seem to get this event to fire.
Here is picture of Colonists in Norfolk.
Any help appreciated!
Posted: Sun May 31, 2009 10:19 am
by PhilThib
How often did you test the event?
Two remarks I noticed (not sure this is the reason)
* You have no start date for event, you should make one (y
ou screen shows 1745 as a date, but I wonder if, in absence of date, internal engine date starts before 1750)
* You have only 1 occurence, may be increase it to 2 (
because if you are unluncky, the kill attempt of settlers does not occur in 25% of the time 
)
My 2 cents
Posted: Sun May 31, 2009 10:57 am
by paw1776
Okay,
Changed code slightly (see attached) and event fires off.
The Militia units is formed, loyolty change executed, but the error I get on creating a structure is strange, says I am trying to build in the sea!
From ScriptReport.txt:
Line 24: => ApplyCreateStruc command Structure cannot be build in a sea.
I have $Norfolk, so why is that the sea?
Posted: Sun May 31, 2009 11:05 am
by paw1776
Philippe,
I can put date in, don't really care as this event can fire anytime, and just once. Will try that next. Event did fire now. Just strange Sea error.
Essentially the kill on the Colonist is 75% for that unit to be used up and changed to Militia. So, it is a bonus to player if Colonist is not killed off, as then he discovers settlement and gets a militia, and then can use his Colonist again.
I had no examples on CreateStruc, so I change code to mimic an example from 1755-1763 Campaign where Norwich Settlement is founded.
Posted: Sun May 31, 2009 12:15 pm
by lodilefty
PhilThib wrote:* You have no start date for event, you should make one (you screen shows 1745 as a date, but I wonder if, in absence of date, internal engine date starts before 1750)
WIA code was modified to allow turn dates as early as 1600.
AFAIK, all othe AGE engine games have a 1750 earliest start date limit....
Posted: Mon Jun 01, 2009 11:17 am
by paw1776
From ScriptReport.txt:
Line 24: => ApplyCreateStruc command Structure cannot be build in a sea.
Any ideas on this?
Posted: Mon Jun 01, 2009 11:26 am
by lodilefty
Upload
all the reports from Scripts folder and
all logs from Logs folder. I may have some time to look at it today

Posted: Tue Jun 02, 2009 10:45 am
by paw1776
Lodi,
Here is scripts stuff.
Posted: Tue Jun 02, 2009 12:07 pm
by lodilefty
paw1776 wrote:Lodi,
Here is scripts stuff.
Where?

Posted: Wed Jun 03, 2009 1:50 am
by paw1776
Duh! Will have to reload tonight.

Posted: Wed Jun 03, 2009 3:26 am
by paw1776
Here they are!
Posted: Wed Jun 03, 2009 11:11 am
by lodilefty
Try adding
SelectRegion = $Norfolk
just before the command to create the settlement...
sometimes the game engine loses track of 'where'....
Posted: Thu Jun 04, 2009 10:27 am
by paw1776
Lodi!
That did it mate!
I am on my way now.
Thx for all the help!!!!!!!!!!
