Thread Tools
Old May 3, 2002, 13:41   #1
silveraxe
Settler
 
Local Time: 01:02
Local Date: November 1, 2010
Join Date: Oct 2001
Posts: 10
Scenario creation
Hi there folks.
I would like to do a SCENARIO. where things have already happened you know.
Are there some place to read about how to define regard,- trust,- startyear,- cost of researches and that kind of stuff?

Last edited by silveraxe; May 3, 2002 at 14:06.
silveraxe is offline  
Old May 3, 2002, 13:47   #2
DDowell
Chieftain
 
Local Time: 01:02
Local Date: November 1, 2010
Join Date: Nov 2001
Location: Västerås, Sweden
Posts: 42
Hi Silveraxe.

There are plenty of posts about scenario editing. Why not start by looking at Apolyton CTP2 modification page (thats where I started) and maybe reading hexagonia's manual.
__________________
So much to do in so little time...
DDowell is offline  
Old May 3, 2002, 13:49   #3
DDowell
Chieftain
 
Local Time: 01:02
Local Date: November 1, 2010
Join Date: Nov 2001
Location: Västerås, Sweden
Posts: 42
...one more thing!
Change the title of this thread to something more informative.
If everyone posted threads like this, this forum will become rather cumbersome to use.
__________________
So much to do in so little time...
DDowell is offline  
Old May 3, 2002, 14:05   #4
silveraxe
Settler
 
Local Time: 01:02
Local Date: November 1, 2010
Join Date: Oct 2001
Posts: 10
how do I delete the topic?
silveraxe is offline  
Old May 3, 2002, 14:15   #5
Immortal Wombat
Apolytoners Hall of Fame
Prince
 
Immortal Wombat's Avatar
 
Local Time: 01:02
Local Date: November 1, 2010
Join Date: Dec 2000
Location: in perpetuity
Posts: 4,962
Too late... 5 minutes has gone already.

Hi, by the way

The questions you have asked are really two things. You can alter scenarios by changing the text files, and more abstract stuff has to be done by SLIC coding.

For all your text modding questions, Hexagonia's modders guide is the first place to look. For SLIC help, just ask, but it can be complicated, and you might want to hang around getting a feel for things first. If you haven't already done so, check out Joe Rumsey's guide to making a scenario. It should be in the readme file. (Or was that CtP1?)

Anyway, in answer to your first questions:

Startyear can be done by making a file called turnlength.txt in the scen0000 folder. See the Activision scenarios for the format to follow, and remember the line numbers.

Cost of researches you can change in advances.txt, which you will need to put into the scen0000/default/gamedata folder.

Regard and trust have to be done using SLIC code, an in-game scripting language. There are various threads around with a similar thing, but basically, make a blank file, and name it scenario.slc in the scen0000/default/gamedata folder. Then add into it these lines:
Code:
HandleEvent(BeginTurn) 'silveraxe_init_scen' pre{
	LogRegardEvent(4, 1, -9999, 0, ID_SA_REGARD);
	DisableTrigger('silveraxe_init_scen');
}
For the line with numbers in, the first is the player who's opinion you are setting (4). The second is the player to be the target of the hate/love (1) the third number is the' respect coefficient' so the bigger the number, the greater the love, the further negative you go, the more they'll hate you. The fourth is a 0. No reason...
After that, the ID_SA_REGARD bit is the associated text, so you will need to make a scen_str.txt in scen0000/english/gamedata and add the line:
Code:
SA_REGARD  "insert text here. I don't think it displays anyway"
__________________
Concrete, Abstract, or Squoingy?
"I don't believe in giving scripting languages because the only additional power they give users is the power to create bugs." - Mike Breitkreutz, Firaxis
Immortal Wombat is offline  
Old May 3, 2002, 14:18   #6
Immortal Wombat
Apolytoners Hall of Fame
Prince
 
Immortal Wombat's Avatar
 
Local Time: 01:02
Local Date: November 1, 2010
Join Date: Dec 2000
Location: in perpetuity
Posts: 4,962
Quote:
how do I delete the topic?
You can't, but we all read everything anyway.
__________________
Concrete, Abstract, or Squoingy?
"I don't believe in giving scripting languages because the only additional power they give users is the power to create bugs." - Mike Breitkreutz, Firaxis
Immortal Wombat is offline  
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 20:02.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Apolyton Civilization Site | Copyright © The Apolyton Team