HomePortalFAQSearchMemberlistUsergroupsRegisterLog in
Meet the new KITO admins & hear their plans here.
You can use google search to find threads and posts here now. Example

Share | 
 

 Critter Texture Keeps showing up White(SOLVED)

Go down 
AuthorMessage
CrystalxLuke

avatar

Game username : CrystalxLuke
Female Posts : 48
Join date : 2014-07-31
Age : 18

PostSubject: Critter Texture Keeps showing up White(SOLVED)   Wed Jul 01, 2015 4:17 am

I'm pretty sure I'm doing the coding wrong. I recently downloaded a cerberus and a dragon that are free on here on KITO, and when putting them in game, the texture is white.

This is the code in the cd1 for cerberus.
Code:
[Cerberus]
mesh=cerberus
material=cerberusMat
tamable=true,0.01(chance of taming)
scale=5
hp=100
maxSpeed=150
decisionMin=20
decisionDeviation=10
dropList=collarDiamond,.9
skillDrop=Howl,100
attackList=-400,450

This is the cerberus MAT.
Code:
material cerberusTex/SOLID/TEX/cerberus.png
{
 technique
 {
 pass
 {
 diffuse 0.800000 0.800000 0.800000
 specular 0.500000 0.500000 0.500000 12.500000
 texture_unit
 {
 texture        cerberus.png
 }
 }
 }
}
material cerberusTex/SOLID/TEX/cerberusTEX.png
{
 technique
 {
 pass
 {
 cull_hardware none
 cull_software none
 texture_unit
 {
 texture cerberusTEX.png
 tex_address_mode wrap
 }
 }
 pass
 {
 emissive 1 1 0.5
 scene_blend alpha_blend
 texture_unit
 {
 texture cerberusTEX.png
 tex_address_mode wrap
 filtering trilinear
 }
 }
 }
}
I have also made sure that the texture is in .png form.

And the texture is in the media > materials > textures folder.

Thank you Wink
Back to top Go down
Tattoo

avatar

Game username : Tattoo
Female Posts : 169
Join date : 2013-08-26
Age : 20

PostSubject: Re: Critter Texture Keeps showing up White(SOLVED)   Wed Jul 01, 2015 4:29 am

Change "cerberusTex/SOLID/TEX/cerberus.png" (the one at the very top) in the material file to "cerberusMat"

OR change "cerberusMat" in the cd1 file to "cerberusTex/SOLID/TEX/cerberus.png"

I think either  should work.

[I also looked at that attack damage done by the Cerberus. I'm pretty sure 1 bar of health is equal to 250. So having it set at 400 will make it undefeatable because it's basically killing the player twice over]


Last edited by Tattoo on Wed Jul 01, 2015 5:06 am; edited 1 time in total
Back to top Go down
Hyper
Admin
avatar

Game username : Hyper
Server : Azoptaos
Male Posts : 529
Join date : 2014-02-09
Age : 20

PostSubject: Re: Critter Texture Keeps showing up White(SOLVED)   Wed Jul 01, 2015 4:58 am

Quote :
I'm pretty sure 1 bar of health is equal to 250.

One health bar is equal to 500.

________________________________
Back to top Go down
http://azoptaos.boards.net/
Tattoo

avatar

Game username : Tattoo
Female Posts : 169
Join date : 2013-08-26
Age : 20

PostSubject: Re: Critter Texture Keeps showing up White(SOLVED)   Wed Jul 01, 2015 5:05 am

Huh. It is? Idk where I got 250 from then. Ah well.
(really shouldn't have said it in the first place having not touched a source in a year)

Live and let learn.
Back to top Go down
CrystalxLuke

avatar

Game username : CrystalxLuke
Female Posts : 48
Join date : 2014-07-31
Age : 18

PostSubject: Re: Critter Texture Keeps showing up White(SOLVED)   Wed Jul 01, 2015 5:20 am

Hm, I tried both options and the texture stayed white.
I haven't touched most of the code yet when it comes to its attack.^^
Back to top Go down
Tattoo

avatar

Game username : Tattoo
Female Posts : 169
Join date : 2013-08-26
Age : 20

PostSubject: Re: Critter Texture Keeps showing up White(SOLVED)   Wed Jul 01, 2015 5:36 am

Are you typing it exactly. If I know something it's how extremely case sensitive these things are. Also, are you re encrypting it, replacing the old cd1, then trying it?
Back to top Go down
CrystalxLuke

avatar

Game username : CrystalxLuke
Female Posts : 48
Join date : 2014-07-31
Age : 18

PostSubject: Re: Critter Texture Keeps showing up White(SOLVED)   Wed Jul 01, 2015 5:42 am

Yeah, I think I'm spelling it right with case sensitive.
Yeah, I re-enecrypted it. I'll give it another go.
Back to top Go down
Tattoo

avatar

Game username : Tattoo
Female Posts : 169
Join date : 2013-08-26
Age : 20

PostSubject: Re: Critter Texture Keeps showing up White(SOLVED)   Wed Jul 01, 2015 5:55 am

Uhh try replacing the material in the cd1 file with "cerberusTex/SOLID/TEX/cerberusTEX.png"
Back to top Go down
CrystalxLuke

avatar

Game username : CrystalxLuke
Female Posts : 48
Join date : 2014-07-31
Age : 18

PostSubject: Re: Critter Texture Keeps showing up White(SOLVED)   Wed Jul 01, 2015 6:01 am

Oh, that did it! Thank you ^-^
Back to top Go down
Tattoo

avatar

Game username : Tattoo
Female Posts : 169
Join date : 2013-08-26
Age : 20

PostSubject: Re: Critter Texture Keeps showing up White(SOLVED)   Wed Jul 01, 2015 6:05 am

You're welcome Smile
Back to top Go down
Sponsored content




PostSubject: Re: Critter Texture Keeps showing up White(SOLVED)   

Back to top Go down
 
Critter Texture Keeps showing up White(SOLVED)
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 :: Solved Support Issues-
Jump to: