Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / color object help

Author
Message
Daniel wright 2311
User Banned
Posted: 12th Jun 2012 06:34
I have a cool scean to when my player is over fire,he turnes red and losses health.

well,when I turn him red,I can not turn him back to his original texture color.How do I set his color back to his normal textured color,or is there a COLOR OBJECT 2,rgb(RED,BLUE,GREEN) number that makes his color uncolored?

I know,sounds elementry,but never realy colored object's yet.

my signature keeps being erased by a mod So this is my new signature.
MrValentine
AGK Backer
15
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 12th Jun 2012 07:23
WHAT?

Try the SET OBJECT ... commands

Daniel wright 2311
User Banned
Posted: 12th Jun 2012 07:34
Well,I figured it out,if I put my object a full COLOR red he looses his texture all together,this is why,I need to somehow rexture him after words.

my signature keeps being erased by a mod So this is my new signature.
basjak
16
Years of Service
User Offline
Joined: 16th Apr 2010
Location: feel like signing up for mars
Posted: 12th Jun 2012 08:19
Quote: "I need to somehow re-texture him after words"


in my opinion, create coloured images then use the command:
set blend mapping on objno,colouredimageno,mode.
where mode =[1-11]

(an image with one color can be be as small as few pixels)

Pincho Paxton
23
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 12th Jun 2012 10:20
or use SET OBJECT DIFFUSE instead to get a red person.

Daniel wright 2311
User Banned
Posted: 12th Jun 2012 10:23
Quote: "or use SET OBJECT DIFFUSE instead to get a red person."


Good idea,thank you

my signature keeps being erased by a mod So this is my new signature.

Login to post a reply

Server time is: 2026-07-07 17:08:11
Your offset time is: 2026-07-07 17:08:11