Page 1 of 1

Weird Shader Error [Solved]

Posted: Wed Nov 09, 2011 12:05 am
by Noobasaurus
This:

Code: Select all

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Graphics\PC\pcRedSegment.cpp(332)
pcShaderSegment: no shader for rendertype * [0x2f0c9f3d]
makes my map crash. It suddenly appeared. The last thing I did was change some rocket stuff on my sides.

Re: Weird Shader Error

Posted: Wed Nov 09, 2011 12:23 am
by THEWULFMAN
You're going to have to tell us a lot more than that. What specifically did you add? Models, effects, everything.

Re: Weird Shader Error

Posted: Wed Nov 09, 2011 12:45 am
by Noobasaurus
I messed with

Code: Select all

SalvoCount          = "24"
ShotsPerSalvo           = 24
ShotPatternCount        = 24
ShotPatternPitchYaw     = "0.0 0.0"
stuff. Just added and changed some.

...actually, now that I think about it, I made a new grenade effect...

Re: Weird Shader Error

Posted: Wed Nov 09, 2011 12:56 am
by THEWULFMAN
Noobasaurus wrote:I messed with

Code: Select all

SalvoCount          = "24"
ShotsPerSalvo           = 24
ShotPatternCount        = 24
ShotPatternPitchYaw     = "0.0 0.0"

That's your problem. "Messing" with that will cause a ctd with no sev 3 errors unless you know what the heck you're doing.

Each shot has to have a ShotPatternPitchYaw = "0.0 0.0" line, if you add ShotPatternCount = 24 that is. Also, if you don't change the Pitch and Yaw of each shot, you'll have all bullets right on top of eachother.


Long story short: change that back, fix your CTD.

Re: Weird Shader Error

Posted: Wed Nov 09, 2011 12:58 am
by Noobasaurus
I was messing with it before and it worked fine!

Code: Select all

SalvoCount          = "24"
SalvoDelay          = "0.001"
InitialSalvoDelay   = "0.001"
SalvoTime           = "0.001"
ShotsPerSalvo           = 24
ShotPatternCount        = 24
ShotPatternPitchYaw     = "0.0 0.0"
ShotPatternPitchYaw     = "1.0 5.0"
ShotPatternPitchYaw     = "-1.0 5.0"
ShotPatternPitchYaw     = "1.0 20.0"
ShotPatternPitchYaw     = "-1.0 20.0"
ShotPatternPitchYaw     = "1.0 0.5"
ShotPatternPitchYaw     = "2.0 0.5"
ShotPatternPitchYaw     = "3.0 0.5"
ShotPatternPitchYaw     = "4.0 0.5"
ShotPatternPitchYaw     = "5.0 0.5"
ShotPatternPitchYaw     = "6.0 0.5"
ShotPatternPitchYaw     = "7.0 0.5"
ShotPatternPitchYaw     = "8.0 0.5"
ShotPatternPitchYaw     = "9.0 0.5"
ShotPatternPitchYaw     = "10.0 0.5"
ShotPatternPitchYaw     = "-1.0 0.5"
ShotPatternPitchYaw     = "-2.0 0.5"
ShotPatternPitchYaw     = "-3.0 0.5"
ShotPatternPitchYaw     = "-4.0 0.5"
ShotPatternPitchYaw     = "-5.0 0.5"
ShotPatternPitchYaw     = "-6.0 0.5"
ShotPatternPitchYaw     = "-7.0 0.5"
ShotPatternPitchYaw     = "-8.0 0.5"
ShotPatternPitchYaw     = "-9.0 0.5"
ShotPatternPitchYaw     = "-10.0 0.5"
That's right now. :P

EDIT: Daaaaaang, there's 25...
And yes, I do know
THEWULFMAN wrote:what the heck you're doing.
EDIT2: Got it.