Thread Tools
Old February 25, 2002, 11:45   #1
tigger
Chieftain
 
Local Time: 21:00
Local Date: October 31, 2010
Join Date: Feb 2002
Location: UK
Posts: 91
New scenario
The Habsburg scenario is nearly finished. Real life keeps getting in the way (grrr) but I just need to add some tweaks.

Does anyone know how to make the user only select one civ. The sceanrio was designed as a full game which means the player must be player 1 but how do I grey the other choices out?

Also do I need a bit of Slic to detect the end of the game (turn 480) and trigger the GameOver messages?

Finally, does anyone fancy play testing the scenario and suggesting changes? I haven't got a homepage so I'll have to e-mail it. If anyone is prepared to do it, it should be ready for the end of the week. Its set in 1519 on a gigantic Europe map, has 8 civs and lasts for 480 turns.

Tigs
tigger is offline  
Old February 25, 2002, 17:46   #2
Locutus
Apolytoners Hall of FameCiv4 SP Democracy GameCiv4 InterSite DG: Apolyton TeamBtS Tri-LeagueC4BtSDG TemplarsC4WDG Team ApolytonCivilization IV CreatorsCTP2 Source Code ProjectPolyCast Team
Deity
 
Locutus's Avatar
 
Local Time: 23:00
Local Date: October 31, 2010
Join Date: Nov 1999
Location: De Hel van Enschede
Posts: 11,702
Re: New scenario
Quote:
Originally posted by tigger
Real life keeps getting in the way (grrr) but I just need to add some tweaks.
I know the feeling...

Quote:
Does anyone know how to make the user only select one civ. The sceanrio was designed as a full game which means the player must be player 1 but how do I grey the other choices out?
AFAIK you can't. In the Alex scenario this is possible but this is because this scenario was created with some Activision tools/build/whatever, which is different than what we fans have available. You'll simply have to tell in your readme that the scenario is intended to be played with the Hapsburgers (I think) and that, although possible, it wasn't designed to be played with any of the other civs.

Quote:
Also do I need a bit of Slic to detect the end of the game (turn 480) and trigger the GameOver messages?
Simple (untested):
Code:
HandleEvent(BeginTurn) 'HAB_GameOver' post {
   Message(1, 'HAB_GameOver_M');
   GameOver(1, 2);   // human player looses, (1, 1) will make player win
}
I assume you can add the actual message (HAB_GameOver_M) yourself. If not, let me know.

Quote:
Finally, does anyone fancy play testing the scenario and suggesting changes? I haven't got a homepage so I'll have to e-mail it. If anyone is prepared to do it, it should be ready for the end of the week. Its set in 1519 on a gigantic Europe map, has 8 civs and lasts for 480 turns.
You already know my answer to that
__________________
Administrator of WePlayCiv -- Civ5 Info Centre | Forum | Gallery
Locutus is offline  
Old February 25, 2002, 18:30   #3
Immortal Wombat
Apolytoners Hall of Fame
Prince
 
Immortal Wombat's Avatar
 
Local Time: 22:00
Local Date: October 31, 2010
Join Date: Dec 2000
Location: in perpetuity
Posts: 4,962
Locutus, you might want to put a line in that prevents that from making the human lose on turn 1...

Code:
HandleEvent(BeginTurn) 'HAB_GameOver' post {
   if(g.year >= 480){
       Message(1, 'HAB_GameOver_M');
       GameOver(1, 2);  
    } 
}
Does g.year get the real year (year * players) or the subjective year, according to the player?
__________________
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 February 25, 2002, 18:38   #4
Locutus
Apolytoners Hall of FameCiv4 SP Democracy GameCiv4 InterSite DG: Apolyton TeamBtS Tri-LeagueC4BtSDG TemplarsC4WDG Team ApolytonCivilization IV CreatorsCTP2 Source Code ProjectPolyCast Team
Deity
 
Locutus's Avatar
 
Local Time: 23:00
Local Date: October 31, 2010
Join Date: Nov 1999
Location: De Hel van Enschede
Posts: 11,702
D'oh! Sorry 'bout that, it has been a long day...

g.year returns the current round, so not year * players but just year (0 in 4000 BC, 1 in 3980(?) BC, etc).
__________________
Administrator of WePlayCiv -- Civ5 Info Centre | Forum | Gallery
Locutus is offline  
Old February 25, 2002, 19:03   #5
tigger
Chieftain
 
Local Time: 21:00
Local Date: October 31, 2010
Join Date: Feb 2002
Location: UK
Posts: 91
I'd actually just attempted to write some code to do just that. I was nearly right! I got the g.year bit but the rest of my code was over long and messy. Cheers guys!

