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-General/Help/Strategy/Multiplaying-Archive > Loosing Trade routes
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!

bottom of page
  
Author
Thread   
Pages (2): [ 1   2   ]
< Last Thread     Next Thread > Post New Thread     Post A Reply
Martin the Dane is offline Martin the Dane
Prince
Aarhus, Denmark
Feb 2000
time: 06:24
  Old Post 31-12-2002 18:23 Visit Martin the Dane's homepage!
Edit/Delete Message Reply w/Quote
#31 Report this post to a moderator
Lose 30 kilos (of popups)

Not exactely, but thanks for the xls, that's usefull stuff.

What I'm looking for is something like this:

code:
HandleEvent(SetPiratingArmy) 'My_Pirating_handler' post{ GEA_TradeRoute The_TradeRoute; The_TradeRoute = My_Pirating_handler.arguments[0]; Event:KillTradeRoute(The_TradeRoute,0); }

This however does not work (ctp2 won't load it), so how do I get the affected traderoute?

Acording the refference the SetPiratingArmy event needs two arguments the first being of type? GEA_TradeRoute, the second being the army doing the pirating. So my thougtht was, that if the event gets the arguments the handler sould know about them, and thus I should be able to access them.

Edit: corrected typo.

Last edited by Martin the Dane on 31-12-2002 at 18:29

Locutus is offline Locutus
ACS CTP1/2 Manager & Civ4 Co-Manager
Hengelo, The Netherlands
Nov 1999
time: 06:24
  Old Post 31-12-2002 18:48 Visit Locutus<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#32 Report this post to a moderator
Full PM-box? Change here!

Ah, okay. No, unfortunately GEA_* things can't be used in SLIC. Because of this some events, like KillTradeRoute, are read-only

Martin the Dane is offline Martin the Dane
Prince
Aarhus, Denmark
Feb 2000
time: 06:24
  Old Post 31-12-2002 19:22 Visit Martin the Dane's homepage!
Edit/Delete Message Reply w/Quote
#33 Report this post to a moderator
Support Apolyton or Terrorists Win

So I can't find out what trade route was pirated And thus can't make my pirating mod work.

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:24
Post  Old Post 31-12-2002 20:42 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#34 Report this post to a moderator
Support Apolyton buy from Amazon

quote:
Originally posted by Peter Triggs
Martin G, where'd the traderoute array come from. I don't think I've ever seen it before. Do you know what members it has, if any?


There is no traderoute array otherwise the code would have been accepted by CTP2. I tried some other types of variables, the KillTradeRoute event accepted, an int, an army, a location and a city variable, probably it accepts also a unit variable but I didn't tried this. Fact is that I was able to fill the first argument with whatever type I wanted, without any error message, at least I expected something like a error message that this event expects a traderoute_t variable like the ImprovementComplete event that expects as first argument a improvement_t variable, the improvement array is valid but doesn't work here.

-Martin

Meitnerium is offline Meitnerium
Settler
California
Aug 2002
time: 21:24
  Old Post 17-01-2003 00:34
Edit/Delete Message Reply w/Quote
#35 Report this post to a moderator
Suffering from ads?

quote:
Originally posted by child of Thor
I think the most annoying thing is the way your routes are automatically plotted and how DUMB those routes are sometimes(like right through enemy territory ). I don't think that can be Slic-ed, unfortunately.


Does anyone know if trade routes can be set so they follow along roads and railroads? As I recall, this was done in CTP1.

J Bytheway is offline J Bytheway
Emperor
England
Jul 2001
time: 05:24
  Old Post 17-01-2003 00:43 Visit J Bytheway's homepage!
Edit/Delete Message Reply w/Quote
#36 Report this post to a moderator
Support Apolyton, buy Civilization 2

I'm not quite sire what you mean, but in CTP1 the terrains (and road improvements) had, in addition to a movement cost, a freight cost - I believe this was used for determining the caravan routes (it was the same as the movement cost except over water, where it was smaller) - decreasing the value of this for roads would make trade routes follow them more, but this is no longer possible in CTP2 since there is no such thing to alter.

Meitnerium is offline Meitnerium
Settler
California
Aug 2002
time: 21:24
  Old Post 17-01-2003 01:39
Edit/Delete Message Reply w/Quote
#37 Report this post to a moderator
Support Apolyton, pre-order Civilization IV

Thanks for the answer. I was hoping that using roads/railroads I would be able to position trade routes in a more logical manner. (Avoiding enemy territory, water, etc.) Also, I think its just simply more accurate to have trade routes follow along roads, railroads, rivers, etc. rather than just the shortest line between two points regardless of terrain. (And it makes the trade route dislpay in ctp2 a cluttered mess.) Too bad the freight/terrain movement costs were taken out of ctp2...

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:24
Post  Old Post 17-01-2003 02:17 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#38 Report this post to a moderator
Increase Your PM Length

Unfortunatly only the fright cost for terrain exist but not for tile improvement.

-Martin

Locutus is offline Locutus
ACS CTP1/2 Manager & Civ4 Co-Manager
Hengelo, The Netherlands
Nov 1999
time: 06:24
  Old Post 17-01-2003 03:08 Visit Locutus<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#39 Report this post to a moderator
Inflate your Upload Space

Hmm, in that case, could we simulate the effect by terraforming all the terrain underneath roads, railroads, etc to terrain that is identical except for a much lower freight cost?

Martin the Dane is offline Martin the Dane
Prince
Aarhus, Denmark
Feb 2000
time: 06:24
  Old Post 17-01-2003 03:28 Visit Martin the Dane's homepage!
Edit/Delete Message Reply w/Quote
#40 Report this post to a moderator
Increase the size of your Attachments

quote:
Originally posted by Martin the Dane
So I can't find out what trade route was pirated And thus can't make my pirating mod work.

Hmm. just had a thought. What if I simply decreased the number of trade points for the player by one if either a set number of piratings had occured or with a set chance.
Like either every tenth pirating against a player resulted in the loss of a tradepoint or a 10% chance of loosing a tradepoint for each pirating insident.

Unless someone has the answer I guess I'll have to look at it, when I get the time.

Btw. if you think lawyers are a nucience in the game, try them in real life.

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:24
Post  Old Post 18-01-2003 03:04 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#41 Report this post to a moderator
Support Apolyton

quote:
Originally posted by Martin the Dane
Hmm. just had a thought. What if I simply decreased the number of trade points for the player by one if either a set number of piratings had occured or with a set chance.


The only problem I see here is how you can kill a trader (== removing a trade point)

quote:
Originally posted by Martin the Dane
Like either every tenth pirating against a player resulted in the loss of a tradepoint or a 10% chance of loosing a tradepoint for each pirating insident.


In CTP1 the trade route was killed in 8 of 10 pirating insidents, here is what the const.txt tells us:

PIRACY_KILLS_TRADER_CHANCE 80

Of course you could increase the number there to 80000 or whatever to get to know this variable has any effect in CTP2.

-Martin

 
Pages (2): [ 1   2   ]
< Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:24.
Apolyton Time is 00:24.
    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.0449 seconds (89.97% PHP - 10.03% 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