A rather peculiar unit... TC-ing Suggestions needed.

Make art for user-made content.

Moderator: Forum Moderators

Forum rules
Before posting critique in this forum, you must read the following thread:
Azar Wolf
Posts: 45
Joined: December 28th, 2008, 5:55 am
Contact:

A rather peculiar unit... TC-ing Suggestions needed.

Post by Azar Wolf »

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...)
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.
ImageImageImageImageImageImageImageImageImage
[edit] - it looks rather nice in-game, but is off-center. I'll fix that later.

[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
User avatar
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.

Post by mnewton1 »

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}

Image
Creator of Ageless Era
Check out Frogatto & Friends, it's made by the same people who created The Battle for Wesnoth!
User avatar
TrashMan
Posts: 601
Joined: April 30th, 2008, 8:04 pm
Contact:

Re: A rather peculiar unit... TC-ing Suggestions needed.

Post by TrashMan »

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

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! <<<
User avatar
Iris
Site Administrator
Posts: 6800
Joined: November 14th, 2006, 5:54 pm
Location: Chile
Contact:

Re: A rather peculiar unit... TC-ing Suggestions needed.

Post by Iris »

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?
{MAGENTA_IS_THE_TEAM_COLOR}

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.
Azar Wolf
Posts: 45
Joined: December 28th, 2008, 5:55 am
Contact:

Re: A rather peculiar unit... TC-ing Suggestions needed.

Post by Azar Wolf »

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? :?
The Rauthar: era + campaign in development
http://www.wesnoth.org/forum/viewtopic.php?f=19&t=28424
User avatar
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.

Post by mnewton1 »

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
Creator of Ageless Era
Check out Frogatto & Friends, it's made by the same people who created The Battle for Wesnoth!
Azar Wolf
Posts: 45
Joined: December 28th, 2008, 5:55 am
Contact:

Re: A rather peculiar unit... TC-ing Suggestions needed.

Post by Azar Wolf »

If more people suggest the glow idea, I'll probably take it... :) It would also be one of the easier ideas to implement! :lol2:

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
User avatar
Neoskel
Art Contributor
Posts: 724
Joined: November 27th, 2007, 5:05 am

Re: A rather peculiar unit... TC-ing Suggestions needed.

Post by Neoskel »

Tc lightning sounds awesome, especially if it's gonna move like that. Ooh, black lightning.
User avatar
Sapient
Inactive Developer
Posts: 4453
Joined: November 26th, 2005, 7:41 am
Contact:

Re: A rather peculiar unit... TC-ing Suggestions needed.

Post by Sapient »

Azar Wolf wrote:
Wait- the {MAGENTA_IS_THE_TEAM_COLOR} palette works with any alpha right?
yes
http://www.wesnoth.org/wiki/User:Sapient... "Looks like your skills saved us again. Uh, well at least, they saved Soarin's apple pie."
Azar Wolf
Posts: 45
Joined: December 28th, 2008, 5:55 am
Contact:

Re: A rather peculiar unit... TC-ing Suggestions needed.

Post by Azar Wolf »

Sapient wrote:
Azar Wolf wrote:
Wait- the {MAGENTA_IS_THE_TEAM_COLOR} palette works with any alpha right?
yes
:D Neat- that means that the glow and lightning ideas will work!
The Rauthar: era + campaign in development
http://www.wesnoth.org/forum/viewtopic.php?f=19&t=28424
User avatar
Iris
Site Administrator
Posts: 6800
Joined: November 14th, 2006, 5:54 pm
Location: Chile
Contact:

Re: A rather peculiar unit... TC-ing Suggestions needed.

Post by Iris »

Neoskel wrote:Tc lightning sounds awesome, especially if it's gonna move like that. Ooh, black lightning.
I recall thespaceinvader attempting to do so and failing at making it look right. He gave up at the end.

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.
Azar Wolf
Posts: 45
Joined: December 28th, 2008, 5:55 am
Contact:

Re: A rather peculiar unit... TC-ing Suggestions needed.

Post by Azar Wolf »

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...
The Rauthar: era + campaign in development
http://www.wesnoth.org/forum/viewtopic.php?f=19&t=28424
User avatar
JW
Posts: 5047
Joined: November 10th, 2005, 7:06 am
Location: Chicago-ish, Illinois

Re: A rather peculiar unit... TC-ing Suggestions needed.

Post by JW »

Image
Image

Two examples of what you want, both taken from the Era of Myths. (Wisp is hard to see on this background)
User avatar
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.

Post by thespaceinvader »

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.
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.
Boucman
Inactive Developer
Posts: 2119
Joined: March 31st, 2004, 1:04 pm

Re: A rather peculiar unit... TC-ing Suggestions needed.

Post by Boucman »

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
Post Reply