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 > Call To Power II > CtP2-Creation/AI/Mods/Scenarios > Sprite Editor
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 (8): [ <<   3   4   5   6   7   8   ]
< Last Thread     Next Thread > Post New Thread     Post A Reply
stankarp is offline stankarp
Prince
australia
Feb 2002
time: 05:30
  Old Post 06-08-2004 03:35
Edit/Delete Message Reply w/Quote
#151 Report this post to a moderator
Remove this text

Line show up in game and only started happening since I started runing makepsr in XP. I did not have lines and shadows when using win 98.

BTW Martin, not having your ctp 2 installed and not opened in recent times could be an offence:-)))))

Martin the Dane is offline Martin the Dane
Prince
Aarhus, Denmark
Feb 2000
time: 06:30
  Old Post 10-08-2004 17:09 Visit Martin the Dane's homepage!
Edit/Delete Message Reply w/Quote
#152 Report this post to a moderator
Support Apolyton, buy Civilization III: Complete

quote:
Originally posted by stankarp
BTW Martin, not having your ctp 2 installed and not opened in recent times could be an offence:-)))))

It turned out that I did have it installed (and still do), but I'm guilty as charged with regard to playing the game.

But back to the subject.

I have implemented half the tga-import routine for combined images. There is still some work to do before it will be useful though, as it is now I can change the images of single frames, as long as the image-size is correct that is.

This brings a question, witch of the three image systems do you artists prefer?

  1. One image per frame. Shadow is a distinct color, and mask is placed in the alpha channel.
  2. Two images per frame. Shadow in separate image, mask is placed in alpha channel of pix-image.
  3. Three images per frame. Pixel, shadow, and mask in separate images.
I will implement all three, but unless I get to many protests I’ll do it in the same order as listed above.

E is offline E
King
July 24,2005 Ctp2 Tiles in sig!
May 1999
time: 21:30
  Old Post 10-08-2004 21:15 Visit E's homepage!
Edit/Delete Message Reply w/Quote
#153 Report this post to a moderator
Support Apolyton or Terrorists Win

Martin! great to see you back in action. I hope work is lightening up (but not the pay)

I'd prefer one image where you can set the shadow color etc to allow easier conversion of flics. And also an easier way to create units. Multiple frames slows down the process from my stand point. So I hope this is in your first build for me to test!

I saw you "correct size" comment. I do hope that TGAs of different sizes will be supported (again making conversions faster and creating stuff easier)


THANK YOU FOR YOUR WORK!!!!!

Martin the Dane is offline Martin the Dane
Prince
Aarhus, Denmark
Feb 2000
time: 06:30
  Old Post 10-08-2004 22:53 Visit Martin the Dane's homepage!
Edit/Delete Message Reply w/Quote
#154 Report this post to a moderator
Enter the AD-FREE zone

quote:
I saw you "correct size" comment. I do hope that TGAs of different sizes will be supported (again making conversions faster and creating stuff easier)
That's partly what I mean by "still some work to do before it will be useful though" Another important thing is that I have not made the half-size sprite conversion yet. And the interface... well it's utilitarian at the most. No explanations very little functionality.

E is offline E
King
July 24,2005 Ctp2 Tiles in sig!
May 1999
time: 21:30
  Old Post 12-08-2004 00:07 Visit E's homepage!
Edit/Delete Message Reply w/Quote
#155 Report this post to a moderator
Support Apolyton, buy Call to Power 2

sounds great Martin. I'll be willing to test it out and help with any help text or a how-to readme if I can (but probably not until late october when I get my home computer out of storage)

E is offline E
King
July 24,2005 Ctp2 Tiles in sig!
May 1999
time: 21:30
  Old Post 28-08-2004 01:27 Visit E's homepage!
Edit/Delete Message Reply w/Quote
#156 Report this post to a moderator
Support Apolyton or Terrorists Win

not sure if I whined about this already, and its a low priority, but how difficult would it be to later allow all eight directions instead of just 5?

Martin the Dane is offline Martin the Dane
Prince
Aarhus, Denmark
Feb 2000
time: 06:30
  Old Post 28-08-2004 05:52 Visit Martin the Dane's homepage!
Edit/Delete Message Reply w/Quote
#157 Report this post to a moderator
Lose 30 kilos (of popups)

quote:
Originally posted by E
not sure if I whined about this already, and its a low priority, but how difficult would it be to later allow all eight directions instead of just 5?
Well, only the five directions are stored in the file, so I don't think it will be possible to add the last three, at least not without changes to the code in the game. We'll have to ask the code people about that.

