Thread Tools
Old January 18, 2001, 21:22   #1
heardie
Prince
 
heardie's Avatar
 
Local Time: 20:51
Local Date: October 31, 2010
Join Date: Aug 1999
Posts: 684
Pirate Scenario
Since I am so multi-talented ( ) I have decided to strart work on two scenarios at once. This one is based on Shay Yates Roberts' scenario for Civ2 'Pirates' I think that by using SLIC we can give this a great upgrade. You can play as a civ, that can build cities, research or anything, kind of like Magnificant Samauri, and your entire aim of the game is to make as much money as you can. I just just imagine it now, as you have your ships loaoded with generals, and brand new sea-fearing graphics (oh no, ggxx.spr problms there ). Anyway I will start today. Post all comments!

heardie
if anyone wants to see what i have done with the waterworld scenario mail dheardie@hotmail.com
heardie is offline  
Old January 18, 2001, 21:49   #2
MarkG
Guest
 
Posts: n/a
cool idea!
Pirates is a classic, i think it was the first scenario to use events...

make it so!!
 
Old January 18, 2001, 22:00   #3
kormer
Chieftain
 
Local Time: 09:51
Local Date: October 31, 2010
Join Date: Jan 2001
Posts: 58
Good luck, if you need any help just go ahead and ask. I'm struggling my through a scenario of my own.
kormer is offline  
Old January 19, 2001, 00:58   #4
heardie
Prince
 
heardie's Avatar
 
Local Time: 20:51
Local Date: October 31, 2010
Join Date: Aug 1999
Posts: 684
I know Pirates was an awesome piece of work. Pity I dont have FW any more
heardie is offline  
Old January 22, 2001, 01:27   #5
heardie
Prince
 
heardie's Avatar
 
Local Time: 20:51
Local Date: October 31, 2010
Join Date: Aug 1999
Posts: 684
Slight change: changed from pirates to Robin Hood, so it can work on land. Basically the SLIc function wouldnt work at sea, but it worked on land. Anyway to make this project as open as possible here is the first SLIC, that creates random units when you walk (graciously taken from the Magnificant Samuari Scenario )
Code:
if (Random(50) < attackChance) {
			attackChance = 0;
			int_t	tmpRand;
			int_t	tmpRand2;
			int_t	tmpNum;
			int_t	i;
			int_t   tmpDist;

			location_t tmpLoc;
	
			tmpNum = army[0].size * 2;
			tmpDist = 1;
			tmpLoc = army[0].location;

			 //Find out how many units you have and spawn units accordingly.
	
			tmpRand = Random(tmpNum) + 1;			// Spawn between (1 and tmpNum) + 1 units

			for(i = 0; i < tmpNum; i = i + 1) {
				tmpRand2 = Random(20);						// Random type of bandit
				if (tmpRand2 < 8) {							// 40% chance of Bandit
					CreateUnit(3, UnitDB(UNIT_BANDIT), tmpLoc, tmpDist);
				} elseif (tmpRand2 >= 8 && tmpRand2 < 14) {	// 30% chance of Bandit Horseman
					CreateUnit(3, UnitDB(UNIT_BANDIT_HORSEMAN), tmpLoc, tmpDist);
				} elseif (tmpRand2 >= 14 && tmpRand2 < 19) {	// 25% chance of Bandit Archer
					CreateUnit(3, UnitDB(UNIT_BANDIT_ARCHER), tmpLoc, tmpDist);
				} elseif (tmpRand2 == 19) {					// 5% chance of Bandit Musketeer
					CreateUnit(3, UnitDB(UNIT_BANDIT_MUSKETEER), tmpLoc, tmpDist);
				}
			}
			makeArmies(3);
			Message (g.player, 'RHAmbush');
			return STOP;
		} else {
			attackChance = attackChance + 1;
		}
			
	//}
}
The only strage thing was
isHumanPlayer[player0] was causing an error. Oh well. Please post all comments on this. The aim is to make money, but also to marry maid marion (though this will not be ripped from the allexander scenario and chilildren will not be involved )

heardie
heardie 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 05:51.


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