Colors

» Siedler Map Source Forum » Siedler DEdK Script Forum » Colors

Seiten: 1

polaster64
#1
17.02.2018 14:31
Beiträge: 184

Colors

What are all the colors that are possible in game? I tried to find them but this site http://www.siedler-games.de/si...i/dokuwiki/doku.php/?do=recent is in deutsch and I dont understand anything. Could you give me all of them for example:
Display.SetPlayerColorMapping(1,ENEMY_COLOR2) and which color is it. Thanks.

mcb
#2
17.02.2018 16:16
Beiträge: 1472

You could just check them yourself. They are just numbers between 1 and 16.

Just start this as SimpleJob:

function colorSwitcherJob()
   colorSwitcherVal = colorSwitcherVal or 0
   colorSwitcherVal = colorSwitcherVal + 1
   if colorSwitcherVal > 16 then
      colorSwitcherVal = 1
   end
   Message("now showing color: "..colorSwitcherVal)
   Display.SetPlayerColorMapping(1, colorSwitcherVal)
end

polaster64
#3
17.02.2018 17:58
Beiträge: 184

Zitat von mcb:
You could just check them yourself. They are just numbers between 1 and 16.

Just start this as SimpleJob:

function colorSwitcherJob()
   colorSwitcherVal = colorSwitcherVal or 0
   colorSwitcherVal = colorSwitcherVal + 1
   if colorSwitcherVal > 16 then
      colorSwitcherVal = 1
   end
   Message("now showing color: "..colorSwitcherVal)
   Display.SetPlayerColorMapping(1, colorSwitcherVal)
end



Thank you very much, really helped!

Seiten: 1

SiteEngine v1.5.0 by nevermind, ©2005-2007
Design by SpiderFive (www.siedler-games.de) - English translation by juja

Impressum