The SLIC is completed for version 1 of the scenario. I need to check the map, locations and units are ok (I a nagging feeling that the French and Ottoman cities are not protected yet) but otherwise its ready to test. Unfortunately I've got a weekend from hell coming up and really need to do some work...hence my cheek at asking for play testers.

I'll finish the last minute stuff either tomorrow or thursday and then post details of whats in this version and what I'm leaving until version 2.

Anyone who can spare the time to test (cheers Locutus ) just post a reply or e-mail me.

Thanks Locutus and thanks IW for all your SLIC help, hope it was worth it!

Tigs
tigger is offline  
Old February 26, 2002, 05:54   #6
The Big Mc
CTP2 Source Code Project
King
 
The Big Mc's Avatar
 
Local Time: 21:00
Local Date: October 31, 2010
Join Date: Oct 2001
Location: Of the universe / England
Posts: 2,061
Well I remember in one of my scenarios getting to only selecting one civ to work if memory serves it is in the map editor on the empire tab select the right combo / button save the game and you get your one civ. Only problem is you have to keep doing it when you save.
__________________
"Every time I learn something new it pushes some old stuff out of my brain" Homer Jay Simpson
The BIG MC making ctp2 a much unsafer place.
Visit the big mc’s website
The Big Mc is offline  
Old February 26, 2002, 10:13   #7
tigger
Chieftain
 
Local Time: 21:00
Local Date: October 31, 2010
Join Date: Feb 2002
Location: UK
Posts: 91
Should I be concerned. i've been stuck in a meeting all morning and I spent my time thinking of things to include in my sceanrio. This is not good at all!

Cheers Big Mc I'll give it a go!
tigger is offline  
Old February 26, 2002, 10:17   #8
The Big Mc
CTP2 Source Code Project
King
 
The Big Mc's Avatar
 
Local Time: 21:00
Local Date: October 31, 2010
Join Date: Oct 2001
Location: Of the universe / England
Posts: 2,061
Will you do something for me now

Put me on the list for play testers
__________________
"Every time I learn something new it pushes some old stuff out of my brain" Homer Jay Simpson
The BIG MC making ctp2 a much unsafer place.
Visit the big mc’s website
The Big Mc is offline  
Old February 26, 2002, 10:30   #9
tigger
Chieftain
 
Local Time: 21:00
Local Date: October 31, 2010
Join Date: Feb 2002
Location: UK
Posts: 91
Cheers mate! I was hoping you'd offer!

Thats two playtesters now. Mind you I was banking on Locutus, he's responsible for most of the SLIC and can always spare a drone or two for playtests!
tigger is offline  
Old February 26, 2002, 10:33   #10
The Big Mc
CTP2 Source Code Project
King
 
The Big Mc's Avatar
 
Local Time: 21:00
Local Date: October 31, 2010
Join Date: Oct 2001
Location: Of the universe / England
Posts: 2,061
Just say were and when and I will pick it up
__________________
"Every time I learn something new it pushes some old stuff out of my brain" Homer Jay Simpson
The BIG MC making ctp2 a much unsafer place.
Visit the big mc’s website
The Big Mc is offline  
Old February 26, 2002, 10:37   #11
tigger
Chieftain
 
Local Time: 21:00
Local Date: October 31, 2010
Join Date: Feb 2002
Location: UK
Posts: 91
It'll be weekend at the latest and I'll probably e-mail it as I don't have a homepage. Once its ready to distribute I'll post a thread called Habsburg scenario, to let people know.
tigger is offline  
Old February 26, 2002, 10:42   #12
The Big Mc
CTP2 Source Code Project
King
 
The Big Mc's Avatar
 
Local Time: 21:00
Local Date: October 31, 2010
Join Date: Oct 2001
Location: Of the universe / England
Posts: 2,061
I have a web page if you want you can put it there, until you get a site.
The main files are getting uploaded tomorrow. So it opens tomorrow
__________________
"Every time I learn something new it pushes some old stuff out of my brain" Homer Jay Simpson
The BIG MC making ctp2 a much unsafer place.
Visit the big mc’s website
The Big Mc is offline  
Old February 26, 2002, 11:56   #13
tigger
Chieftain
 
Local Time: 21:00
Local Date: October 31, 2010
Join Date: Feb 2002
Location: UK
Posts: 91
Thats too good an offer to turn down. Cheers mate. I'll have to get it finished now. I'll let you know once its ready to play.

Tigs
__________________
Diplomacy is the art of saying 'Nice doggie' until you can find a rock.
Will Rogers (1879 - 1935)
tigger is offline  
Old February 27, 2002, 05:52   #14
The Big Mc
CTP2 Source Code Project
King
 
The Big Mc's Avatar
 
Local Time: 21:00
Local Date: October 31, 2010
Join Date: Oct 2001
Location: Of the universe / England
Posts: 2,061
Hi I am just uploading my page now by the time you read this I hope to have it there.

