This project aims to modify the original Dos Ultima IV to add additional content, via quests, locations and features. It will also avoiding altering the original quest content as much as possible, permitting the game to be completed in the original fashion, whilst still making the new content available. A few bug fixes of the original code will also be added.

Post news Report RSS Modifying Graphics

I went down a rabbit hole when I tried to add in custom sprites for the new 'hamlets' and 'crypts'

Posted by on

Modifying Graphics

Working away at the towns, I remembered I had wanted to have a custom, two hut sprite to represent ‘hamlets’, to differentiate them from the three hut ‘village’ sprite. I needed a break from making NPCs, so I thought I would quickly mod in a new sprite and be done with it. Foolishly I imagined that the making of the sprite would be the hard part. Boy was I wrong.

It turns out sprites can’t really be added, without first removing another sprite. There is a 255 sprite limit, short of doing some extensive coding to allow for more sprites, coding space which I just don’t have. So it seemed that my hope of having custom sprites for hamlets, crypts and oracles, and a handful of other things, was not to be.

However, I have found a way to do it, with minimal coding. What I have done is strip out the fourth ‘animation’ of each NPC sprite, leaving them with 3, and giving me more than two dozen freed-up slots for new sprites. It was a bit of a dodgy task, with a little bit too much room for bugs to have crept in. There is also the matter of the NPCs having slightly less animation. Which is a set-back from the original game. But I can now add in more than 2 dozen new sprites.

Should I do it… I am torn. The new sprites are cool, and together start to give the game a bit of an Ultima IV part 2 vibe. Somewhere between IV and V. It’s particularly evident on the new roofs of the towns and castles. But I am somewhat of a purist, and really had hoped to keep any graphical changes to the absolute minimum. Nevertheless, all the coding work required to get just one sprite in, seems to warrant including a few others, at least enough to warrant the coding work.

I’ll add screenshots here if I go any further with this.

Wait...these crenellations look familiar...

Wait...these crenellations look familiar...

So do these windows...

So do these windows...

Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: