Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Events/Script for newbies?

 
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 War in Europe >> Scenario Design and Modding >> Events/Script for newbies? Page: [1]
Login
Message << Older Topic   Newer Topic >>
Events/Script for newbies? - 12/5/2016 11:13:22 PM   
SIPRES


Posts: 398
Joined: 7/23/2015
Status: offline
I try to understand the script/events mechanism but so far I am a little bit confused by all the files (Unit.txt, decision.txt ect...) are they linked together?

Is there any tutorial?

For example as playing the Axis side how can I generate by script a garnison unit in warsaw, lets say few weeks after the fall of Poland?

thanks for your inputs

Christophe


Post #: 1
RE: Events/Script for newbies? - 12/6/2016 12:53:41 PM   
pcpilot


Posts: 78
Joined: 1/25/2008
From: Gods country, USA
Status: offline
I haven't gotten into the scripting yet as I am still working on my first map. But if it is anything like SC2, it will all be .txt files. I would look at an existing script in one of the campaigns, that might help a little. Sorry cant come up with more for you.

_____________________________


(in reply to SIPRES)
Post #: 2
RE: Events/Script for newbies? - 12/6/2016 4:15:32 PM   
BillRunacre

 

Posts: 4945
Joined: 7/22/2013
Status: offline
Hi Sipres

Have you taken a look at part 2 of the Manual on Designing your own Campaigns as it does contains details on the scripts?

I'd also recommend opening up some of the script files and taking a look at the descriptions at the top, and actual scripts used in the game that will appear below them in the file.

_____________________________

Follow us on Twitter: https://twitter.com/FurySoftware

We're also on Facebook! https://www.facebook.com/FurySoftware/

(in reply to pcpilot)
Post #: 3
RE: Events/Script for newbies? - 12/18/2016 3:14:27 PM   
prince_blucher

 

Posts: 31
Joined: 12/7/2013
Status: offline
Hi, I've written a new decision and added it to \Campaigns\_1939 Storm over Europe\Scripts\Events\Decision.txt however it does not fire. Do I need to add the event name (the number - DE 674) in another files? Dies the event name (number) need to be sequential? My event does not appear within in-game scripts. Thanks.

< Message edited by prince_blucher -- 12/18/2016 3:15:39 PM >

(in reply to BillRunacre)
Post #: 4
RE: Events/Script for newbies? - 12/18/2016 4:20:28 PM   
Razz1


Posts: 2560
Joined: 10/21/2007
From: CaLiForNia
Status: offline
I know one thing... You need to make sure that the DE number doesn't exist before you assign it. Can not have two numbers the same.

(in reply to prince_blucher)
Post #: 5
RE: Events/Script for newbies? - 12/18/2016 4:23:57 PM   
prince_blucher

 

Posts: 31
Joined: 12/7/2013
Status: offline
Yep check that.

I guess I should update \Templates\Events\Decision.txt as well? Same decision file exists there by the looks of it. I'll try that anyways. <-- Nope that's an empty file.

< Message edited by prince_blucher -- 12/18/2016 4:25:11 PM >

(in reply to Razz1)
Post #: 6
RE: Events/Script for newbies? - 12/18/2016 4:36:36 PM   
sPzAbt653


Posts: 9511
Joined: 5/3/2007
From: east coast, usa
Status: offline
Check this from page 114, 2.1.4 :
You cannot save over a default campaign, instead you will have to use Save As and give it a new name.
So, open the default campaign, save it as a new name, THEN add you DE to your newly named campaign, and it should work.
It should look like this, where my campaign name is '653H' [W7 pictured] :





Attachment (1)

(in reply to prince_blucher)
Post #: 7
RE: Events/Script for newbies? - 12/18/2016 5:45:30 PM   
prince_blucher

 

Posts: 31
Joined: 12/7/2013
Status: offline
Hello sPzAbt653, thanks for your reply. I try it now.

(in reply to sPzAbt653)
Post #: 8
RE: Events/Script for newbies? - 12/18/2016 7:23:24 PM   
BillRunacre

 

Posts: 4945
Joined: 7/22/2013
Status: offline
Once you've done File -> Save As and given your campaign a new name, you'll need to Update the scripts. It should ask you to do this during the save process.

_____________________________

Follow us on Twitter: https://twitter.com/FurySoftware

We're also on Facebook! https://www.facebook.com/FurySoftware/

(in reply to prince_blucher)
Post #: 9
RE: Events/Script for newbies? - 12/20/2016 5:46:53 AM   
prince_blucher

 

Posts: 31
Joined: 12/7/2013
Status: offline
Thanks everyone. I understand now to load the editor, load the 1939 Campaign, save as XXX, and then edit decisions.

(in reply to BillRunacre)
Post #: 10
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Strategic Command Series >> Strategic Command WWII War in Europe >> Scenario Design and Modding >> Events/Script for newbies? 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

1.531