HomePortalFAQSearchMemberlistUsergroupsRegisterLog in
The domain www.kitopen.com will expire on 2018-08-17. Update your bookmarks to point at http://kito.forumotion.com/
Meet the new KITO admins & hear their plans here.
You can use google search to find threads and posts here now. Example

Share | 
 

 Color overload problem on KITO 6.0

Go down 
AuthorMessage
DarkHeta

avatar

Game username : DarkHeta
Server : Eternal Time
Female Posts : 70
Join date : 2016-01-18
Age : 18
Location : Russia

PostSubject: Color overload problem on KITO 6.0   Tue Apr 03, 2018 12:21 pm

I checked several times if I did the right thing. But something went wrong. Everywhere Source complains about the overload. I do not know what to do ;-;




Quote :
shadow->setColours(ColourValue(0, 0, 0), ColourValue(0, 0, 0), ColourValue(0, 0, 0), ColourValue(0, 0, 0), ColourValue(0, 0, 0), ColourValue(0, 0, 0), ColourValue(0, 0, 0), ColourValue(0, 0, 0), ColourValue(0, 0, 0), ColourValue(1, 1, 1), ColourValue(0, 0, 0), ColourValue(0, 0, 0));


Quote :
const vector<String>::type tPart = StringUtil::split(cEvent[i].second, ",", 12);
if (tPart.size() >= 11)
{
MagixUnit *unit = parseUnit(tPart[0]);
if (unit)unit->setColours(StringConverter::parseColourValue(tPart[1]), StringConverter::parseColourValue(tPart[2]), StringConverter::parseColourValue(tPart[3]),
StringConverter::parseColourValue(tPart[4]), StringConverter::parseColourValue(tPart[5]), StringConverter::parseColourValue(tPart[6]),
StringConverter::parseColourValue(tPart[7]), StringConverter::parseColourValue(tPart[8]), StringConverter::parseColourValue(tPart[9]),
StringConverter::parseColourValue(tPart[10]),
(tPart.size() >= 12 ? StringConverter::parseColourValue(tPart[11]) : ColourValue()), (tPart.size() >= 13 ? StringConverter::parseColourValue(tPart[12]) : ColourValue()));
}
}

Quote :
void MagixUnit::setColours(const ColourValue &pelt, const ColourValue &underfur, const ColourValue &mane, const ColourValue &nose, const ColourValue &eyeTop, const ColourValue &eyeBot, const ColourValue &ears, const ColourValue &tailtip, const ColourValue &eyeL, const ColourValue &eyeR, const ColourValue &wing, const ColourValue &marking)
{
matGroupName = "CustomMat";

const Vector4 peltVect(pelt.r, pelt.g, pelt.b, 1);
const Vector4 underfurVect(underfur.r, underfur.g, underfur.b, 1);
const Vector4 maneVect(mane.r, mane.g, mane.b, 1);
const Vector4 noseVect(nose.r, nose.g, nose.b, 1);
const Vector4 eyeTopVect(eyeTop.r, eyeTop.g, eyeTop.b, 1);
const Vector4 eyeBotVect(eyeBot.r, eyeBot.g, eyeBot.b, 1);
const Vector4 earsVect(ears.r, ears.g, ears.b, 1);
const Vector4 tailtipVect(tailtip.r, tailtip.g, tailtip.b, 1);
const Vector4 eyeLVect(eyeL.r, eyeL.g, eyeL.b, 1);
const Vector4 eyeRVect(eyeR.r, eyeR.g, eyeR.b, 1);

const Vector4 wingVect(wing.r, wing.g, wing.b, 1);
const Vector4 markingVect(marking.r, marking.g, marking.b, 1);


Quote :

}
if (mColourBox->isVisible())mColourBox->hide();
mUnit->setColours(colourVal[0], colourVal[1], colourVal[2], colourVal[3], colourVal[4], colourVal[5], colourVal[6], colourVal[7], colourVal[8], colourVal[9], colourVal[10], colourVal[11]);
if (mBackdrop->isVisible())mBackdrop->hide();
mName->getParent()->setMaterialName("GUIMat/StartScreen");
mBackButton->setPosition(0.05, 0.6);
mNextButton->setPosition(0.3, 0.6);
mNextButtonText->setCaption("Next");
if (mDeleteButton->isVisible())mDeleteButton->hide();
return;
}
----------------- ^ Do this for 3 times (Because of 3 pages in Char editor)
Back to top Go down
https://vk.com/eternaltimenewserver
DarkHeta

avatar

Game username : DarkHeta
Server : Eternal Time
Female Posts : 70
Join date : 2016-01-18
Age : 18
Location : Russia

PostSubject: Re: Color overload problem on KITO 6.0   Tue Apr 03, 2018 2:32 pm

Problem solved!
Back to top Go down
https://vk.com/eternaltimenewserver
DarkHeta

avatar

Game username : DarkHeta
Server : Eternal Time
Female Posts : 70
Join date : 2016-01-18
Age : 18
Location : Russia

PostSubject: Re: Color overload problem on KITO 6.0   Tue Apr 03, 2018 3:47 pm

Well... It painful


Back to top Go down
https://vk.com/eternaltimenewserver
Tsezar

avatar

Male Posts : 481
Join date : 2015-03-09

PostSubject: Re: Color overload problem on KITO 6.0   Sat Apr 07, 2018 11:22 am

perhaps you didn't create some masks? check them twice Smile
Back to top Go down
https://tsezar-h.deviantart.com
Sponsored content




PostSubject: Re: Color overload problem on KITO 6.0   

Back to top Go down
 
Color overload problem on KITO 6.0
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Keeping I.T. Open :: SUPPORT :: Support-
Jump to: