Langerd Posted April 21, 2015 Posted April 21, 2015 (edited) The texture works great yey in the SP. But in multi it devour whole model.So i changed it and ... IT WORKS!!! But i have still one problem! Working transpent texture (a cloth that is blown apart) . Even it works in SP it doesnt work in MP . But then OvO It works in MP but doesnt in SP...Why Mp use other shader system??!?!? This doesnt make any sens! It doesnt load anything from folders, it use diffrent MD3 for weapons (there are many MD3 models that works only in multi ( If we want to make these parts invisible we must make empty model or use the code which is STUPID ) and we must change the options in the GTKradiant for maps.... PAIN IN THE ASSSry but i am pissed off ... And i cant start SP FOR NO GODDAMN REASON... I DIDNT EVEN TOUCH THIS KIND OF FILES. Edited April 21, 2015 by Langerd
eezstreet Posted April 21, 2015 Posted April 21, 2015 Is this asking for help, or a complaint against MP's shader system?Either way, it'd probably help if you posted your shader.
ensiform Posted April 21, 2015 Posted April 21, 2015 Your shaders are broken / spreading incorrect syntax. Stop making broken shaders. Paste the shader file text somewhere we can view online. z3filus likes this
Langerd Posted April 21, 2015 Author Posted April 21, 2015 I made it ... I took the shader from the model for JK2 (Mc Tusken) and it works. models/players/stalkertat/cpu{ q3map_nolightmap { map models/players/stalkertat/cpu blendFunc GL_ONE GL_ZERO rgbGen lightingDiffuse } { map models/players/stalkertat/cpu_spec blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_COLOR detail alphaGen lightingSpecular } { animMap 16 models/players/stalkertat/cpu1 models/players/stalkertat/cpu2 models/players/stalkertat/cpu3 models/players/stalkertat/cpu4 blendFunc GL_ONE GL_ONE detail }}models/players/stalkertat/extras{ cull disable { map models/players/stalkertat/extras rgbGen lightingDiffuse } { map models/players/stalkertat/default_reflect blendFunc GL_ONE GL_ONE rgbGen lightingDiffuse tcGen environment } { map models/players/stalkertat/extras blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA rgbGen lightingDiffuse }}models/players/stalkertat/head{ { map models/players/stalkertat/head rgbGen lightingDiffuse } { map models/players/stalkertat/default_reflect blendFunc GL_ONE GL_ONE rgbGen lightingDiffuse tcGen environment } { map models/players/stalkertat/head blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA rgbGen lightingDiffuse }}models/players/stalkertat/hips{ cull disable { map models/players/stalkertat/hips rgbGen lightingDiffuse } { map models/players/stalkertat/default_reflect blendFunc GL_ONE GL_ONE rgbGen lightingDiffuse tcGen environment } { map models/players/stalkertat/hips blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA rgbGen lightingDiffuse }}models/players/stalkertat/torso{ cull disable { map models/players/stalkertat/torso rgbGen lightingDiffuse } { map models/players/stalkertat/default_reflect blendFunc GL_ONE GL_ONE rgbGen lightingDiffuse tcGen environment } { map models/players/stalkertat/torso blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA rgbGen lightingDiffuse }}models/players/stalkertat/tabs{ cull twosided q3map_nolightmap { map models/players/stalkertat/tabs alphaFunc GE128 blendFunc GL_ONE GL_ZERO depthWrite rgbGen lightingDiffuse }}models/players/stalkertat/head_blue{ { map models/players/stalkertat/head_blue rgbGen lightingDiffuse } { map models/players/stalkertat/default_reflect blendFunc GL_ONE GL_ONE rgbGen lightingDiffuse tcGen environment } { map models/players/stalkertat/head_blue blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA rgbGen lightingDiffuse }}models/players/stalkertat/tabs_blue{ cull twosided q3map_nolightmap { map models/players/stalkertat/tabs_blue alphaFunc GE128 blendFunc GL_ONE GL_ZERO depthWrite rgbGen lightingDiffuse }}models/players/stalkertat/head_red{ { map models/players/stalkertat/head_red rgbGen lightingDiffuse } { map models/players/stalkertat/default_reflect blendFunc GL_ONE GL_ONE rgbGen lightingDiffuse tcGen environment } { map models/players/stalkertat/head_red blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA rgbGen lightingDiffuse }}models/players/stalkertat/tabs_red{ cull twosided q3map_nolightmap { map models/players/stalkertat/tabs_red alphaFunc GE128 blendFunc GL_ONE GL_ZERO depthWrite rgbGen lightingDiffuse }}models/players/stalkertat/torso_red{ { map models/players/stalkertat/torso_red rgbGen lightingDiffuse } { map models/players/stalkertat/default_reflect blendFunc GL_ONE GL_ONE rgbGen lightingDiffuse tcGen environment } { map models/players/stalkertat/torso_red blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA rgbGen lightingDiffuse }}models/players/stalkertat/torso_blue{ { map models/players/stalkertat/torso_blue rgbGen lightingDiffuse } { map models/players/stalkertat/default_reflect blendFunc GL_ONE GL_ONE rgbGen lightingDiffuse tcGen environment } { map models/players/stalkertat/torso_blue blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA rgbGen lightingDiffuse }} I checked and no errors. But still i have to make the new topic for SP issue... Is this asking for help, or a complaint against MP's shader system?Either way, it'd probably help if you posted your shader.A little angry sry... 2 hours spent on this and it probably bugged my SP menu files for random reason.
ensiform Posted April 22, 2015 Posted April 22, 2015 Have you tried with OpenJK it might give you rough line numbers of the error. I'm not spotting it yet. These are the kinds of things that OpenJK tried to prevent by disallowing the ###### comment syntax.
Cerez Posted April 22, 2015 Posted April 22, 2015 I can't see a syntax error. The "cull disable" settings have more than one space between the two words, but it's not likely that that's what's causing the problem. If worse comes to worse, you could try a process of elimination to find the problematic section in the script, @@Langerd.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now