Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Writing Events

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Strategic Command Series >> Strategic Command WWII: World at War >> MODS and Scenarios >> Writing Events Page: [1]
Login
Message << Older Topic   Newer Topic >>
Writing Events - 2/24/2019 2:22:36 PM   
Tidavis


Posts: 725
Joined: 7/27/2014
From: Peoria, Illinois
Status: offline
I'm attempting to write a custom event. A simple unit event where it appears no matter what the parameters of the game are. I can't get it to fire.


Are there any guides on writing events out there? I think I am missing something somewhere but don't know what it could be.

Any help here is appreciated.

_____________________________

Post #: 1
RE: Writing Events - 2/24/2019 3:40:43 PM   
Tidavis


Posts: 725
Joined: 7/27/2014
From: Peoria, Illinois
Status: offline
Progress of sorts. My custom event appears in the list not. It didn't fire but it id in the list. Onward ho! Try again! If at first...yada....yada...

_____________________________


(in reply to Tidavis)
Post #: 2
RE: Writing Events - 2/24/2019 4:31:32 PM   
Robert24


Posts: 176
Joined: 7/26/2013
Status: offline
Post the script here. We'll have a look.

(in reply to Tidavis)
Post #: 3
RE: Writing Events - 2/24/2019 4:46:42 PM   
Tidavis


Posts: 725
Joined: 7/27/2014
From: Peoria, Illinois
Status: offline
Here ya go.

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

;Germany (Formation of Waffen-SS)
{
#NAME= AXIS: Germany-The Waffen-SS Forms
#POPUP=
#IMAGE=
#SOUND=
#FLAG= 1
#TYPE= 0
#AI= 0
#LEVEL= 0
#GV= 1[1,100]
#LINK= 0[0]
#COUNTRY_ID= 45
#TRIGGER= 100
#PRIVATE= 0
#DISPLAY_TURN= 0
#FULL_RESEARCH= 1
#DATE= 1939/09/01
#FAILSAFE_DATE= 1939/09/01
#DESTINATION_RESOURCE= 100,30
; Germany politically aligned with Axis and not surrendered
#VARIABLE_CONDITION= 45 [1] [100] [0]
; Dummy condition position (always satisfied)
#CONDITION_POSITION= 0,0 [0,0] [0,0] [0] [0]
#UNIT= 6 [3] [0] [1SS PanzerGrenadier]
}


XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX


This event shows up in the list but will not fire. I am sure I am doing something wrong but I have no idea what.

_____________________________


(in reply to Robert24)
Post #: 4
RE: Writing Events - 2/24/2019 6:08:29 PM   
crispy131313


Posts: 2055
Joined: 11/30/2013
Status: offline
The destination of the unit is the capital of Denmark, is this the intention?

Edit: I've fixed the script below, this should fire with an announcement that the Waffen SS has formed and the unit will appear turn 1 in Berlin.

< Message edited by crispy131313 -- 2/24/2019 6:12:24 PM >


_____________________________


(in reply to Tidavis)
Post #: 5
RE: Writing Events - 2/24/2019 6:11:24 PM   
crispy131313


Posts: 2055
Joined: 11/30/2013
Status: offline
;Germany (Formation of Waffen-SS)
{
#NAME= AXIS: Germany - The Waffen-SS Forms
#POPUP= Germany Forms The Waffen SS
#IMAGE=
#SOUND=
#FLAG= 1
#TYPE= 1
#AI= 0
#LEVEL= 0
#GV= 1[1,100]
#LINK= 0[0]
#COUNTRY_ID= 45
#TRIGGER= 100
#PRIVATE= 0
#DISPLAY_TURN= 0
#FULL_RESEARCH= 1
#DATE= 1939/09/01
#FAILSAFE_DATE= 1939/09/01
#DESTINATION_RESOURCE= 101,36
; Germany politically aligned with Axis and not surrendered
#VARIABLE_CONDITION= 45 [1] [100] [0]
; Dummy condition position (always satisfied)
#CONDITION_POSITION= 0,0 [0,0] [0,0] [0] [0]
#UNIT= 6 [3] [0] [1SS PanzerGrenadier]
}

_____________________________


(in reply to crispy131313)
Post #: 6
RE: Writing Events - 2/24/2019 6:59:59 PM   
Tidavis


Posts: 725
Joined: 7/27/2014
From: Peoria, Illinois
Status: offline
No it was not. Potsdam was the destination but Berlin works too.



_____________________________


(in reply to crispy131313)
Post #: 7
RE: Writing Events - 2/24/2019 7:24:22 PM   
Tidavis


Posts: 725
Joined: 7/27/2014
From: Peoria, Illinois
Status: offline

quote:

ORIGINAL: crispy131313

;Germany (Formation of Waffen-SS)
{
#NAME= AXIS: Germany - The Waffen-SS Forms
#POPUP= Germany Forms The Waffen SS
#IMAGE=
#SOUND=
#FLAG= 1
#TYPE= 1
#AI= 0
#LEVEL= 0
#GV= 1[1,100]
#LINK= 0[0]
#COUNTRY_ID= 45
#TRIGGER= 100
#PRIVATE= 0
#DISPLAY_TURN= 0
#FULL_RESEARCH= 1
#DATE= 1939/09/01
#FAILSAFE_DATE= 1939/09/01
#DESTINATION_RESOURCE= 101,36
; Germany politically aligned with Axis and not surrendered
#VARIABLE_CONDITION= 45 [1] [100] [0]
; Dummy condition position (always satisfied)
#CONDITION_POSITION= 0,0 [0,0] [0,0] [0] [0]
#UNIT= 6 [3] [0] [1SS PanzerGrenadier]
}



Thank you! Looks like the only thing preventing the event firing was the location? Was the popup text mandatory? I was going to do work on that later because I thought that was a separate thing?

Going to try another one just to make sure it works correctly.

You definitely earned a credit in my mod if it ever gets to the release point.

Thanks again!

_____________________________


(in reply to crispy131313)
Post #: 8
RE: Writing Events - 2/24/2019 9:39:20 PM   
crispy131313


Posts: 2055
Joined: 11/30/2013
Status: offline
Yes it was only the location, pop up could be left blank.

_____________________________


(in reply to Tidavis)
Post #: 9
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Strategic Command Series >> Strategic Command WWII: World at War >> MODS and Scenarios >> Writing Events Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.875