 |
|  |
 |
|  |
 |
|
Gramphos
|
|
ACS Civ III Files Manager, Prince of Development
|
 |
Chalmers, Sweden
Apr 2001 time: 06:15
|
|
quote: Originally posted by Mercator
Ahem... Would you by any chance want to take over the "management" of this thread, Gramphos? Because of my lack of involvement in Civ3, I think it would be better if you could edit my top posts instead.
Do you have the "power" to transfer my initial posts to your name? |
I can't transfer the post, but I can edit your post (I think), but I didn't want to do it as you hadn't given me permission to do so, and you had done nothing that would make it a reason to edit as a moderator.
But if you say that I can edit your post I'll do that in the future. Another possibility is that I repost the thread next time there is a patch and closes this one, I think that is better, as your name otherwise would be left, and people could start wonering why I edited your posts, so next time I'll close this and post a new thread, where I control the first post.
If you have any objections, just tell me.
|
|
|  |
 |
|
Nero Would
|
|
I believe I know what the "unknown" long is in the PRTO section. It is usually -1, but there are 11 entries at the end of the section where the value is not -1. It appears that if two "AI Strategies" are set for a given unit, the PRTO section contains two items for that unit. One item has one of the AI strategies set, and the "unknown" field set to -1. The other item is identical to the first except that the AI strategy field contains the second value, and the "unknown" field contains the item number of the first item.
For example, if you look in the editor, you will see that F-15 has AI strategies of Air Bombard and Air Defense set. In the PRTO section, item 64 is the F-15 with AI strategy=Air Bombard and "unknown"= -1. Item 76 is F-15 with Ai strategy=Air Defense and "unknown"= 64 (the item number of the other F-15).
This seems a strange way to set up the file as the AI strategy is a bit mask that could have accommodated multiple strategies in one item. I haven't checked what happens if the other fields of the two items are not identical. I assume that the players units would always use the values from one of the items (perhaps the one with "unknown"= -1, but it is just possible that when the AI picks a unit based on a particular strategy, the unit has whatever stats are found in the PRTO item with that particular strategy set. Of course, the editor does not allow you to set different values to go with each strategy.
|
|
|  |
 |
|
Nero Would
|
|
quote: Originally posted by Gramphos
I'm not sure I get it... Is the size of the PRTO section changed for those units, or does it stay the same? |
The size of each PRTO item is the same, but there are 11 additional PRTO items. The 11 items are at the end of the section and each is an exact duplicate of one of the earlier items except that it has a different AI Strategy and the next-to-last Long field contains the item number of the earlier item (instead of -1). For example, there are now two separate and complete items for the F-15, item 64 and item 76. Item 64 has "-1" in the next-to-last field, and item 76 has "64" in the next-to-last field. When you look in the editor, you don't see the extra 11 items, but you do see the AI strategy from the extra item included in its companion item. For example, there is only one F-15 in the editor, but it has AI strategy of Air Defense (from item 76) and Air Bombardment (from item 64).
There seem to be some other changes in the PRTO item layout. Some additional bits are now set in the Air Missions field of some items, but they appear to have the same meaning as some of the bits in other fields. For example, if in the editor you turn off "Clear Jungle" for Workers, the editor turns off two bits, one is in the Orders field (the bit we have already identified as allowing the Clear Jungle order) and the other is in the Air Missions field. I assume Firaxis is in the process of moving the bits that control terraforming from the Orders field to the Air Missions field so as to free up space in the Orders field.
|
|
|  |
 |
|
Nero Would
|
|
Here is a description of the bits in the Air Missions field in the PRTO Section. The new bits are all duplcates of bits that exist in other fields (or, in the case of Precision bombing, in the same field!). I have indicated which field contains the other copy of each bit. In these cases, I have not determined which copy of the bit is actually used by the game. In most cases, the editor appears to maintain both copies of the bit. The only exception I have found so far is Terraform. When I use the editor to update the Workers terraforming orders, the editor clears the old Terraform bit in AI Strategy.
One more confusing aspect to this is that the BIC file I got when I applied the 1.21f patch was version 3.07, but as soon as I edit it, the version becomes 3.08.
4 long Air Missions (binary):
Meaning Duped from 00000000
Bomb .......1
Reconnaissance ......1.
Intercept .....1..
Re-base ....1...
Precision bombing ...1....
(unused) ..1.....
Bombard Orders .1......
Build road Orders 1.......
Build railroad Orders .......1
Build fort Orders ......1.
Build mine Orders .....1..
Irrigate Orders ....1...
Clear forest Orders ...1....
Clear jungle Orders ..1.....
Plant forest Orders .1......
Clear pollution Orders 1.......
Terraform AI Strategy .......1
Immobile Abilities ......1.
Precision bombing Air Missions .....1..
|
|
|  |
 |
|
Mercator
|
 |
Sorekara no Nanimo
Jan 1970 time: 06:15
|
|
quote: But if you say that I can edit your post I'll do that in the future. Another possibility is that I repost the thread next time there is a patch and closes this one, I think that is better, as your name otherwise would be left, and people could start wonering why I edited your posts, so next time I'll close this and post a new thread, where I control the first post.
If you have any objections, just tell me.
... or maybe you wnt me to do it now, as you haven't updated the thread yet. |
Do whatever you think is best, editing my initial posts is fine by me too.
Sorry for leaving you all alone. Thanks for taking over, Gramphos, and good luck in the future with "decoding" all of you. 
And if you post a new thread, you'd better make it the first 3 or 4 posts, especially if you want to make it look a bit prettier.
|
|
|  |
All times are GMT. The time now is 05:15. Apolyton Time is 00:15. |
top of page
|
|
|
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
|
|
|
|
|
|