Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Additional icons for quick transitions

A topic by xxxLEOPARDxxx created Apr 22, 2021 Views: 258 Replies: 4
Viewing posts 1 to 3

What option can be taken to increase the number of sushi icons. We are interested in icons for a quick transition.

We tried to do it according to the logic that is spelled out in the landinterface, but we could not make more than two rows.

Any ideas on how to add them? Or is it hardcoded in the engine?

I will try to say this in more clear language.

LEOPARD asked about Fast Travel (or Fast Reload) icons of LandInterface. How exactly more that 16 icons can be added (2 rows of 16 is current)?

When I tried to do it, I got an issue that 3rd and 4th rows couldn't be shown by game. Got the same when I was trying to prolong existing rows more.

(+1)

It is not hardcoded and it properly applies the settings from the scripts.  I doubled the rows in LandTarget_SLB and appended some random images in row 3 and 4, then tested with the following example and it worked properly:

objLandInterface.CommandTextures.list.t1.name = "battle_interface\LandTarget_SLB2.tga.tx";
objLandInterface.CommandTextures.list.t1.xsize = 16;
objLandInterface.CommandTextures.list.t1.ysize = 4;
If you are not seeing any of the images from the newly appended rows, you need to edit your scripts in either the fast_reload_table.c, and/or the part of the scripts that assign the texture/picture numbers:

objLandInterface.UserIcons.(fastLocName).pic = sti(curloc.pic)+16;
objLandInterface.UserIcons.(fastLocName).selpic = curloc.pic;
objLandInterface.UserIcons.(fastLocName).tex = 1+sti(curloc.tex);

Yes, it seems to work.

And here is the output of additional pictures in the spyglass. How to do it?

Those. we have prescribed upgrades for ships that can be installed at the shipyard. But we also want to display them for display in telescopes, as with skill icons and other icons at the bottom of the screen.

Attempts to repeat the analogue were unsuccessful.

There is no feature to display additional or different data with spyglass; it only supports the icons and data listed:

shipname,
shiptype,

fRelativeHP,
fRelativeSP,
nShipCrew,
fShipSpeed,
fSailTo,
nCurCannons,
nMaxCannons,
nCharge,
nNation,
nSailState,
nFace,
nFencingSkl,
nCannonSkl,
nAccuracySkl,
nNavigationSkl,
nBoardingSkl,
captainname,
facetexture,
nShipClass