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 > Civilization II > Scenario League / Civ2-Creation > SpriteGen Questions
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!
29.Jul: MOVING UP ON REVISED `TOP 100` INDEX
29.May: GAME MECHANICS REFERENCE BOOKLET
06.Mar: DROPPING FROM SECOND TO THIRD
CivGroups
Scenario League / Civ2-Creation (66): Not a Member - Join

bottom of page
  - CIVILIZATION 2 from $6.95 - CIVILIZATION 2 from $4.25 - CIV2: TEST OF TIME from $2.50 - CIV2: MULTIPLAYER GOLD EDITION from $4.99
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
Boco is offline Boco
Prince
who was once King for a week.
Jan 2001
time: 00:37
  Old Post 14-07-2005 02:16 Visit Boco's homepage!
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
SpriteGen Questions Browse Apolyton AD-FREE

Merc, SpriteGen is so-o-o-o-o close to the sine qua non utility for ToT. What would it take to make the following change?

Attachment: spritegenv2.gif
This has been downloaded 50 time(s).

Mercator is offline Mercator
King
Sorekara no Nanimo
Jan 1970
time: 06:37
  Old Post 14-07-2005 23:04 Visit Mercator's homepage!
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Support Apolyton buy from Amazon

I had a quick look at my code last night... Took me a while to figure out how it worked.
It should be pretty easy to add that. I'll see what I can do later tonight.

Oh wait... It shouldn't be too hard adding that different option anyway... I haven't looked hard enough at my code to see if being able to set the height lower than 64 will cause any problems.

Boco is offline Boco
Prince
who was once King for a week.
Jan 2001
time: 00:37
  Old Post 15-07-2005 01:31 Visit Boco's homepage!
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Support Apolyton buy from Amazon

ToT itself can handle shorter sprites. The few squat ones I used civsprite to make for EAv1 gave no problem...well, except for the fortress graphic. IIRC, that was only serious for heights under 40.

So, this means you'll have a final version in an hour or two?

Btw, if I'm being too obscure to nonCivSprite users, this change would allow you to change the default height of a ToT unit icon. Currently the height is set so that the unit key obscures a good chunck of the top third of the square above the unit. I'd like to experiment with adjusting icon heights so that the bar lies a few pixels above or below that.

Mercator is offline Mercator
King
Sorekara no Nanimo
Jan 1970
time: 06:37
  Old Post 15-07-2005 03:02 Visit Mercator's homepage!
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Support Apolyton, buy GURPS/ Alpha Centauri

quote:
Originally posted by Boco
ToT itself can handle shorter sprites. The few squat ones I used civsprite to make for EAv1 gave no problem...well, except for the fortress graphic. IIRC, that was only serious for heights under 40.


Yes, I know... But I'm not sure if my program can deal with them without needing any further modification. With shorter heights the unit will be cut short and I have to take some height off rather than add to it. That might need some extra work.

quote:
So, this means you'll have a final version in an hour or two?


Not bloody likely. You catch me at a rather inconvenient time. I'm busy with, um, all sorts of things (and that's not gonna change soon).

Boco is offline Boco
Prince
who was once King for a week.
Jan 2001
time: 00:37
  Old Post 15-07-2005 04:20 Visit Boco's homepage!
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Support Apolyton, buy GURPS/ Alpha Centauri

I might be catching up with you. Is the issue how you read each icon in units.bmp? Is it a nested loop based on pixel offsets? Reading from the top left going down, assuming a set height and width? If so, I can see how this is going to be a pain.

[Edit]Oh wait, you can still read a conventional file, but it's the writing that's tricky. I thinks it's safe to assume that the user designs the icons for the right height. If it's cropped because he didn't, then I guess he'll learn. Is it as straight forward as assigning the upper limit in a for/next to a variable?[/Edit]

Want any help? I didn't say that!

Mercator is offline Mercator
King
Sorekara no Nanimo
Jan 1970
time: 06:37
  Old Post 16-07-2005 04:45 Visit Mercator's homepage!
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Support Apolyton, buy Civilization III: Complete

Yes, you're right... The "input" will always be 64x64 icons...

I just had a look at my code again. I'll need to have another look when I have more time... Bitmaps store the image upside down so I also need to adjust for that, and all the flipping and going back and forth through arrays is making my head spin...

But yes, it'll probably only mean changing/adding 4 or 5 lines of code.

I can send you the source code if you want...

Boco is offline Boco
Prince
who was once King for a week.
Jan 2001
time: 00:37
  Old Post 16-07-2005 05:57 Visit Boco's homepage!
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Avatar Enlargement: We've got the solution

I don't want to impose, but that would be a big help. Multidimensional arrays are enough to make anyone's head spin.

N35t0r is offline N35t0r
King
( o Y o )
Jan 2000
time: 02:37
  Old Post 16-07-2005 12:47
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations

Ahh.. multidimensional arrays... the joy...

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:37.
Apolyton Time is 00:37.
    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.0361 seconds (87.65% PHP - 12.35% MySQL) with 36 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