Models


(cementoske) #1

Hi ,

I added some RTCW models to my map and i think that’s why i get this error : sv_setbrushmodel : null

do the models have to be a misc_model or a misc_gamemodel?

I setted every not standard model to : misc_gamemodel but i still got the sv_setbrushmodel : null error

I also checked for lost origin entities , … and i still didn’t find the problem o_O
I also tryed brush cleanup but that also didn’t work :confused:

CemY


(Java.Lang) #2

Yeah sv_setbrushmodel has always been an origin brush flying around on it’s own for me. Usually for brushwork entities like script_movers.

The way I remember the differences between misc_models and game models?

misc_models get compiled into the map, this means you do not need to include the model file in your pk3.

misc_gamemodels are added at runtime, you do need to include these in your pk3.

I set any model that is static, as a misc_model, and any model that I may be using as part of a script_mover, as a misc_gamemodel.

Importing from RtCW should make no difference. Just keep in mind that although you are compiling the model into the map, you still need the model’s texture and shader (if applicable).


(cementoske) #3

Demn, well all my models are included in my .pk3 file , they are all misc_gamemodel

but still i get this sv_setbrushmodel o_O i searched for days in my map for an origin brush , but i can’t find a wrong one o_O


(cementoske) #4

euhm help o_O cementos@hotmail.com


(zl1corvette) #5

Did you open the map in a text editor? You could try searching for textures/common/origin and deleting any brushes that aren’t part of some entity with other brushes. I would definately make a backup first though.


(cementosje) #6

Ah ok that’s kinda smart to open it with a text editor :smiley:

I’ll have a look at it when i’m back from school

:bored: