Customise Command Bar

Customise Command Bar

Discuss game development here, from a distinct game project to an accessible third-party mutator, down to the interaction and design of individual units if you like.

Moderator: Moderators

Post Reply
Von66341
Posts: 111
Joined: 10 Feb 2011, 03:00

Customise Command Bar

Post by Von66341 »

Hi hi!

Does anyone know if it is possible to change the default command for eg. 'ATTACK', 'MOVE' to images instead?
How should I go about it?

Thanks!
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: Customise Command Bar

Post by jK »

It's possible and many non-BA games already did/do so.
Von66341
Posts: 111
Joined: 10 Feb 2011, 03:00

Re: Customise Command Bar

Post by Von66341 »

yup! after much attempt and reserach I manage to customise the move button etc.

However, is it possible to remove the text 'MOVE' ? or 'STOP' etc?
Von66341
Posts: 111
Joined: 10 Feb 2011, 03:00

Re: Customise Command Bar

Post by Von66341 »

Using this command you could change the image.
Spring.EditUnitCmdDesc(u,cmdID, {name="", texture="file location",})
name="", so you remove the text and the image will be what at the file location.
Post Reply

Return to “Game Development”