 |
|  |
 |
|
Peter Triggs
|
|
Gone Fishin, Canada
Jan 2000 time: 05:32
|
|
Tamerlin,
You don't need to worry about those, they're SLIC names not file names.
BUT, I've converted SAP to a scenario and have been playing it with the debug exe. You might as well scrap a lot of the SLIC. As Martin remarked to John:
quote:
quote:
Originally posted by J bytheway
Well, we should be fixing the source code so that all correctly-written SLIC will work with DebugSlic=Yes, so either way it would help .
|
The problem here is that most code is not written correctly,
|
If you play with DebugSlic=Yes, you get a lot of SLIC errors and it's quite obvious that the code that follows them hasn't ever been doing anything. I can't see any point in keeping it.
|
|
|  |
 |
|
J Bytheway
|
 |
England
Jul 2001 time: 05:32
|
|
quote: Originally posted by Solver
John, which SLIC function is the missing one? |
GetMostAtRiskCity (but I don't know if it was ever used).
Last edited by J Bytheway on 12-04-2004 at 17:25
|
|
|  |
 |
|
Solver
|
|
Apolyton Duke Of Something
|
 |
Latvia, Riga
Sep 2000 time: 07:32
|
|
OK, and an issue with diplomacy photos.
I have a CTD when trying to diplomacy with some civs, with an error that leadername.tga can't be found. I've gotten that for Byzantines with constantine.tga, and Swedes with gustavusadolphus.tga . Yet, for some other civs, it works. How come? I checked the pic555.zfs and pic565.zfs, they have no such files, the diplomacy photos there are named differently, apparently.
I assume somehow paths need to be modified,or something.
Also, how about a potential addition of a function that, if a game can't find a targa file, it just replaces it with some standard file instead of crashing?
|
|
|  |
 |
|
Martin Gühmann
|
 |
Berlin, Germany
Mar 2001 time: 06:32
|
|
quote: Originally posted by Solver
Here it is, the third and the last are unreadable. Yes, it's GIF, under JPEG, the colors were made darker and readable. I know that colors are easily changed, but this is just my input for consideration of defaut colors. |
Well I just found one GIF, the problem with the colors is that if you remove yellow and that green then a collor would be missing in the color pallete, that was always the problem with the original colors all so dark, and no real bright color. So I prefer a background slolution here.
quote: Originally posted by Solver
Also: prior to loading this saved game, I started a new game selecting my color as red. When I loaded this, my civ appeared as red - is this supposed to be the case? |
If you started the same game with red then you should continue it after a reload with red. If you started in between another game with another player then you should continue that game with the same player, and the game that you started with red (player 1) with player 1.
quote: Originally posted by Solver
I have a CTD when trying to diplomacy with some civs, with an error that leadername.tga can't be found. I've gotten that for Byzantines with constantine.tga, and Swedes with gustavusadolphus.tga . Yet, for some other civs, it works. How come? I checked the pic555.zfs and pic565.zfs, they have no such files, the diplomacy photos there are named differently, apparently. |
I think you should find these diplomacy photos in the CTP1 section of the directory somewhere otherwise, use a small dummy picture and copy and rename the copies to fit the missing names.
-Martin
|
|
|  |
 |
|
Martin Gühmann
|
 |
Berlin, Germany
Mar 2001 time: 06:32
|
|
quote: Originally posted by Peter Triggs
If you play with DebugSlic=Yes, you get a lot of SLIC errors and it's quite obvious that the code that follows them hasn't ever been doing anything. I can't see any point in keeping it. |
It aslso depends on what kind of slic errors, some of them are caused , because the code does not work as intended, that is also a problem of existing code, I tried to get the Stacked function to work, to save me the Is-The-Size-Of-The-First-Army-Euqal-To-The-Number-Of-Units-On-That-Tile check. In fact using the Stacked function is correct Slic but nevertheless it doesn't work. And the noname errors could come from using local functions without copiing the input variables to local variables. And we have the built in arrays if you fill them yourself, they can lose their value after you used read access on them. Everything correct slic but again doesn't work as expected. So in GoodMod I added a lot of valid checks to make sure that the slic errors doesn't occur, but one kind of slic errors we never notice is the devide by zero error, well in that case 0 is returned, but noone got an slic error about, so at least I know suchan error from some borrowed WAW code in GoodMod.
So the question is is the problem caused by errors in the slic code itsself or by errors in the underlying c++ code. In the first place it is non working code at all in the second place it is code that should work but doesn't work.
-Martin
|
|
|  |
 |
|
Martin Gühmann
|
 |
Berlin, Germany
Mar 2001 time: 06:32
|
|
quote: Originally posted by Solver
OK, here's the story, of what I did. Start a new game, as red. Load up a saved game from SAP - see myself as red. Quit CtP2. Load CtP2 again. Start a new game as blue. Load up the same save from SAP - see myself as red. |
That is as it is intended, otherwise the stuff wouldn't be on the new SP players screen. Actual first it says that you set the start player and then it says that this determines your color, color is bind to player, so if you change the color in an existing game this way you have to change the player, for instance you started with the Incas and then you continue with the Germans , because they have a different color. As far as I know there is no other game that binds the color to players that allows you such an behaviour, once you started the game to change the player. Of course you can modify the colors00.txt, by the way there are some alternatives of Locutus Flinx and myself based on a colorset by Locutus, actual I wasn't happy with all of them, so many bright colors, and I didn't like the order.
quote: Originally posted by Solver
At any rate, can you point me to the the location where the paths and names of files for these pictures are stored, for the game to know where to look? |
The game looks in ..\ctp2_data\default\graphics\pictures\ folder for all this pictures wheather they are in the pic565.zfs as *.rim's stored or as *.tga's outside of an archieve in that directory. The leader pictures themselves are contained in Harlan's Graphic Mod 1.0.
-Martin
|
|
|  |
 |
|
Solver
|
|
Apolyton Duke Of Something
|
 |
Latvia, Riga
Sep 2000 time: 07:32
|
|
OK, I loaded a savegame started under Activision-compiled, patched CtP2 running SAP2. Here are the observations.
Everything seems to be working perfectly. The AI is functioning as expected, in a pretty clever fashion, so it's using its SLIC. All the nice interface tweaks work, and the bugs are fixed as mentioned in the fixlist. Two issues I noticed:
Mouse wheel doesn't work in the save game dialog, like to scroll a list of savegame folders - it scrolls the map beneath, instead.
Manager, diplomacy and other screens still don't start in center of the screen, though I don't think that was implemented.
Very good work on the game - I'm glad to finally see mods working with Platyest build .
|
|
|  |
 |
|
Solver
|
|
Apolyton Duke Of Something
|
 |
Latvia, Riga
Sep 2000 time: 07:32
|
|
Well, just remembered that Morrowind uses that... if there's a graphical elements missing, it shows a yellow pyramid. So if you design a new character and mess up the head part, you don't get a headless character, but one with a yellow pyramid for head.
BTW, downloaded Harlan's mod, obviously, and noticed interesting effects. Apparently, some of the diplo pics are in zfs, some are not - and, well, the ones that were not are taken from Harlan's mod, which I unzipped, but those are again bigger than the little icons they're supposed to be - easily fixed, of course, just a notice.
|
|
|  |
 |
|
Peter Triggs
|
|
Gone Fishin, Canada
Jan 2000 time: 05:32
|
|
I'm getting a lot of bugs with the debug exe. Solver, if you (or anyone else) is playing with DebugSlic=No, could you change it to Yes. It's the only way we'll properly debug things.
Tamerlin,
You have to edit APOL_const.txt like this:
quote:
RIOT_LEVEL 73
MAX_MATCH_LIST_CYCLES 10 # Amount of AI match list cycles
POWER_POINTS_TO_MATERIALS 1 # 1 power point can be converted to x materials
|
Last edited by Peter Triggs on 13-04-2004 at 20:12
|
|
|  |
 |
|
Martin Gühmann
|
 |
Berlin, Germany
Mar 2001 time: 06:32
|
|
quote: Originally posted by Solver
Yeap John, that's a good solution, but also, the beauty of this build is that it works with ModSwapper fully - if you add that single line manually to the file. |
If you just add that single line you get the game running, but you don't get trade routes work properly. With this setup they don't follow roads, railroads or maglevs, and you always need for the wohle game a lot of caravans to establish trade routes, because you can't decrease the distances and therefore you can't decrease the number of Caravans needed.
quote: Originally posted by Peter Triggs
I'm getting a lot of bugs with the debug exe. Solver, if you (or anyone else) is playing with DebugSlic=No, could you change it to Yes. It's the only way we'll properly debug things. |
I recommend not to use ApolytonPack alone while playing in DebugSlic=Yes, even with Activision's original patch it throws a lot of slic errors. I gave my best to remove them all in GoodMod, but actual I just catched them by checking the validity of units cities and armies.
But of course beside the errors I catched, there might be now more, because of the added validity checks in the source code.
|
|
|  |
 |
|
Solver
|
|
Apolyton Duke Of Something
|
 |
Latvia, Riga
Sep 2000 time: 07:32
|
|
quote: If you just add that single line you get the game running, but you don't get trade routes work properly. With this setup they don't follow roads, railroads or maglevs, and you always need for the wohle game a lot of caravans to establish trade routes, because you can't decrease the distances and therefore you can't decrease the number of Caravans needed.
|
Trade routes are supposed to follow roads now? OK, I'll go and do it with the new mod utility for my next session...
One bug, BTW - if I get a diplomacy proposal, something's definitely wrong there. I get either their proposal, but on the left it says "The xx have ACCEPTED our proposal" (rather than say that we got a proposal), and I only have the OK button instead of accept & reject. Or, it says that they REJECTED proposal, I get the OK and Threat buttons - again, this happens when THEY send me a proposal.
|
|
|  |
 |
|  |
All times are GMT. The time now is 05:32. Apolyton Time is 00:32. |
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
|
|
|
|
|
|