 |
|  |
 |
|
jimmyh
|
|
Sunny Old England
Sep 2001 time: 05:18
|
|
Ok, heres the thrid update for my editor.
New features for this release are:
Option to import save games to view the map ( I've tested quite a few save games that I have and there should be no problems with importing the maps now), If you do get any crashes then could you please attach your save game and I'll fix it.
Units should be displayed on the map, ( although the Longbow Man does not display properly for some reason ).
You can move around the map with the cursor keys.
If you left click with the mouse button you'll get another window come up with the units name and nationality.
When you left click on a unit, keep the left mouse button pressed down and you can move the units around on the map.
Then when your done you can export you map.
I do have some other stuff that I was working on but it has not had a great deal of tesing, so it's been taken out for now.
This Utility has been writen/Tested on an AMD ATHLON 1800XP+ with 512mb and a G-Force2
Cheers.
James.
A special thanks to Gramphos for his endless help with the save game file format and to Moeniir(writer of FLICster) for his help with information on palettes in the FLC files.
Attachment: c3se.zip
This has been downloaded 4742 time(s).
Last edited by jimmyh on 08-04-2002 at 12:45
|
|
|  |
 |
|
Mizaq
|
|
San Diego
Nov 2001 time: 21:18
|
|
I don't understand why you aren't calling this by its name. Its a palette changer so call it that. False advertising.
What palettes need to have civ colors for the first 96 colors? Everything I have worked on (terrain, wonder splashes, menu screen, buttons, title screen, city view screen) all needed 1-3 colors at the end of the palette and possibly one at the beginning, but otherwise they could be anything.
|
|
|  |
 |
|
jimmyh
|
|
Sunny Old England
Sep 2001 time: 05:18
|
|
It will soon become a scenario editor...
Here's a quote from Moeniir(writer of FLICster) as I asked him about the palettes for units.
"The 256 colors that make up a Civ3UnitFlc's palette are not all equal. If you open a FLC in FLICster and go to Palette View, you will see the palette arranged in 16 rows of 16 colors each - the same way that the PaintShopPro palette editor shows the palette. The first 64 colors, or 4 rows, are civ-specific colors, and can change for each civ. Change the Civ Color in the drop down to see this. You should NEVER change the colors in the first 4 rows. Doing so shouldn't break anything, but the effort is futile, since Civ3 will replace the first 4 rows in your unit's palette with a set of Civ-Specific colors anyway.
The last 32 colors (last two rows) are also special - these are the Alpha Blending palette entries. Note that I called them palette entries, not colors. This is because the colors appearing in these positions are just place holders. Each palette position in this range specifies a certain level of Alpha Belending. The last position, which is normally magenta, is used to indicate full transparency. The other 15 colors in the last row form a transparency ramp, down to fully opaque black. These varying levels of transparency are used to create shadow effects. The 16 positions in the next-to-last line seem to form a ramp from transparent to fully opaque white, and are used to form smoke and haze effects. These palette entries are used in animations like BattleshipAttackA.flc to create the smoke from the big guns. Please note that the gray values I use when simulating alpha blending are my best guesses - I haven't been able to get any info about how the game ramps everything. Again, you should not edit these colors unless you know what you are doing.
The rest of the palette is yours to edit. Just be sure you NEVER perform an operation like Increase colors or Decrease colors - this will totaly screw up your palette. When creating your animation, remember that if you use any colors in the first 4 rows, they will be subject to change with each civ, and if you use any colors in the last two rows, you will get shadow or haze in game."
James.
|
|
|  |
 |
|
Mizaq
|
|
San Diego
Nov 2001 time: 21:18
|
|
oh alright, it is for unit editing. A palette utility that help with unit graphic editing is a far cry from a scenario editor.
|
|
|  |
 |
|
abcman
|
|
Finland
Nov 2001 time: 05:18
|
|
Hmm. Are you really sure the editor works as it should?
Maybe it's just me that can't use it.
First I loaded my 16 million color picture. Then I resaved it as a PCX file and changed the number of colors to 160.
Then I used your program on it.
But when I opened the picture the colors were all messed up.
It seems like even though the colors had been moven "forward" on the palette list 4 rows the picture was still using the same palette "numbers". (like where it used palette entry 76 it still uses palette entry 76.)
So let's say I had a gray color on number 76. And 4 rows before on the same place (about number 12) I had green.
Then the place which actually should be grey was green.
|
|
|  |
 |
|
jimmyh
|
|
Sunny Old England
Sep 2001 time: 05:18
|
|
It won't rearange the image so that it uses the correct index, you'll need to save out the palette in Paint Shop Pro and then load in back in to your original image(the 256 image before you used my editor) and that should rearrange it properly. I will put in functionality so that it arranges the colours in the image also.
James.
|
|
|  |
 |
|
abcman
|
|
Finland
Nov 2001 time: 05:18
|
|
Sorry. I've read what you wrote several times, but I don't really understand what you mean... Could you explain it again?
Like, should I first change the number of colors to 256, and then save the palette as a file? And then...??
|
|
|  |
 |
|
abcman
|
|
Finland
Nov 2001 time: 05:18
|
|
Please remember to answer my question. Thanks. :-)
|
|
|  |
 |
