v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Difference between revisions of "User talk:Kaos"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
Line 54: Line 54:
 
  {{rgb|BROWN}}
 
  {{rgb|BROWN}}
 
am I doing something wrong??--[[User:Kaos|Kaos]] 00:55, 29 March 2011 (UTC)
 
am I doing something wrong??--[[User:Kaos|Kaos]] 00:55, 29 March 2011 (UTC)
 +
:The {{tl|rgb}} template is namespace-sensitive - it can only be used within the DF2010, 40d, or 23a namespaces (technically only DF2010 right now, since I haven't uploaded descriptor_color_standard.txt for any other version, but 23a and 40d didn't make any significant use of color tokens aside from dyes). --[[User:Quietust|Quietust]] 01:02, 29 March 2011 (UTC)

Revision as of 01:02, 29 March 2011

Creatures

What exactly is the purpose of having 18 "Colors" columns? --Quietust 21:26, 28 March 2011 (UTC)

I want to put all the colors a creature can have, i'm working on it right now....
I want to make 18 cells with the 18 color variations a dwarf can have...
the same with the elves, and so on...
So far I guess 18 is the maximum color variations a creature can have....
If you're referring to the colors that are based on professions (e.g. Miner, Stoneworker, Farmer, etc.), then you should know that those are all hardcoded (and even so, Dwarf Fortress itself only supports 16 colors, one of which is black) - the only colors that can be changed in the raws are caste-specific colors, and no creature has more than 5 castes. --Quietust 21:35, 28 March 2011 (UTC)
no, I'm refering to the skin/fur/outter tissue layer colors that a creature can have, can't you make nested tables when using the templates???
take a look, one picture is better than a thousand words... :)
Dwarf blah
     

just that the template doesn't seem to accept the nested table for some reason... any ideas?

you were right i didn't need 18 columns in the template... i was confused about how the template worked... I edited it back to 1 colors column and I have made what I want to do for the dwarves in the Template:L page,

I've just created a template you might find useful - {{rgb|COLOR_NAME}}. --Quietust 00:05, 29 March 2011 (UTC)

You read my mind!

I got it working with nested tables as you can see in the Template:L page, basically I did this:

{{CreatureCurrent table head}}
{{CreatureCurrent table row|name={{L|Dwarf}}|symbol=☺|color=3:0:0|hostile=No|food=No|size=60,000|value=Not tameable|biome=Fortresses|note=Trading race|colors=<span></span>
                                                   {{{!}}
                                                    {{!}}-
                                                    {{!}} width="20em" style="background: {{rgb|BROWN}}"       {{!}}  
                                                    {{!}} width="20em" style="background: {{rgb|BURNT_UMBER}}" {{!}}  
                                                    {{!}} width="20em" style="background: {{rgb|CINNAMON}}"    {{!}}  
                                                   {{!}}}
}}
{{CreatureCurrent table row|name={{L|Elf}}|symbol=e|color=3:0:0|hostile=Variable<sup>1</sup>|food=No|size=60,000|value=Not tameable|biome=Forest retreats|note=Trading race}}
{{CreatureCurrent table row|name={{L|Goblin}}|symbol=g|color=7:0:0|hostile=Variable<sup>1</sup>|food=No|size=60,000|value=Not tameable|biome=Dark fortresses|note=Trading race}}
{{CreatureCurrent table row|name={{L|Human}}|symbol=U|color=3:0:0|hostile=Variable<sup>1</sup>|food=No|size=70,000|value=Not tameable|biome=Towns and cities|note=Trading race}}
{{CreatureCurrent table row|name={{L|Kobold}}|symbol=k|color=6:0:0|hostile=Variable<sup>1</sup>|food=No|size=20,000|value=Not tameable|biome=Caves|note=Skulking race}}
|}

I was thinking of making a Template with the nested table before I found how to work around the pipe selector problem I had changing "|" for "{{!}}" and adding "<span></span>" so it recognizes the table starting in a new line...

That's why I tried creating this page Template:L but it seems you got a better way using the descriptor file.... just that I don't seem to get it to work.... I tried {{rgb|brown}} and {{rgb|BROWN}} and I get this result

and

am I doing something wrong??--Kaos 00:55, 29 March 2011 (UTC)

The {{rgb}} template is namespace-sensitive - it can only be used within the DF2010, 40d, or 23a namespaces (technically only DF2010 right now, since I haven't uploaded descriptor_color_standard.txt for any other version, but 23a and 40d didn't make any significant use of color tokens aside from dyes). --Quietust 01:02, 29 March 2011 (UTC)