E is offline E
King
July 24,2005 Ctp2 Tiles in sig!
May 1999
time: 21:30
  Old Post 29-08-2004 00:14 Visit E's homepage!
Edit/Delete Message Reply w/Quote
#158 Report this post to a moderator
Support Apolyton, buy Civilization 2

thanks Martin. I hope progress is going well

E is offline E
King
July 24,2005 Ctp2 Tiles in sig!
May 1999
time: 21:30
  Old Post 21-09-2004 01:54 Visit E's homepage!
Edit/Delete Message Reply w/Quote
#159 Report this post to a moderator
Support Apolyton buy from Amazon

Martin
out of curiousity how are you going to handle the alpha-transparency? are you setting up some function that selects all of the back ground color to black and everything else to white or do you have some other magic planned?

Martin the Dane is offline Martin the Dane
Prince
Aarhus, Denmark
Feb 2000
time: 06:30
  Old Post 21-09-2004 09:02 Visit Martin the Dane's homepage!
Edit/Delete Message Reply w/Quote
#160 Report this post to a moderator
Browse Apolyton AD-FREE

The short answer is yes.

The slightly longer answer is: That depends on the images used for imput.
Each pixel is a sprite has a transparency value in the range 0 to 255 (0=background and 255 is opaque)


  1. If the image has an 8-bit alpha chanel, I use the value here.
  2. If there is a seperate mask-image, I convert the colors in this image to the range 0 to 255.
  3. IF there is neighter an alpha-chaenl or a mask image I use a flat model. Transparent or opaque.

E is offline E
King
July 24,2005 Ctp2 Tiles in sig!
May 1999
time: 21:30
  Old Post 19-10-2004 00:16 Visit E's homepage!
Edit/Delete Message Reply w/Quote
#161 Report this post to a moderator
Lose 30 kilos (of popups)

Martin,
how goes the sprite editor? if you have something that loads singleimage frames I'll be happy to test it out

E is offline E
King
July 24,2005 Ctp2 Tiles in sig!
May 1999
time: 21:30
  Old Post 09-12-2004 21:37 Visit E's homepage!
Edit/Delete Message Reply w/Quote
#162 Report this post to a moderator
Got spare money?

Martin, I hope all goes well and the holidays give you time to put a new beta out

Martin the Dane is offline Martin the Dane
Prince
Aarhus, Denmark
Feb 2000
time: 06:30
  Old Post 12-12-2004 04:21 Visit Martin the Dane's homepage!
Edit/Delete Message Reply w/Quote
#163 Report this post to a moderator
Remove this text

Hi E

I have been working some on SpriteEdit this week, but have run into a problem that I can't seem to locate. It seems that SpriteEdit will save the edited spritefile correctly, if it contains more than one frame, but for some reason it miscalculates the size of a data-block (by 4 bytes) when the sprite contains only one frame, so now I'm going to let it rest a day or two and se if some rest, and maybee a swim in the sea, will bring some unexpected insight.

E is offline E
King
July 24,2005 Ctp2 Tiles in sig!
May 1999
time: 21:30
  Old Post 12-12-2004 07:39 Visit E's homepage!
Edit/Delete Message Reply w/Quote
#164 Report this post to a moderator
Browse Apolyton AD-FREE

Thanks Martin! I guess as a work around we make all sprites have two frames (if your swim doesnt yield any insight)!

THANK YOU FOR YOUR GREAT WORK!

E is offline E
King
July 24,2005 Ctp2 Tiles in sig!
May 1999
time: 21:30
  Old Post 16-12-2004 02:32 Visit E's homepage!
Edit/Delete Message Reply w/Quote
#165 Report this post to a moderator
Avatar Enlargement: We've got the solution

Martin,

If your current build is working (except for single frame sprites) any chance you can post it. I have a week off coming up and would like to use the time to start converting some Civ3 Units...I could wait for full functionality later.

Thanks

Martin the Dane is offline Martin the Dane
Prince
Aarhus, Denmark
Feb 2000
time: 06:30
  Old Post 16-12-2004 02:36 Visit Martin the Dane's homepage!
Edit/Delete Message Reply w/Quote
#166 Report this post to a moderator
Remove this text

