.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

Reply
 
Thread Tools Display Modes
  #1  
Old October 8th, 2002, 07:42 AM

Taera Taera is offline
Colonel
 
Join Date: Jul 2001
Location: Calgary, AB, Canada
Posts: 1,743
Thanks: 0
Thanked 0 Times in 0 Posts
Taera is on a distinguished road
Default Scenario Options for SEIV - why not?

So again and again im thinking about the inability of SEIV to do any real scenarios and it came to my mind that actually creating a scenario in SEIV should not be as much of a problem.

Scenario editor aside. Thats a more fancy thing than is realy needed. What i mean is if/then system for the game which should not be much of a trouble to implement with any of the future patches.

I guess most things in SEIV have their variables - planets, ships, planets' owners and whatever else. SEIV can read sceenario introduction related to the scenario by name. Then why cannot it perform simple if/then tasks at end of each turn? Store your conditions in .txt file with appropiate name and let the game go through it.

Or is there something im missing?
__________________
Let the game begin!
Green bug from outa space!
Reply With Quote
  #2  
Old October 8th, 2002, 11:05 PM
capnq's Avatar

capnq capnq is offline
General
 
Join Date: Feb 2001
Location: Pittsburgh, PA, USA
Posts: 3,070
Thanks: 13
Thanked 9 Times in 8 Posts
capnq is on a distinguished road
Default Re: Scenario Options for SEIV - why not?

IMO, the hardest thing about creating a scenario is coming up with an interesting idea that's also playable.
__________________
Cap'n Q

"Good morning, Pooh Bear," said Eeyore gloomily. "If it is a good morning," he said. "Which I doubt," said he.
Reply With Quote
  #3  
Old October 9th, 2002, 12:11 AM
geoschmo's Avatar

geoschmo geoschmo is offline
National Security Advisor
 
Join Date: Jan 2001
Location: Ohio
Posts: 8,450
Thanks: 0
Thanked 4 Times in 1 Post
geoschmo is on a distinguished road
Default Re: Scenario Options for SEIV - why not?

Triggers is what they are called. We wont see them for SEIV, maybe SEV. They are a lot more complex to add to the code than a simple scenario editor that only manipulates current variables in the .gam file would be. And we aren't even going to see that for SEIV, so we definetly won't see triggers.

Geoschmo
__________________
I used to be somebody but now I am somebody else
Who I'll be tomorrow is anybody's guess
Reply With Quote
  #4  
Old October 9th, 2002, 01:45 AM

Taera Taera is offline
Colonel
 
Join Date: Jul 2001
Location: Calgary, AB, Canada
Posts: 1,743
Thanks: 0
Thanked 0 Times in 0 Posts
Taera is on a distinguished road
Default Re: Scenario Options for SEIV - why not?

My question is, why is it difficult to implement triggers (yes thats the word, slipped of my mind). Of course complex triggers aside, i am rather sure that the game has some variables for planets and players and ships which can be used for simpliest of all functions if/then.

Eg:
Variables: PlanetNumber123456, PlanetOwner

IF PlanetOwner(PlanetNumber123456) == 1 --player one
THEN VICTORY
__________________
Let the game begin!
Green bug from outa space!
Reply With Quote
  #5  
Old October 10th, 2002, 03:57 AM

Taera Taera is offline
Colonel
 
Join Date: Jul 2001
Location: Calgary, AB, Canada
Posts: 1,743
Thanks: 0
Thanked 0 Times in 0 Posts
Taera is on a distinguished road
Default Re: Scenario Options for SEIV - why not?

If you think about it such a check is present with victory conditions. expand this option to check other variables and you've got your scenarios.

Correct me please if im wrong, i am no programmer, i only have basic experience.
__________________
Let the game begin!
Green bug from outa space!
Reply With Quote
  #6  
Old October 10th, 2002, 06:01 PM

Lemmy Lemmy is offline
Second Lieutenant
 
Join Date: Mar 2001
Location: Netherlands
Posts: 479
Thanks: 0
Thanked 0 Times in 0 Posts
Lemmy is on a distinguished road
Default Re: Scenario Options for SEIV - why not?

it's certainly possible, but it will require a good model for it to work flexibel.

"IF PlanetOwner(PlanetNumber123456) == 1 --player one
THEN VICTORY "

This would be very possible to comprehend by a computer program.
But this can get difficult if you want to allow things like:
code:
if(player1.numPlanets() == 2 && player1.hasTech("Stellar Manip") || player2.ownsPlanet(3846))
{
createNewPlayer();
useVictoryConditions(2);
}

Where you have multiple check for an event, and several events, and several victory conditions, depending on the game situation.
Translating this from a text file to executable code through a program is difficult.

This is actually interesting, scenario events and triggers. Maybe i'll make something like this.
__________________
[Boo!]
Reply With Quote
Reply

Bookmarks


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 10:43 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.