User avatar
paw1776
Captain
Posts: 192
Joined: Thu Mar 26, 2009 5:29 am
Location: Melbourne, Australia
Contact: Website

Event Help

Sun May 31, 2009 12:22 am

Hello,

I cannot seem to get this event to fire.

Here is picture of Colonists in Norfolk.

Any help appreciated!
Attachments
Norfolk Event.JPG
Colonists at Norfolk.JPG

User avatar
PhilThib
Posts: 13705
Joined: Tue Oct 18, 2005 5:21 pm
Location: Meylan (France)

Sun May 31, 2009 10:19 am

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 (you 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
Image

User avatar
paw1776
Captain
Posts: 192
Joined: Thu Mar 26, 2009 5:29 am
Location: Melbourne, Australia
Contact: Website

Sun May 31, 2009 10:57 am

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?
Attachments
Norfolk Event2.JPG

User avatar
paw1776
Captain
Posts: 192
Joined: Thu Mar 26, 2009 5:29 am
Location: Melbourne, Australia
Contact: Website

Sun May 31, 2009 11:05 am

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.

User avatar
lodilefty
Posts: 7616
Joined: Sat Aug 11, 2007 3:27 pm
Location: Finger Lakes, NY GMT -5 US Eastern

Sun May 31, 2009 12:15 pm

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. :D

AFAIK, all othe AGE engine games have a 1750 earliest start date limit....
Always ask yourself: "Am I part of the Solution?" If you aren't, then you are part of the Problem!
[CENTER][/CENTER]
[CENTER]Visit AGEWiki - your increasingly comprehensive source for information about AGE games[/CENTER]

[CENTER]Rules for new members[/CENTER]
[CENTER]Forum Rules[/CENTER]

[CENTER]Help desk: support@slitherine.co.uk[/CENTER]

User avatar
paw1776
Captain
Posts: 192
Joined: Thu Mar 26, 2009 5:29 am
Location: Melbourne, Australia
Contact: Website

Mon Jun 01, 2009 11:17 am

From ScriptReport.txt:
Line 24: => ApplyCreateStruc command Structure cannot be build in a sea.

Any ideas on this?

User avatar
lodilefty
Posts: 7616
Joined: Sat Aug 11, 2007 3:27 pm
Location: Finger Lakes, NY GMT -5 US Eastern

Mon Jun 01, 2009 11:26 am

Upload all the reports from Scripts folder and all logs from Logs folder. I may have some time to look at it today :D
Always ask yourself: "Am I part of the Solution?" If you aren't, then you are part of the Problem!
[CENTER][/CENTER]

[CENTER]Visit AGEWiki - your increasingly comprehensive source for information about AGE games[/CENTER]



[CENTER]Rules for new members[/CENTER]

[CENTER]Forum Rules[/CENTER]



[CENTER]Help desk: support@slitherine.co.uk[/CENTER]

User avatar
paw1776
Captain
Posts: 192
Joined: Thu Mar 26, 2009 5:29 am
Location: Melbourne, Australia
Contact: Website

Tue Jun 02, 2009 10:45 am

Lodi,

Here is scripts stuff.

User avatar
lodilefty
Posts: 7616
Joined: Sat Aug 11, 2007 3:27 pm
Location: Finger Lakes, NY GMT -5 US Eastern

Tue Jun 02, 2009 12:07 pm

paw1776 wrote:Lodi,

Here is scripts stuff.


:confused:


Where? :blink:
Always ask yourself: "Am I part of the Solution?" If you aren't, then you are part of the Problem!
[CENTER][/CENTER]

[CENTER]Visit AGEWiki - your increasingly comprehensive source for information about AGE games[/CENTER]



[CENTER]Rules for new members[/CENTER]

[CENTER]Forum Rules[/CENTER]



[CENTER]Help desk: support@slitherine.co.uk[/CENTER]

User avatar
paw1776
Captain
Posts: 192
Joined: Thu Mar 26, 2009 5:29 am
Location: Melbourne, Australia
Contact: Website

Wed Jun 03, 2009 1:50 am

Duh! Will have to reload tonight. :bonk:

User avatar
paw1776
Captain
Posts: 192
Joined: Thu Mar 26, 2009 5:29 am
Location: Melbourne, Australia
Contact: Website

Wed Jun 03, 2009 3:26 am

Here they are!
Attachments
_CA Logs.ZIP
(22.02 KiB) Downloaded 228 times

User avatar
lodilefty
Posts: 7616
Joined: Sat Aug 11, 2007 3:27 pm
Location: Finger Lakes, NY GMT -5 US Eastern

Wed Jun 03, 2009 11:11 am

Try adding
SelectRegion = $Norfolk

just before the command to create the settlement...

sometimes the game engine loses track of 'where'....
Always ask yourself: "Am I part of the Solution?" If you aren't, then you are part of the Problem!
[CENTER][/CENTER]

[CENTER]Visit AGEWiki - your increasingly comprehensive source for information about AGE games[/CENTER]



[CENTER]Rules for new members[/CENTER]

[CENTER]Forum Rules[/CENTER]



[CENTER]Help desk: support@slitherine.co.uk[/CENTER]

User avatar
paw1776
Captain
Posts: 192
Joined: Thu Mar 26, 2009 5:29 am
Location: Melbourne, Australia
Contact: Website

Thu Jun 04, 2009 10:27 am

Lodi!

That did it mate!

I am on my way now.

Thx for all the help!!!!!!!!!! :thumbsup:

Return to “WIA Mods”

Who is online

Users browsing this forum: No registered users and 1 guest