I found the error, and corrected it, but alas! My troubles were just beginning. It seems I have been maintaining several different versions of the tga-import routeen and calling different versions from different parts of SpritEedit. Nedless to say this resulted in some quite wierd behavior, to say the least, and made debugging near impossible. So now I have started som major "housecleaning" of the code. (btw. where is that floor-sweeping smilie?)
This progresses quite well, witch makes me a little nervouse (One of Murphy's laws of programing says: If a program compiles on the first try, there is somthing fundamentally wrong with the code)

Martin the Dane is offline Martin the Dane
Prince
Aarhus, Denmark
Feb 2000
time: 06:30
  Old Post 16-12-2004 03:02 Visit Martin the Dane's homepage!
Edit/Delete Message Reply w/Quote
#167 Report this post to a moderator
Support Apolyton, buy Call to Power 2

Well, my current build does not work as intended. There are quite a few serious problems. You can't add or remove frames from the sprites. You can only change the graphics, and as you can se from my previous post, this is quite buggy. I have errors ranging from unexpected crashes to errors in the imported graphics. I'll se what I can do this week and week-end, but I don't expect to get much coding done from next week to mid Januarry.

Martin the Dane is offline Martin the Dane
Prince
Aarhus, Denmark
Feb 2000
time: 06:30
  Old Post 29-12-2004 17:16 Visit Martin the Dane's homepage!
Edit/Delete Message Reply w/Quote
#168 Report this post to a moderator
Support Apolyton, buy Civilization: The Boardgame

An update and a question.

First I have fianly finished the "housecleaning" of my code, and have completed the tga-import functions, so it is now possible to change, add, and remove frames, for now this only works correctly for uni-directional animations (Idle, Wictory/Death, and Effects).

This brings me to the question. As I se it there are two ways of handling penta-directional animations (Move, Attack, and Work). Theses require the same number of frames for each headding, so building each headding individually will requre too much error-handling in TileEdit.

The first possible way of handling this is that when a frame is added to one of the headdings, blank frames for each of the other. These blank frames can then be eddited later. (here I would limit the ability to add frames to the first headding).

The second option is that the "OK"-button on the add/insert screen will not be available untill all five frames have been filled with graphics of the correct size.

Personally I'd prefer the first option, first becaus I find this to be the most logical approach, secondly becaus it seems to be the easiest to program. But since I'm probably not going to make many sprites, I'll program whatever you guys find the most logical.

I'll post a new build later today.

E is offline E
King
July 24,2005 Ctp2 Tiles in sig!
May 1999
time: 21:30
  Old Post 29-12-2004 21:48 Visit E's homepage!
Edit/Delete Message Reply w/Quote
#169 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations

Thanks Martin! I'd say go with what is easier for you as this will speed a release I guess just adding the details to your approach to the readme will be enough too. I think the first is best anyways...

The Big Mc is offline The Big Mc
King
Of the universe / England
Oct 2001
time: 05:30
  Old Post 29-12-2004 23:19 Visit The Big Mc's homepage!
Edit/Delete Message Reply w/Quote
#170 Report this post to a moderator
Increase the size of your Attachments

Martin just put the image you just imported into the other sections. This allows the maker to import it into ctp and test the directional animation. If it was left as a blank tga and the person starts importing on the south facing this could meaning the spr vanishes in ctp.

Martin the Dane is offline Martin the Dane
Prince
Aarhus, Denmark
Feb 2000
time: 06:30
  Old Post 30-12-2004 00:06 Visit Martin the Dane's homepage!
Edit/Delete Message Reply w/Quote
#171 Report this post to a moderator
Support Apolyton

You have a point there Mc. I'll do that. And thanks fo the feedback, to both of you.

Martin the Dane is offline Martin the Dane
Prince
Aarhus, Denmark
Feb 2000
time: 06:30
  Old Post 30-12-2004 03:37 Visit Martin the Dane's homepage!
Edit/Delete Message Reply w/Quote
#172 Report this post to a moderator
Full PM-box? Change here!

Ok, made it.

I have now implemented Add, Remove, Insert, and Edit Sprite Frame. This is verry much beta, so please report any odd behaviour. Note that it is not possible create sprites from scratch, (thats next on my list) for now you'll have to open a sprite of the desired type, with the desired animations, and start from there.

Just grab Build 10 from my sig.

E is offline E
King
July 24,2005 Ctp2 Tiles in sig!
May 1999
time: 21:30
  Old Post 30-12-2004 06:45 Visit E's homepage!
Edit/Delete Message Reply w/Quote
#173 Report this post to a moderator
Support Apolyton buy from Amazon

quote:
Originally posted by Martin the Dane
Ok, made it.

I have now implemented Add, Remove, Insert, and Edit Sprite Frame. This is verry much beta, so please report any odd behaviour. Note that it is not possible create sprites from scratch, (thats next on my list) for now you'll have to open a sprite of the desired type, with the desired animations, and start from there.

Just grab Build 10 from my sig.


I'm assuming you mean the different types ofanimations (move, attack, etc).

I'll give it a whirl thanks!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

E is offline E
King
July 24,2005 Ctp2 Tiles in sig!
May 1999
time: 21:30
  Old Post 30-12-2004 08:54 Visit E's homepage!
Edit/Delete Message Reply w/Quote
#174 Report this post to a moderator
Enter the AD-FREE zone

Martin,

I think I found a problem...

Ok I saved the GU02.spr (settler) as Settler.spr into a separate folder. I then exported the move animations of the Civ3 settler and converted them to Uncompressed 24bit TGAs. I then INSERTED the north graphics and saw that it changed all directions to be North facing (like you said it would, and big MC requested). I then went to edit the northeast frames andother directions and from time to time I found it editing the North direction only and not the other directions. maybe its me trying to get a hang on the new features but maybe bigmc ran into it too?

The Big Mc is offline The Big Mc
King
Of the universe / England
Oct 2001
time: 05:30
  Old Post 30-12-2004 15:59 Visit The Big Mc's homepage!
Edit/Delete Message Reply w/Quote
#175 Report this post to a moderator
Support Apolyton buy from Amazon

big mc has not downloaded it yet

Martin the Dane is offline Martin the Dane
Prince
Aarhus, Denmark
Feb 2000
time: 06:30
  Old Post 30-12-2004 16:15 Visit Martin the Dane's homepage!
Edit/Delete Message Reply w/Quote
#176 Report this post to a moderator
Browse Apolyton AD-FREE

I can't believe I forgot to check that!!! Standing under the shower this morning I started thinking of the latest build of SpriteEdit, and realized I couldn't remember whether or not I checked if editing a frame edited the correct heading. Apparently I did not.

Fortunately the fix was very simple, so now it should be fixed. Just grab Build 11 via my sig.

E is offline E
King
July 24,2005 Ctp2 Tiles in sig!
May 1999
time: 21:30
  Old Post 31-12-2004 07:22 Visit E's homepage!
Edit/Delete Message Reply w/Quote
#177 Report this post to a moderator
Support Apolyton, pre-order Civilization IV

Thanks Martin!

I tried it again. So far so good. I havent finished my first sprite yet but I think its working fine.

Are you going to add other features like short cut keys? they helped in tileedit. Atleast make a short cut key for editing frames that's probably used the most.

great work, it makes sprite editing much easier...this deserves a news item.

E is offline E
King
July 24,2005 Ctp2 Tiles in sig!
May 1999
time: 21:30
  Old Post 31-12-2004 11:59 Visit E's homepage!
Edit/Delete Message Reply w/Quote
#178 Report this post to a moderator
Support Apolyton, buy Alpha Centauri

Sorry Martin but I think I found a problem. I made my first sprite.

I edited the GU02 sprite of the cradle settler and used the civ3 settler. I exported the files from flicster (pcx format) then batch converted them using PSP 7 into 24bit uncompressed TGAs. Then frame by frane I added each one into the sprite. I did delete one "row" or set of directions (9 instad of ten) for the moves. and added a bunch in the death.

I started a new game. game started fine and the idlle worked (I didnt add or delete frames there) but when I tried to move the game crashed. Also when I went to "kill" the unit, it just disappeared with no animation. this is a uni-directional death and I added frames.

So I think it has to do with deleting frames.

Here's the sprite (I renamed the file to replace the ctp2 standard settler so I could see it on start up so mine is GU002)

Attachment: settler-test.zip
This has been downloaded 2 time(s).

Last edited by E on 31-12-2004 at 12:04

The Big Mc is offline The Big Mc
King
Of the universe / England
Oct 2001
time: 05:30
  Old Post 31-12-2004 16:09 Visit The Big Mc's homepage!
Edit/Delete Message Reply w/Quote
#179 Report this post to a moderator
Put an end to popups!

I think I know why e sprite failed to work.

Examining his sprite I found that there was pure black on the first image. When pure black is in a sprit ctp does a fit and crashes however I don’t know if pure black was put in on the original image or when it was imported into sprit edit.

Martin the Dane is offline Martin the Dane
Prince
Aarhus, Denmark
Feb 2000
time: 06:30
  Old Post 31-12-2004 17:06 Visit Martin the Dane's homepage!
Edit/Delete Message Reply w/Quote
#180 Report this post to a moderator
Get a bigger avatar today!

Thank's for the feedback.

I'll look into the black pixels issue some time next year. The rest of this year (all 11 hours of it) will be occupied by RL issues.

 
Pages (8): [ <<   3   4   5   6   7   8   ]
< Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:30.
Apolyton Time is 00:30.
    top of page
Rate This Thread:
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.0605 seconds (93.27% PHP - 6.73% MySQL) with 30 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