Thread Tools
Old March 17, 2001, 16:22   #1
Shadowstrike
Emperor
 
Shadowstrike's Avatar
 
Local Time: 19:49
Local Date: October 30, 2010
Join Date: Jul 2000
Location: The Glorious Land of Canada
Posts: 3,234
User-Defined Varibles?
Here's an idea which should help scenario designers greatly. Give us the ablity to define varibles in the event files, and choose to have them visible or not. For example, say I wanted to create a "countdown" timer in a scenario designed for the player to find a hidden explosive that threatens to destroy an importnat landmark. I would create the varible in the event file at the start of the scenario. Then, I would set it to "visible", which would allow the player to see it. I'd give it a name, and every turn (with the Turn=-1 trigger), a line in the event file would drop the number down by a user defined amount. When it reaches 0, and you still haven't won... Ka-boom!

A slightly more complex example. Say I want to create a fantasy scenario with an extra resource, called "mana". Then, I'd put in a line which tells the computer to increase the "mana" varible by 3 per city. Just to make this example a bit more complex, I'd also put in a line where certain cities with a flag turned on (called say "elf", for example). In thouse cities, I'd tell the event file to look for that flag, and in those cities the mana output would be say, 3 + x) where x is the number of citizens divided by 2. Just to add in a referance to Master of Magic (which is one of my favorite games), I could also add a type of unit (there are going to be unlimited units availble to scenario designers, right?) called a node, and put a stack of other units on it. If the player defeats a node unit, another event creates a new one on its spot, player controlled, and turns on a flag. If that flag is on, another line could tell the game to increase the "mana" varible by an additional 2, or whatever number I decide to put in. After that, we could allow researchble techs and buildable structures and units use this varible as the means of production instead of shields or beakers (or their civ3 equivilents). A line in rules.txt (or whatever replaces it) could llow this to be implemented. This could be an interesting idea, and it could add a lot of new tools to help scenario designers make fun scenarios which will last for a long time, as differnet varibles could make the scenario radically different from the original game itself, vastly expanding the lifespan of the game itself.
Shadowstrike is offline  
Old March 20, 2001, 19:15   #2
Shadowstrike
Emperor
 
Shadowstrike's Avatar
 
Local Time: 19:49
Local Date: October 30, 2010
Join Date: Jul 2000
Location: The Glorious Land of Canada
Posts: 3,234
Umm... this would be very useful for scenario designers...
Shadowstrike is offline  
Old March 20, 2001, 19:23   #3
Cyclotron
Never Ending StoriesThe Courts of Candle'Bre
King
 
Cyclotron's Avatar
 
Local Time: 19:49
Local Date: October 30, 2010
Join Date: Jan 2001
Location: Cyclo-who?
Posts: 2,995
Kind of like an SC-style trigger bank... I don't make scenarios, but It sounds like a good idea.

------------------
Any shred of compassion left in me was snuffed out forever when they cast me into the flames...
Cyclotron is offline  
Old March 20, 2001, 19:59   #4
Zulu Elephant
Prince
 
Zulu Elephant's Avatar
 
Local Time: 00:49
Local Date: October 31, 2010
Join Date: Jun 1999
Posts: 763
Im pretty sure you could do the countdown thing with Test Of Time
Zulu Elephant is offline  
Old March 21, 2001, 18:55   #5
Shadowstrike
Emperor
 
Shadowstrike's Avatar
 
Local Time: 19:49
Local Date: October 30, 2010
Join Date: Jul 2000
Location: The Glorious Land of Canada
Posts: 3,234
You could, but there would be no wway of letting the player see it, and popping up a text box every turn that says: "You have x turns left before the dynamite blows up." gets kinda repetative.
Shadowstrike 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:49.


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