Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site and its forums as they stood in September 2005. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 1998–2001 UBB forums
Today on Apolyton WARDELL INTERVIEW PROMO A.C.S. HISTORY CHAPTER 4 GET CIV4 /w FREE PLUS! A.C.S. PHOTO GALLERY GET A.O.M. V1.1
Apolyton Civilization Forums
main| civ2| civ3| civ4| smac| ctp2| ron| moo3| galciv| galciv2| alt| about|
ApolytonPLUS | register | search | faq | new posts | pm (-/-) | upload | members
hall of fame new! | civgroups | civgroups news | interviews | the column | radio | chat | directory | news | store | PLUS
Apolyton Civilization Forums : Powered by vBulletin version 2.0.3 Apolyton Civilization Forums > Miscellaneous > Archive > CtP2-Creation/AI/Mods/Scenarios-Archive > Controlling the Robot
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!

bottom of page
  
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
Peter Triggs is offline Peter Triggs
Prince
Gone Fishin, Canada
Jan 2000
time: 05:17
  Old Post 10-01-2002 02:44
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Controlling the Robot Lose 30 kilos (of popups)

OK, I think I've got possibly a great idea for diplomatic alliances but I need help with it. You know how if you're at war with someone, your ally will join in. But it seems to me that more often than not they just get in the way. So, we were talking about \attach, \detach, and the corresponding functions AttachRobot and DetachRobot the other day and it occured to me that maybe it's possible to use these functions to let you take control of your allied civ when you're at war with a joint enemy. You get to be 'Commander in Chief' of the allied armies. But I haven't had any luck with these functions so far. Anybody got any ideas how to implement this?

Locutus is offline Locutus
ACS CTP1/2 Manager & Civ4 Co-Manager
Hengelo, The Netherlands
Nov 1999
time: 06:17
  Old Post 10-01-2002 05:34 Visit Locutus<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Support Apolyton or Terrorists Win

Here's a very relevant excerpt from the Human-human diplomacy thread that IW just bumped int he General forum (Dale was trying to bring Hotseat back through SLIC, not realizing that Hotseat was already possible):

Dale's post:
quote:
Unfortunately, my idea didn't come off. It centered around the fact you can turn the AI off for a civ, and back on. On the weekend I gave it a go. What I did was prompt on the first turn "Is this player a hotseat player?" with a yes/no selection. If yes I would turn the AI off for that civ. Then for each turn I checked that flag to see if it was 1 (hum) or 0 (ai). If '1' then I would run a routine which popped up a msg "Player X's turn" and yeah. I tried it to limited success. It did actually stop on player 2's turn, pop up the notification of that turn, and then open up the screen for me. The only problem I found was that I couldn't do anything. It was like normally trying to look at the AI's units/cities. Only the info from spies or terrain info. There must be another flag to set, my thoughts run along the IsHumanPlayer settings. You know how ya check IsHumanPlayer(g.player)? Maybe it's related to that but can't find anything on what the actual FLAG is.


My response:
quote:
I figured that you might be looking into that, never gave that option much of a chance myself. In CtP1 those Attach- and DetachRobot funtions were used in the tutorial to disable the AI until the human player was ready for it. I can't imagine any way of using it to change control of the human player to another civ. As far as I can tell, the only option that even has the slightest chance of succeeding (though I still find it unlikely), is to not only detach the AI, but also attach an AI to the current civ of the human player, that might force the human into the only non-AI controlled civ. If that doesn't work, I don't think it's possible at all to make the human change civ (other than through the cheat menu). If you ask me, the only use for those functions is in scenarios: e.g. one might make a colonization scenario and disable all Native American civs until the Europeans actually land to prevent FE the Aztecs from taking over the entire American continent before Europeans can even get there.


I hope I'm wrong but I'm afraid what you want is simply not possible...

The Big Mc is offline The Big Mc
King
Of the universe / England
Oct 2001
time: 05:17
  Old Post 10-01-2002 15:56 Visit The Big Mc's homepage!
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Support Apolyton buy from Amazon

it might be me here but I think you are all going around this the wrong way instead of just un attaching the robot you may just want to take over the civ. keep the cites and units in an array or to and at the end of the war just rebuild the civ from the stored components and if any units have merged to make an army with a few of your units just pull them back to there city.then just put in a couple of variables and values which will allow the other civ to quit the war when it wants to.

Immortal Wombat is offline Immortal Wombat
Prince
in perpetuity
Dec 2000
time: 05:17
  Old Post 10-01-2002 18:20 Visit Immortal Wombat's homepage!
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Put an end to popups!

1-Will you be my ally?
2-Yes
1-Thanks
1-Go to war with player 3
2-Ok
1-Wahoo, more units
*disband, disband, disband*
*position home troops*
*set sliders to max unhappiness, PW to 100%*
*un-ally*
*attack former, and now defenceless ally*

The Big Mc is offline The Big Mc
King
Of the universe / England
Oct 2001
time: 05:17
  Old Post 14-01-2002 17:27 Visit The Big Mc's homepage!
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Enter the AD-FREE zone

ha ha

that's were some slic would come in to stop you crossing the borders with to many troops and a bit more to stop you disbanding there units show a bit of vision please

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:17.
Apolyton Time is 00:17.
    top of page
Rate This Thread:
archivepost
Forum Jump:
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
 




Contact Us - Apolyton Civilization Site - Support Us!

Building a better Apolyton through better information. Click here and take our poll!
Non-US visitors, click here!

Powered by: vBulletin Version 2.0.3
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Page generated in 0.0392 seconds (88.69% PHP - 11.31% MySQL) with 31 queries
Page Loading Time:

Support Apolyton: Amazon USA | Amazon UK | Amazon DE | Amazon FR |
Support Apolyton and get FREE PLUS, Buy from Chips&Bits: Galactic Civilizations | Galactic Civilizations: Deluxe Edition | Call to Power 2 | Civilization: The Boardgame | GURPS/ Alpha Centauri | Alpha Centauri | Civilization IV | Civilization III: Complete |


Front Page | Civilization IV | Civilization III | Civilization II | Call to Power II | Alpha Centauri | Master of Orion III
Rise of Nations | Galactic Civilizations | Galactic Civilizations II | Misc
Alt.Civs | Civ I | C:CtP I | About | News | Directory | Apolyton Store | Forums | Chat | Columns | Interviews | Newsletter
Scenario League | CSC | Clash of Civs | Spanish Site | CtP Maps | Cradle of Civ | WesW's Ctp1/2 Site | Civ3 Haven

apolyton.net | apolyton.com | civilization2.net | civilization3.net | civilization4.net | civilizationiv.info | calltopower.net | galciv.net | galciv2.net | moo3.net