[TOT] [ToTPP] onDrawTile custom graphics (preview v0.16)

KathleenArgent

Chieftain
Joined
Mar 7, 2018
Messages
11
Hi folks!

It's more something @TheNamelessOne should write himself, but since he's busy creating the new version of the Test of Time Patch Project, and he kindly allowed me to write something about what is coming up, I thought I could share something here which might be of considerable interest:

The next version of ToTPP, v0.16, will allow to draw arbitrary (bmp) images on top of the tiles of the Civ2 main screen.

I attached two screenshots where I played around with that - the graphics are terribly ugly of course, but I still find it very cool: I added an additional information table where one can assign tiles to a "territory". And if the neighboring tile is not of the same territory, then a border is drawn, in essence something similar to the Civ3+ cultural borders (at least if someone creates nicer looking graphics for that :) )
The setting of the information itself is currently simply bound to a "key pressed", but that can of course be freely set in a scenario lua.

The beauty of the thing is that one can use that for dozens of possibilities of course - you could draw the Great Wall on tiles, or some other wonder, or have multi-tile cities, or what not. And it is completely independent of the underlying terrain, so you can utilize the terrains themselves in whatever way you want and then add bmps on top of it.

Hope some of you find that interesting enough to read this here :lol:
Best, Kathy
 

Attachments

  • Screenshot_BeforeClaimOfTerritory.PNG
    Screenshot_BeforeClaimOfTerritory.PNG
    24.1 KB · Views: 322
  • Screenshot_AfterClaimOfTerritory.png
    Screenshot_AfterClaimOfTerritory.png
    24.2 KB · Views: 388
This all sounds very promising! :goodjob:

Can it be, that you have posted the wrong screenshot after claim of territory?
 
Hi!
For me it looks as intended - on the "after claim of territory" screenshot there's this ugly grey bounding box around the settler - that's my take on the territory boundaries :lol:
(it's 8 bitmaps drawn on top of each other actually, one for each of the directions)

EDIT: Correction, actually it's 7 bitmaps, since the west direction is the same territory, but anyway :)
 
Yes, I see now. :yup: I expected a city with a boundary around it - but nevertheless it´s an interesting progress.
 
I like this idea - I can see possibilities with mega cities and borders for sure...:)
 
Interesting! I look forward to this! :D

EDIT: Also, would it be possible to tell the game to treat a specific overlay as some pseudo-city territory tile? So, for example, once another tribe's units tresspass on that tile, the game recognizes the unit as being "within" a "city's" border. I think this'll add an extra dynamic to gameplay, for obvious reasons. :evil:
 
Last edited:
Back
Top Bottom