 |
|
FrenzyHuman
|
|
Sydney
Mar 2002 time: 15:18
|
|
I am thinking of set "BombardRange" from 1 to 2 or even more, so, for example, my Artillery can bombard enemy troops without moving beside the target troop. Can this be done? I tried modify units.txt, no luck. Pls help.
|
|
|  |
 |
|
Martin Gühmann
|
 |
Berlin, Germany
Mar 2001 time: 06:18
|
|
quote: Originally posted by FrenzyHuman
Thanks to Martin too, while I don't quite understand that block of PHP code, to be frank |
Actual it isn't PHP code, I just used the PHP syntax highlighting feature of this feature, I could also use the simplw Quote or Code tag. You can find this piece of code in a file called Orders.txt (this time spelled correctly) in your ..\ctp2_data\defaut\gamedata\ folder, the same directory where you find the unit.txt. So what I actual suggested was to open the orders.txt with any editor e.g. notepad (if you want to modify the file for the original game, if you want to modify a file of Cradle, MedPack2, ApolytonPack or GoodMod you need to look for a file with a CRA_, MM2_, APOL_ or GM1_ prefix). Once you opend this file go to the ORDER_BOMBARD entry that I quoted above and modify the Range entry, I just would increase the number there and look what happens. Note maybe you have to modify every BombardRange entry in your unit.txt, too.
-Martin
|
|
|  |
 |
|
FrenzyHuman
|
|
Sydney
Mar 2002 time: 15:18
|
|
Thank you all, now it's clear, I will try and see what happens.
|
|
|  |
 |
|
Peter Triggs
|
|
Gone Fishin, Canada
Jan 2000 time: 05:18
|
|
What puzzles me about that order that Martin posted above is "TargetPretest:EnemyCity". It doesn't seem to stop you from bombarding enemy units in the field.
|
|
|  |
 |
|
Peter Triggs
|
|
Gone Fishin, Canada
Jan 2000 time: 05:18
|
|
Both of those goals refer to "Execute ORDER_BOMBARD", which is where the pretest is. It's still puzzling.
"the short discription here on Apolyton? "
Do you mean the documentation or the discussion between WesW and Richard Myers?
|
|
|  |
 |
|
FrenzyHuman
|
|
Sydney
Mar 2002 time: 15:18
|
|
Hi Guys,
I think the topic here was "if bombard range can be extended from 1 to 2",
not "if AI can bombard unit/city or not".
Am I right about this?
While there was no problem for AI to bombard unit or city in the original CTPII game,
as far as I experienced.
Back to bombard range, I still haven't got any luck to make it further than 1.
The solution to create a temporary unit close to target and bombard the target,
then kill the temporary unit is very complicated. Because of the terrain, for example,
you have a battle ship with bombard range 2 to bombard an inland city which is located
one square to the ocean, then how can you do that?
change the terrain as well while bombarding?
|
|
|  |
 |
|
DDowell
|
|
Västerås, Sweden
Nov 2001 time: 06:18
|
|
quote: Originally posted by Peter Triggs
I don't remember this coming up before and can't find a link. Could you expand on this?
|
I've searched for those old threads but came up empty handed.
Although I can tell you that what I was writing was the truth. How can I be so sure:
1. This is the only forum I knew of at the time that was concerned with CTP2.
2. I joined the forum at that point.
This is all the info I can give you, sorry.
Anyway, this thread exists now so maybe the issue will be resolved once and for all.
BTW, I have problems finding older threads (>1 year). I doesn't matter what search words I use or time period (are they removed?).
|
|
|  |
 |
|
Peter Triggs
|
|
Gone Fishin, Canada
Jan 2000 time: 05:18
|
|
quote: Although I can tell you that what I was writing was the truth.
|
I believe you, I believe you. I tried playing with this last week when Poly was down and got absolutely nowhere with it.
It seems though that someone's been down this road before and I was hoping to find out what they said. But I've had no luck with searches either.
|
|
|  |
All times are GMT. The time now is 05:18. Apolyton Time is 00:18. |
top of page
|
| archivepost |
|
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
|
|
|
|
|
|