|
jimmyh
|
|
Sunny Old England
Sep 2001 time: 05:18
|
|
Ok, let's try and make this as painless as possible.
Let's say you have your image which was taken from another game, reduce it to 256 colours ( I take it you are using Paint Shop Pro ), now save this out as a PCX file, call it mypcx.pcx.
Now load up my editor and select the save palette option, select the PCX file which you have just saved out(mypcx.pcx), choice a civ colour to go with it and press OK. Close the editor.
James.
Last edited by jimmyh on 02-04-2002 at 00:05
|
|
|  |
 |
|  |
 |
|
jimmyh
|
|
Sunny Old England
Sep 2001 time: 05:18
|
|
quote: Originally posted by heardie
Aghhh, doesn't work for me
It freezes my mouse. Then when I try and open a save file I get an illegal operation.
Using a AMD K-6 400 with 196mg ram, 32mgbit Video card |
Actually if you could attach the save game file you are trying to load and I'll have a look to see what the problem is.
I know there is one problem when loading, but it doesn't happen all of the time, I think it could be a memory leak some where, will be giving it a good going over this weekend.
Also being able to move units around on the map will be in on the next version.
Cheers.
James.
Last edited by jimmyh on 04-04-2002 at 12:43
|
|
|  |
 |
|
jimmyh
|
|
Sunny Old England
Sep 2001 time: 05:18
|
|
I've attached a screen shot of the next release, as you can see the maps been imported along with the units ( which you can move around the map ), that's pretty much it for this release apart from the other stuff you can see.
I may release this in about 6 hours, it depends on how things go, if not then it'll be some time tomorrow.
Cheers.
James.
Attachment: scrnshot.jpg
This has been downloaded 3252 time(s).
|
|
|  |
 |
|
jimmyh
|
|
Sunny Old England
Sep 2001 time: 05:18
|
|
Hi,
Could you please post the save game you are trying to load and I'll have a look at it for you.
Nice to see you are back gramphos, since people only post when some thing is wrong, could any one tell me if they are actually getting it to work.
Cheers.
James.
|
|
|  |
 |
|
PerpetualNewbie
|
|
I got the same thing as Gwydion62. Just a black screen with a brown box.
Attachment: 4000.zip
This has been downloaded 16 time(s).
|
|
|  |
 |
|
jimmyh
|
|
Sunny Old England
Sep 2001 time: 05:18
|
|
quote: Originally posted by PerpetualNewbie
I got the same thing as Gwydion62. Just a black screen with a brown box. |
Ok, I've downloaded you save file and there's nothing wrong with it, since your getting no visuals at all, I'm guessing that the civ3 graphics are not being loaded, so I've uploaded a new version which will write some debug info out to a file called debug.log.
So if any one has any problems then please could you post file also.
And just to take a guess at the black screen problem, at the moment you need to run you windows desktop at 32 bit, otherwise the pcx files won't be loaded.
When people post their problems, could you post the save file, the debug.log and give your machine specs.
Cheers.
James.
|
|
|  |
 |
|
PerpetualNewbie
|
|
OK. Changing to 32-bit made it display, sort of. Water looked fine, but all the land tiles I saw had the bottom half covered by a magenta triangle, coastal tiles had just the bottom quarter magenta, the quadrant determined by which side of the tile was land.
As it was loading, I noticed the first time the graphics loaded, the bar went all the way across, the second time, it only went about 1/4 of the way up, and then went straight to the display.
I left-clicked on the first unit I encountered and it crashed. Here was the windows Details stuff, if it helps:
-----
C3SE caused an invalid page fault in
module C3SE.EXE at 0137:00401034.
Registers:
EAX=027e2d80 CS=0137 EIP=00401034 EFLGS=00010246
EBX=0067f3b6 SS=013f ESP=0067f328 EBP=0067f384
ECX=00000000 DS=013f ESI=000083da FS=3b5f
EDX=00000000 ES=013f EDI=0067f36c GS=3eff
Bytes at CS:EIP:
8b 54 d1 08 8b 08 52 8b 14 8d b0 6f 41 00 0f be
Stack dump:
00000000 81e0abd8 16af8000 2bdc0000 3cdc8358 834c177f 843a3eff 00833eff 2bdc16af 00050003 005c0003 004c0000 3f6f8368 16af1797 00032bdc 0003000f
-----
My machine at the office is awfully old, and that might be the problem. (P2-300, 64 megs)
|
|
|  |
All times are GMT. The time now is 05:18. Apolyton Time is 00:18. |
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
|
|
|
|
|
|