Thebigmc.0catch.com
__________________
"Every time I learn something new it pushes some old stuff out of my brain" Homer Jay Simpson
The BIG MC making ctp2 a much unsafer place.
Visit the big mc’s website
The Big Mc is offline  
Old February 27, 2002, 06:57   #15
tigger
Chieftain
 
Local Time: 21:00
Local Date: October 31, 2010
Join Date: Feb 2002
Location: UK
Posts: 91
Excellent news and thanks once again Big Mc.

I finished the scenario last night so its ready to test. I need to be at home to e-mail the files so I'll do that this evening to you. I'll then post a thread to announce what is already planned for version 2 and what is in version 1...if you can add a post when the scenario is uploaded that'll be great!
__________________
Diplomacy is the art of saying 'Nice doggie' until you can find a rock.
Will Rogers (1879 - 1935)
tigger is offline  
Old February 27, 2002, 07:20   #16
The Big Mc
CTP2 Source Code Project
King
 
The Big Mc's Avatar
 
Local Time: 21:00
Local Date: October 31, 2010
Join Date: Oct 2001
Location: Of the universe / England
Posts: 2,061
Well when I get the web site to work I will put it up in the mean time send it to The_Big_Mc2@hotmail.com

The page is willing but the frames the frames are revolting on me.

Have you been yet it’s dead funny like everything just don’t want to work
__________________
"Every time I learn something new it pushes some old stuff out of my brain" Homer Jay Simpson
The BIG MC making ctp2 a much unsafer place.
Visit the big mc’s website
The Big Mc is offline  
Old February 27, 2002, 07:35   #17
tigger
Chieftain
 
Local Time: 21:00
Local Date: October 31, 2010
Join Date: Feb 2002
Location: UK
Posts: 91
I was visitor number 2!
__________________
Diplomacy is the art of saying 'Nice doggie' until you can find a rock.
Will Rogers (1879 - 1935)
tigger is offline  
Old February 27, 2002, 07:38   #18
The Big Mc
CTP2 Source Code Project
King
 
The Big Mc's Avatar
 
Local Time: 21:00
Local Date: October 31, 2010
Join Date: Oct 2001
Location: Of the universe / England
Posts: 2,061
So you were visitor number 2

While I was visitor number 1,3,4,5,6,7…………32
Trying to get it to work right
Tell me did you get to see the navigation bar at the bottom or was it missing on your end too
__________________
"Every time I learn something new it pushes some old stuff out of my brain" Homer Jay Simpson
The BIG MC making ctp2 a much unsafer place.
Visit the big mc’s website
The Big Mc is offline  
Old February 27, 2002, 07:40   #19
tigger
Chieftain
 
Local Time: 21:00
Local Date: October 31, 2010
Join Date: Feb 2002
Location: UK
Posts: 91
I'm afraid it was missing...the background was nice though
__________________
Diplomacy is the art of saying 'Nice doggie' until you can find a rock.
Will Rogers (1879 - 1935)
tigger is offline  
Old February 27, 2002, 07:45   #20
The Big Mc
CTP2 Source Code Project
King
 
The Big Mc's Avatar
 
Local Time: 21:00
Local Date: October 31, 2010
Join Date: Oct 2001
Location: Of the universe / England
Posts: 2,061
So it’s not just this PC it works fine at home get it fix like but I am so embarrassed

Oh I almost forgot congratulations on becoming chieftain just another 70 posts and it will be warlord
__________________
"Every time I learn something new it pushes some old stuff out of my brain" Homer Jay Simpson
The BIG MC making ctp2 a much unsafer place.
Visit the big mc’s website
The Big Mc is offline  
Old February 27, 2002, 08:21   #21
tigger
Chieftain
 
Local Time: 21:00
Local Date: October 31, 2010
Join Date: Feb 2002
Location: UK
Posts: 91
Cheers (ok this is a sneeky way of getting one nearer the warlord stage) I'll have to have a Chieftain party or something
__________________
Diplomacy is the art of saying 'Nice doggie' until you can find a rock.
Will Rogers (1879 - 1935)
tigger is offline  
Old February 27, 2002, 09:02   #22
The Big Mc
CTP2 Source Code Project
King
 
The Big Mc's Avatar
 
Local Time: 21:00
Local Date: October 31, 2010
Join Date: Oct 2001
Location: Of the universe / England
Posts: 2,061
But that’s cheating I am fed up with my web so I will fix at the moment you can’t see the gif that took me hours to make
__________________
"Every time I learn something new it pushes some old stuff out of my brain" Homer Jay Simpson
The BIG MC making ctp2 a much unsafer place.
Visit the big mc’s website
The Big Mc is offline  
Old February 27, 2002, 09:57   #23
Immortal Wombat
Apolytoners Hall of Fame
Prince
 
