A rather peculiar unit... TC-ing Suggestions needed.
Moderator: Forum Moderators
Forum rules
Before posting critique in this forum, you must read the following thread:
Before posting critique in this forum, you must read the following thread:
A rather peculiar unit... TC-ing Suggestions needed.
Well, in my thread over here: http://www.wesnoth.org/forum/viewtopic.php?f=19&t=23429
I have a line of units- selenites- they are basically magically powered constructs made of selenite crystals.
To make them visually interesting, I made them wreathed in a lightning effect (they have a lightning attack). However, selenite is a TRANSLUCENT BLUE (just as say, the humans are beige/tan/etc.- not purple or green- you don't team color the skin!).
So right now I'm trying to figure out how to team-color them. I was wondering if I should team color the lightning...
Also, does {THE_TEAM_COLOR_IS_MAGENTA} work with ANY (RGB) #-0-0 color or must it be the exact colors on the palette shown in the wiki?
I can tweak the actual visual consistency later (though once again, the fact they are supposed to be translucent makes it hard to do "darker borders", so I just made higher alpha borders...
)
So basically, the point of this thread is to help me figure out how to team color these units.
Here's the idle animation's frames (It's hard to see the lightning effect however...)
[edit2] - I deleted my other thread since I figured out how to do cont. idle animation
[edit3] - actually, the off-centered-ness matches up with the other units, so never mind the second part of the first edit.
I have a line of units- selenites- they are basically magically powered constructs made of selenite crystals.
To make them visually interesting, I made them wreathed in a lightning effect (they have a lightning attack). However, selenite is a TRANSLUCENT BLUE (just as say, the humans are beige/tan/etc.- not purple or green- you don't team color the skin!).
So right now I'm trying to figure out how to team-color them. I was wondering if I should team color the lightning...
Also, does {THE_TEAM_COLOR_IS_MAGENTA} work with ANY (RGB) #-0-0 color or must it be the exact colors on the palette shown in the wiki?
I can tweak the actual visual consistency later (though once again, the fact they are supposed to be translucent makes it hard to do "darker borders", so I just made higher alpha borders...

So basically, the point of this thread is to help me figure out how to team color these units.
Here's the idle animation's frames (It's hard to see the lightning effect however...)
[edit] - it looks rather nice in-game, but is off-center. I'll fix that later.Azar Wolf wrote:Small Selenite (D1):
This set of frames is used for moving, hovering (idle), and the main attack (lightning). The lightning attack projectile has its own animation on top. The moonlight attack uses a pre-made projectile image I've seen used in various era packs. I might or might not make my own eventually. The aura attack animation is not yet made.
NOTE: the unit does NOT show up very well on these boards because the lightning effect is white and the unit is translucent. BTW- I forgot the TC- I'll add that in soon.
[edit2] - I deleted my other thread since I figured out how to do cont. idle animation
[edit3] - actually, the off-centered-ness matches up with the other units, so never mind the second part of the first edit.
Last edited by Azar Wolf on January 5th, 2009, 5:18 am, edited 1 time in total.
The Rauthar: era + campaign in development
http://www.wesnoth.org/forum/viewtopic.php?f=19&t=28424
http://www.wesnoth.org/forum/viewtopic.php?f=19&t=28424
- mnewton1
- Posts: 777
- Joined: November 12th, 2008, 4:31 am
- Location: On my pretty teal horsey.
- Contact:
Re: A rather peculiar unit... TC-ing Suggestions needed.
I'm not sure but I think what you are asking for is this Color Shifting Wiki
Also it is {MAGENTA_IS_THE_TEAM_COLOR}

Also it is {MAGENTA_IS_THE_TEAM_COLOR}

Creator of Ageless Era
Check out Frogatto & Friends, it's made by the same people who created The Battle for Wesnoth!
Check out Frogatto & Friends, it's made by the same people who created The Battle for Wesnoth!
Re: A rather peculiar unit... TC-ing Suggestions needed.
You can use any color, but ALL the explicit values used MUST be in the units.cfg file.
For my Holy Avenger I use 5 shades of blue for team color
For my Holy Avenger I use 5 shades of blue for team color
Code: Select all
[unit_type]
id=HAvenger
name= _ "Holy Avenger"
race=human
image="units/TrashMan/HAvenger.png"
profile="portraits/TrashMan/HolyAvenger.png"
flag_rgb=73,93,246,7,35,249,2,20,155,12,19,66 <------ this is the line you're looking for
hitpoints=60
movement_type=smallfoot
Light travels much faster than sound, that's why some people seem bright until you hear them speak.
>>> MY LITTLE LAB! <<<
>>> MY LITTLE LAB! <<<
Re: A rather peculiar unit... TC-ing Suggestions needed.
{MAGENTA_IS_THE_TEAM_COLOR}Azar Wolf wrote:Also, does {THE_TEAM_COLOR_IS_MAGENTA} work with ANY (RGB) #-0-0 color or must it be the exact colors on the palette shown in the wiki?
It works only with the exact colors shown in the wiki graphic thingy, which are the same defined in the flag_rgb attribute that this macro actually contains.
If you need to preview your stuff and happen to be using GNU/Linux, click on the "TC" link on my signature for an useful (yet command-line only) tool I wrote that automagically generates TC previews from a base image, using the same algorithm used by Wesnoth.
Author of the unofficial UtBS sequels Invasion from the Unknown and After the Storm.
Re: A rather peculiar unit... TC-ing Suggestions needed.
Oh ok... I guess I'll just stick to the palette...
But does anyone have any suggestions on where to put the TC?
Maybe a TC glow, or TC the lightning or perhaps TC-ed energy spinning around?
But does anyone have any suggestions on where to put the TC?
Maybe a TC glow, or TC the lightning or perhaps TC-ed energy spinning around?

The Rauthar: era + campaign in development
http://www.wesnoth.org/forum/viewtopic.php?f=19&t=28424
http://www.wesnoth.org/forum/viewtopic.php?f=19&t=28424
- mnewton1
- Posts: 777
- Joined: November 12th, 2008, 4:31 am
- Location: On my pretty teal horsey.
- Contact:
Re: A rather peculiar unit... TC-ing Suggestions needed.
I think you should make the TC the glow around its... body? Since it is such a light color it will be noticeable but also will look good with the different colors like red and green
And this is my 100th Post!!!!! Not that amazing
And this is my 100th Post!!!!! Not that amazing
Creator of Ageless Era
Check out Frogatto & Friends, it's made by the same people who created The Battle for Wesnoth!
Check out Frogatto & Friends, it's made by the same people who created The Battle for Wesnoth!
Re: A rather peculiar unit... TC-ing Suggestions needed.
If more people suggest the glow idea, I'll probably take it...
It would also be one of the easier ideas to implement!
Wait- the {MAGENTA_IS_THE_TEAM_COLOR} palette works with any alpha right?


Wait- the {MAGENTA_IS_THE_TEAM_COLOR} palette works with any alpha right?
The Rauthar: era + campaign in development
http://www.wesnoth.org/forum/viewtopic.php?f=19&t=28424
http://www.wesnoth.org/forum/viewtopic.php?f=19&t=28424
Re: A rather peculiar unit... TC-ing Suggestions needed.
Tc lightning sounds awesome, especially if it's gonna move like that. Ooh, black lightning.
Re: A rather peculiar unit... TC-ing Suggestions needed.
yesAzar Wolf wrote:
Wait- the {MAGENTA_IS_THE_TEAM_COLOR} palette works with any alpha right?
http://www.wesnoth.org/wiki/User:Sapient... "Looks like your skills saved us again. Uh, well at least, they saved Soarin's apple pie."
Re: A rather peculiar unit... TC-ing Suggestions needed.
Sapient wrote:yesAzar Wolf wrote:
Wait- the {MAGENTA_IS_THE_TEAM_COLOR} palette works with any alpha right?

The Rauthar: era + campaign in development
http://www.wesnoth.org/forum/viewtopic.php?f=19&t=28424
http://www.wesnoth.org/forum/viewtopic.php?f=19&t=28424
Re: A rather peculiar unit... TC-ing Suggestions needed.
I recall thespaceinvader attempting to do so and failing at making it look right. He gave up at the end.Neoskel wrote:Tc lightning sounds awesome, especially if it's gonna move like that. Ooh, black lightning.
Or it was Qes. I don't remember but at least I remember it was for one of Qes' factions.
Author of the unofficial UtBS sequels Invasion from the Unknown and After the Storm.
Re: A rather peculiar unit... TC-ing Suggestions needed.
Hmmm... That may be because the palette's options were too narrow. Also the lightning is transparent so it would be affected by the color of the selenite which is beneath it.
Perhaps if I made the team-colored image separate...
I've seen units where they have multiple images, one just applied over the other or something of the like...
Perhaps if I made the team-colored image separate...

The Rauthar: era + campaign in development
http://www.wesnoth.org/forum/viewtopic.php?f=19&t=28424
http://www.wesnoth.org/forum/viewtopic.php?f=19&t=28424
Re: A rather peculiar unit... TC-ing Suggestions needed.


Two examples of what you want, both taken from the Era of Myths. (Wisp is hard to see on this background)
- thespaceinvader
- Retired Art Director
- Posts: 8414
- Joined: August 25th, 2007, 10:12 am
- Location: Oxford, UK
- Contact:
Re: A rather peculiar unit... TC-ing Suggestions needed.
I tried this one one occasion, and had difficulty because I needed semi-transparent tc overlaying other colours, which doesn't work easily, in any way I found then. Semi-transparent TC on its own works fine.
For my part, I managed to make halos which would have worked, but they weren't tc-able, and didn't dynamically flip with the unit. I was about to start out trying to persuade someone to fix it so those two things would work when the project fell to bits (coder vanished), so I gave up.
For my part, I managed to make halos which would have worked, but they weren't tc-able, and didn't dynamically flip with the unit. I was about to start out trying to persuade someone to fix it so those two things would work when the project fell to bits (coder vanished), so I gave up.
http://thespaceinvader.co.uk | http://thespaceinvader.deviantart.com
Back to work. Current projects: Catching up on commits. Picking Meridia back up. Sprite animations, many and varied.
Back to work. Current projects: Catching up on commits. Picking Meridia back up. Sprite animations, many and varied.
Re: A rather peculiar unit... TC-ing Suggestions needed.
you could probably do that by using multiple [xxx_frame] that you would stack over the unit
Fight key loggers: write some perl using vim