BOT Colors in MP -1 reply

Please wait...

DeakStarkiller

There is no try...

50 XP

2nd July 2005

0 Uploads

38 Posts

0 Threads

#1 10 years ago

I know how to make and edit bot, but what I haven't been able to do so far is to make a bot using one of the Jaden race and give him a specific color. For example, let's say I want to make a Twi'lek bot with Purple skin. How do I do it.

::Thanks::




DeakStarkiller

There is no try...

50 XP

2nd July 2005

0 Uploads

38 Posts

0 Threads

#2 10 years ago

Anyone? :confused:




NAB622

EAT ME!

50 XP

8th October 2005

0 Uploads

6,921 Posts

0 Threads

#3 10 years ago

My only guess is that you would probably have to piece together and export a whole new model for that.




Crazy Assassin

Overlord of Various Things

50 XP

25th August 2008

0 Uploads

428 Posts

0 Threads

#4 10 years ago

Easy.

char_color_red 255 char_color_green 255 char_color_blue 255

Just add those to the .bot file.

For the skin, I think it's part of the model line, so:

model crazysuberpersonalskin/head_a1|torso_a1|lower_a1

That SHOULD do it. :D




DeakStarkiller

There is no try...

50 XP

2nd July 2005

0 Uploads

38 Posts

0 Threads

#5 10 years ago

Crazy Assassin;4771487Easy.

char_color_red 255 char_color_green 255 char_color_blue 255

Just add those to the .bot file.

For the skin, I think it's part of the model line, so:

model crazysuberpersonalskin/head_a1|torso_a1|lower_a1

That SHOULD do it. :D

------------------------------------------------------------------------ Thanks for the answer :), but that only seems to work with single player NPC's or when I use it in a script to change the color of my own avatar.

Here's how I tried it:

{ name "Jedi Twi'lek Female 1" model jedi_tf/head_A1|torso_A1|lower_D1 char_color_red 255 char_color_green 255 char_color_blue 255 color1 5 color2 5 saber1 "dual_5" saber2 "none" personality /botfiles/jedi.jkb }

This is from a .bot file that includes all my new custom bots.

Everything works fine, except all I get is the Twi'lek I want but without the color I want.

I anyone else can help, i'd be much appreciated.

Using a seperate bot file didn't work either. That is, the bot functions, but I couldn't find a way to give it a particular coloring in MP.

::thanks again::




Crazy Assassin

Overlord of Various Things

50 XP

25th August 2008

0 Uploads

428 Posts

0 Threads

#6 10 years ago

You have to set the char_color commands to the right values.

So, for purple, do:

char_color_red 255 char_color_green 0 char_color_blue 255




DeakStarkiller

There is no try...

50 XP

2nd July 2005

0 Uploads

38 Posts

0 Threads

#7 10 years ago

Thanks gain for the quick repsonse. Unfortunately, it doesn't seem to work at all in MP. Here's the.bot entry for that particular bot:

{ name "Jedi Twi'lek Female 1" model jedi_tf/head_A1|torso_A1|lower_D1 char_color_red 255 char_color_green 0 char_color_blue 255 color1 5 color2 5 saber1 "dual_5" saber2 "none" personality /botfiles/jedi.jkb }

But I keep getting the default color for it. Perhaps this is one of those things we can't change? :confused:




Crazy Assassin

Overlord of Various Things

50 XP

25th August 2008

0 Uploads

428 Posts

0 Threads

#8 10 years ago

Hmmm... I could have sworn that was how you do it...

Where are these bots being used? If it's for your own use, you can make a new .skin file that looks for special shaders, and set the color in those shaders.




DeakStarkiller

There is no try...

50 XP

2nd July 2005

0 Uploads

38 Posts

0 Threads

#9 10 years ago

Crazy Assassin;4772137Hmmm... I could have sworn that was how you do it...

Where are these bots being used? If it's for your own use, you can make a new .skin file that looks for special shaders, and set the color in those shaders.

Well they are for my own use for a possible Mod. I was hoping to find an easy an elegant solution without having to create a new skin. How would you handle the solution you mention. How can you make a .skin look for special shaders?

:: Thanks again::




Crazy Assassin

Overlord of Various Things

50 XP

25th August 2008

0 Uploads

428 Posts

0 Threads

#10 10 years ago

That's what a .skin file does: Look for shaders.

Here's what I would do: Take those three .skin files (head, torso, lower), and merge them into one .skin file, and keep it in the same folder (jedi_tf). Then change the paths from jedi_tf to jedi_tf_crazy.

For the shaders, just copy the shaders used for the normal jedi_tf, change the shader names to match the ones in the .skin file (leave the map textures/etc/etc lines alone), and for every rbgGen lightingDiffuseEntity line, replace with rgbGen const ( 1 0 1 ).

Lastly, make the bot look for the new skin file. (IE: jedi_tf/crazy_skin)

Hope that helped.