Unitmarkers [SP/MP modification for 1.14]
Moderator: Forum Moderators
Forum rules
- Please use [code] BBCode tags in your posts for embedding WML snippets.
- To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
- beetlenaut
- Developer
- Posts: 2832
- Joined: December 8th, 2007, 3:21 am
- Location: Washington State
- Contact:
Re: Global Unitmarkers
Sure. I only suggested something shorter because I wasn't sure how much room you had.
Campaigns: Dead Water,
The Founding of Borstep,
Secrets of the Ancients,
and WML Guide
The Founding of Borstep,
Secrets of the Ancients,
and WML Guide
Re: Global Unitmarkers
I've only explained the behaviour I've discovered but, after all, what do we want? An easy way to spot a special unit on the battleground.
Now with more use, I think it can be ok as it is.
No change for leader, well, they are special already.
Modify the color for an hero. This is ok too as the way to flag a unit.
Being able to clear an hero marker in order to mark it with unit ones can also be handy after all.
Perhaps add few new markers? The only easy one I can think of is lightning.
And also "go back" as the default choice.
In fact it is awesome as is for me, but I do not have that much experience, only played a few campaigns and doesn't encounter situation where other behaviour will be useful.
Now with more use, I think it can be ok as it is.
No change for leader, well, they are special already.
Modify the color for an hero. This is ok too as the way to flag a unit.
Being able to clear an hero marker in order to mark it with unit ones can also be handy after all.
Perhaps add few new markers? The only easy one I can think of is lightning.
And also "go back" as the default choice.
In fact it is awesome as is for me, but I do not have that much experience, only played a few campaigns and doesn't encounter situation where other behaviour will be useful.
- Paulomat4
- Moderator Emeritus
- Posts: 730
- Joined: October 16th, 2012, 3:32 pm
- Location: Wesmere library, probably summoning Zhangor
Unitmarkers for 1.12/1.13
Unitmarkers is back!
After having been neglected by me for over two years I finally ported Unitmarkers to 1.12 as well as 1.13. Both versions are already on the server. I have made sure that hero units, loyals and leader will always have at least their original overlays. Also you can now undo moves after placing an overlay. Please report any bugs you might find!
Greetings,
Paulomat4
Creator of Dawn of Thunder and Global Unitmarkers
"I thought Naga's used semi-automatic crossbows with incendiary thermite arrows . . . my beliefs that this race is awesome are now shattered." - Evil Earl
"I thought Naga's used semi-automatic crossbows with incendiary thermite arrows . . . my beliefs that this race is awesome are now shattered." - Evil Earl
Re: Unitmarkers for 1.12/1.13
Awesome, (i hate seeing dead threads ) i will try it out and tell you how awesome it is!
Creator of: The Reign of The Lords Era,The Gnats Franken Dungeon.
Re: Unitmarkers for 1.12/1.13
So i tried it out... and it was awesome! Its a great idea and really good! Personally i would like a few more options to assign to normal units (maybe a shield,bow,sword,hammer,horse,or any of those)The_Gnat wrote:Awesome, (i hate seeing dead threads ) i will try it out and tell you how awesome it is!
Also it would be great if you could create a modification for multiplayer also (like the choose your flag add-on), it would be lots of fun to be able to do this in multiplayer also!
Thanks for this really cool add-on!
Creator of: The Reign of The Lords Era,The Gnats Franken Dungeon.
- Paulomat4
- Moderator Emeritus
- Posts: 730
- Joined: October 16th, 2012, 3:32 pm
- Location: Wesmere library, probably summoning Zhangor
Re: Unitmarkers for 1.12/1.13
Thank you!
About new Icons:
That is certainly doable, i just think that they should look good. I think i'll add a few with the next update.
About multiplayer:
That should certainly be doable as well, i just don't know much about multiplayer coding and I don't want to cause any oos errors.
About new Icons:
That is certainly doable, i just think that they should look good. I think i'll add a few with the next update.
About multiplayer:
That should certainly be doable as well, i just don't know much about multiplayer coding and I don't want to cause any oos errors.
Creator of Dawn of Thunder and Global Unitmarkers
"I thought Naga's used semi-automatic crossbows with incendiary thermite arrows . . . my beliefs that this race is awesome are now shattered." - Evil Earl
"I thought Naga's used semi-automatic crossbows with incendiary thermite arrows . . . my beliefs that this race is awesome are now shattered." - Evil Earl
- Pentarctagon
- Project Manager
- Posts: 5599
- Joined: March 22nd, 2009, 10:50 pm
- Location: Earth (occasionally)
Re: Unitmarkers for 1.12/1.13
OOS errors should only be caused by changing a value used during combat or movement, so if changing just the unit icon image resulted in an OOS, I would actually think that is a bug in Wesnoth.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
take one down, patch it around
-2,147,483,648 little bugs in the code
Re: Unitmarkers for 1.12/1.13
It does not really matter when you change. But interface is safe to change. Most that can happen is that only some players can see that image.
- Paulomat4
- Moderator Emeritus
- Posts: 730
- Joined: October 16th, 2012, 3:32 pm
- Location: Wesmere library, probably summoning Zhangor
Re: Unitmarkers for 1.12/1.13
Okay then, Expect to see multiplayer functionality on from the next update!
Creator of Dawn of Thunder and Global Unitmarkers
"I thought Naga's used semi-automatic crossbows with incendiary thermite arrows . . . my beliefs that this race is awesome are now shattered." - Evil Earl
"I thought Naga's used semi-automatic crossbows with incendiary thermite arrows . . . my beliefs that this race is awesome are now shattered." - Evil Earl
Re: Unitmarkers for 1.12/1.13
Great!Paulomat4 wrote:Okay then, Expect to see multiplayer functionality on from the next update!
Creator of: The Reign of The Lords Era,The Gnats Franken Dungeon.
- Paulomat4
- Moderator Emeritus
- Posts: 730
- Joined: October 16th, 2012, 3:32 pm
- Location: Wesmere library, probably summoning Zhangor
Re: Unitmarkers for 1.12/1.13
Version 1.3 has been uploaded to the add-on servers!
changes include:
Greetings,
Paulomat4
changes include:
Code: Select all
-reorganization of the leader overlays (there are now even more available)
-multiplayer functionality. pretty untested, maybe i'll test it a bit when i get home and have my desktop computer, maybe not. Should not cause Oos errors as previously mentioned by Pentarctagon and Ravana.
-3 new overlays for normal units: flaming swords, poisonous skull and shield!
Paulomat4
Creator of Dawn of Thunder and Global Unitmarkers
"I thought Naga's used semi-automatic crossbows with incendiary thermite arrows . . . my beliefs that this race is awesome are now shattered." - Evil Earl
"I thought Naga's used semi-automatic crossbows with incendiary thermite arrows . . . my beliefs that this race is awesome are now shattered." - Evil Earl
Re: Unitmarkers for 1.12/1.13
Sounds great i will go download it right away!Paulomat4 wrote:Version 1.3 has been uploaded to the add-on servers!
changes include:Greetings,Code: Select all
-reorganization of the leader overlays (there are now even more available) -multiplayer functionality. pretty untested, maybe i'll test it a bit when i get home and have my desktop computer, maybe not. Should not cause Oos errors as previously mentioned by Pentarctagon and Ravana. -3 new overlays for normal units: flaming swords, poisonous skull and shield!
Paulomat4
(EDIT) i noticed that when you choose a poison, flaming swords, or shield icon that then the option box no longer loads for that unit. (probably a bug)
(EDIT2) also i think it might be good to have a modification option in the multiplayer menu (using [modification] tags) so that players can choose to have this mod active or not
Creator of: The Reign of The Lords Era,The Gnats Franken Dungeon.
- Paulomat4
- Moderator Emeritus
- Posts: 730
- Joined: October 16th, 2012, 3:32 pm
- Location: Wesmere library, probably summoning Zhangor
Re: Unitmarkers for 1.12/1.13
Thanks, I just noticed that myself right now. 1.3.1 fixes this and has been uploaded to both add-on servers.(EDIT) i noticed that when you choose a poison, flaming swords, or shield icon that then the option box no longer loads for that unit. (probably a bug)
This is because of the way that the add-on had to be implemented in 1.12. 1.13 now allows single-player modifications. (see also your own thread where it was explained).also i think it might be good to have a modification option in the multiplayer menu (using [modification] tags) so that players can choose to have this mod active or not
So making the add-on a real modification is on my to do list, although it will only happen for 1.13.
Creator of Dawn of Thunder and Global Unitmarkers
"I thought Naga's used semi-automatic crossbows with incendiary thermite arrows . . . my beliefs that this race is awesome are now shattered." - Evil Earl
"I thought Naga's used semi-automatic crossbows with incendiary thermite arrows . . . my beliefs that this race is awesome are now shattered." - Evil Earl
Re: Unitmarkers for 1.12/1.13
Paulomat4 wrote:This is because of the way that the add-on had to be implemented in 1.12. 1.13 now allows single-player modifications. (see also your own thread where it was explained).also i think it might be good to have a modification option in the multiplayer menu (using [modification] tags) so that players can choose to have this mod active or not
So making the add-on a real modification is on my to do list, although it will only happen for 1.13.
Thanks for responding. Actually what I meant is for multiplayer create a modification check box so that when creating maps players may choose to turn off the addon (without uninstalling). I know this works in 1.12 because I have created my own mod using the [modification] tags inside #ifdef MULTIPLAYER
Creator of: The Reign of The Lords Era,The Gnats Franken Dungeon.
- Paulomat4
- Moderator Emeritus
- Posts: 730
- Joined: October 16th, 2012, 3:32 pm
- Location: Wesmere library, probably summoning Zhangor
Re: Unitmarkers [SP/MP modification for 1.12/1.13]
I understood what you meant on first try, but thank you for explaining anywayThanks for responding. Actually what I meant is for multiplayer create a modification check box so that when creating maps players may choose to turn off the addon (without uninstalling). I know this works in 1.12 because I have created my own mod using the [modification] tags inside #ifdef MULTIPLAYER
Version 1.4 has been uploaded to both add on servers!
Code: Select all
-Unitmarkers now functions as modification as provided by the game on mp and single player on 1.13 and on mp on 1.12. In sp on 1.12 it still uses the hackery.
this means that it can be turned off whereever it is a standard modification but of course, i can only recommend having it on ;)
-brecause of the code differences between 1.12 and 1.13, development has now officially stopped for 1.12. I will still fix bugs if you find any, though.
Code: Select all
-smaller retouche of the flag icon
-partly rewritten description.
Creator of Dawn of Thunder and Global Unitmarkers
"I thought Naga's used semi-automatic crossbows with incendiary thermite arrows . . . my beliefs that this race is awesome are now shattered." - Evil Earl
"I thought Naga's used semi-automatic crossbows with incendiary thermite arrows . . . my beliefs that this race is awesome are now shattered." - Evil Earl