Immortal Wombat's Avatar
 
Local Time: 22:00
Local Date: October 31, 2010
Join Date: Dec 2000
Location: in perpetuity
Posts: 4,962
I can play-test it too tigger.

And probably upload it to my website too if you like. You probably want to see about putting it on one (or both) of Locutus' Mod Depots, to keep everything together.
__________________
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 February 27, 2002, 10:27   #24
tigger
Chieftain
 
Local Time: 21:00
Local Date: October 31, 2010
Join Date: Feb 2002
Location: UK
Posts: 91
Cheers IW, the more testers the merrier and some of your codes in there too, as you know.

Can I e-mail it too you this evening? I'll contact Locutus and sort out the Mod depot stuff.

I think I'll make a start on version 2 this weekend as I want it too be a fair challenge to play and I've got a couple of ideas on how to do that. I'll start up a separate post once you and Big Mc have it to let people know and discuss my ideas.

Tigs
__________________
Diplomacy is the art of saying 'Nice doggie' until you can find a rock.
Will Rogers (1879 - 1935)
tigger is offline  
Old February 27, 2002, 12:09   #25
Immortal Wombat
Apolytoners Hall of Fame
Prince
 
Immortal Wombat's Avatar
 
Local Time: 22:00
Local Date: October 31, 2010
Join Date: Dec 2000
Location: in perpetuity
Posts: 4,962
Sure, this evening's fine, though I don't know if I'll be able to play right away.
__________________
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 February 28, 2002, 06:39   #26
The Big Mc
CTP2 Source Code Project
King
 
The Big Mc's Avatar
 
Local Time: 21:00
Local Date: October 31, 2010
Join Date: Oct 2001
Location: Of the universe / England
Posts: 2,061
How come there is no pacicon with the scenario. You the little pic I was going to use it as a download link on my site do you want me to make one for you or are you going to have a go at one there normally maps or wonder images or units.

I could use the medieval king of the intro of the game if you want and put it in as a pacicon
__________________
"Every time I learn something new it pushes some old stuff out of my brain" Homer Jay Simpson
The BIG MC making ctp2 a much unsafer place.
Visit the big mc’s website
The Big Mc is offline  
Old February 28, 2002, 07:33   #27
tigger
Chieftain
 
Local Time: 21:00
Local Date: October 31, 2010
Join Date: Feb 2002
Location: UK
Posts: 91
Big Mc I'd be eternally indebited to you if you did the pacicon.

Images are really my thing and in the end I forgot to do one. Something suitably medievil would be great. I owe you a beer or several
__________________
Diplomacy is the art of saying 'Nice doggie' until you can find a rock.
Will Rogers (1879 - 1935)
tigger is offline  
Old February 28, 2002, 07:53   #28
The Big Mc
CTP2 Source Code Project
King
 
The Big Mc's Avatar
 
Local Time: 21:00
Local Date: October 31, 2010
Join Date: Oct 2001
Location: Of the universe / England
Posts: 2,061
I found a file on the activsion site of some king getting the crown put on from the intro movie so I will just cut that out and put it in as the pacicon. I get all my best stuff there I even got the colony ship for my scenario there and a made that my pacicon.

Ps just put the beer into the floppy drive and just e-mail them me.



Only joking you’ll probably not want to do that the email system takes the head off the beer.
__________________
"Every time I learn something new it pushes some old stuff out of my brain" Homer Jay Simpson
The BIG MC making ctp2 a much unsafer place.
Visit the big mc’s website
The Big Mc is offline  
Old February 28, 2002, 08:07   #29
tigger
Chieftain
 
Local Time: 21:00
Local Date: October 31, 2010
Join Date: Feb 2002
Location: UK
Posts: 91
Thanks mate. the smilies don't work on my system at work so this'll have to do :-) (ah the good old days)

Am I ok to post a thread advertising the scenario and proposing changes for version 2 then?
__________________
Diplomacy is the art of saying 'Nice doggie' until you can find a rock.
Will Rogers (1879 - 1935)
tigger is offline  
Old February 28, 2002, 08:37   #30
The Big Mc
CTP2 Source Code Project
King
 
The Big Mc's Avatar
 
Local Time: 21:00
Local Date: October 31, 2010
Join Date: Oct 2001
Location: Of the universe / England
Posts: 2,061
Just uploading the new version of my site.

reedy for inspection soon. Small problem with the nav bar but soon be fixed
__________________
"Every time I learn something new it pushes some old stuff out of my brain" Homer Jay Simpson
The BIG MC making ctp2 a much unsafer place.
Visit the big mc’s website
The Big Mc 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 17:00.


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