Weird Shader Error [Solved]

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
Noobasaurus
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2006
Joined: Tue Aug 17, 2010 5:56 pm

Weird Shader Error [Solved]

Post 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.
Last edited by Noobasaurus on Wed Nov 09, 2011 2:00 am, edited 1 time in total.
THEWULFMAN
Space Ranger
Posts: 5557
Joined: Tue Aug 17, 2010 3:30 pm
Projects :: Evolved 2
Location: Columbus, Ohio
Contact:

Re: Weird Shader Error

Post by THEWULFMAN »

You're going to have to tell us a lot more than that. What specifically did you add? Models, effects, everything.
Noobasaurus
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2006
Joined: Tue Aug 17, 2010 5:56 pm

Re: Weird Shader Error

Post 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...
THEWULFMAN
Space Ranger
Posts: 5557
Joined: Tue Aug 17, 2010 3:30 pm
Projects :: Evolved 2
Location: Columbus, Ohio
Contact:

Re: Weird Shader Error

Post 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.
Last edited by THEWULFMAN on Wed Nov 09, 2011 1:05 am, edited 1 time in total.
Noobasaurus
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2006
Joined: Tue Aug 17, 2010 5:56 pm

Re: Weird Shader Error

Post 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.
Post Reply