Create account / Log in

Adding Non-Editable Labels to Counters?

Topics related to the main Vassal engine.

Moderators: Tim M, uckelman

Adding Non-Editable Labels to Counters?

Postby MechaMaestro » April 2nd, 2016, 4:16 pm

I'm working on making a module for Minden Games' Poor Bloody Infantry, and I want to make it so that when a soldier is wounded or killed, the player can right click on the counter and add a label that says wounded or killed onto the counter. The only way I've been able to do this is to add two text labels, but they are editable fields, and I don't want them to do that, I just want the text Wounded or Killed to appear on the marker. Does anyone know what to do, or at least point me to the right part of the manual because I can't seem to find it in there.
MechaMaestro
 
Posts: 1
Joined: March 6th, 2013, 9:42 pm

Re: Adding Non-Editable Labels to Counters?

Postby Tim M » April 2nd, 2016, 5:50 pm

Use a transparent image of the text from your favorite graphics editor instead and use layers to control the images
Tim,
Vassal Uber Geek/Guru

Problems? post your OS, Physical Mem, version of Vassal and Java plus the Module in question.
No developer can help with out that info, thx!
User avatar
Tim M
 
Posts: 1777
Joined: December 8th, 2007, 12:22 pm
Location: Earth


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron