Jump to content

Error: SV_SetBrushModel: NULL on entity 29/28


Recommended Posts

So I have been working today on my map and i am trying to figure out where the error in the title comes from, since i cant fire up the map anymore. I just added brushes. I went through the whole map, removed all func_groups again from the list and it left me with just about 40 entities. Still same error. Copied the map over to a different map, renamed, recompiled, same. The compile stage gives no error, so i am a bit stumped.

So took a bit up on the idea that it could be also something outside of an entity. so i made a copy of my map, removed all entities out of the file, palced a new spawnpoint and i could load it back in. So its somehwere in this mess, but not sure where. According to Ensiform, the numbering doesnt say everything. 29 was a waypoint in earlier file and in new file its something else where it jeps on 28, its something else.

// entity 1
{
"deathscript" "sp/sp1_cove/npc_NebbZa/deathscript"
"classname" "NPC_Rodian"
"origin" "384 364 -256"
"npc_targetname" "NPC_NebbZa"
"spawnscript" "sp/sp1_cove/npc_NebbZa/spawnscript"
"spawnflags" "33"
"angle" "345"
}
// entity 2
{
"classname" "waypoint_navgoal"
"origin" "2936 1608 -272"
"target" "t2"
"navgoal" "howler1_point1"
}
// entity 3
{
"classname" "waypoint_navgoal"
"origin" "1792 2304 -280"
"navgoal" "howler1_point2"
}
// entity 4
{
"classname" "waypoint"
"origin" "2944 1616 -272"
"target" "t3"
}
// entity 5
{
"origin" "1800 2296 -280"
"classname" "waypoint"
"targetname" "t5"
}
// entity 6
{
"targetname" "t10"
"classname" "target_scriptrunner"
"origin" "688 252 -152"
"Usescript" "sp/sp1_cove/npc_NebbZa/cutscene"
"delay" "0.2"
}
// entity 7
{
"targetname" "cutscene_camRodian1"
"target" "t7"
"origin" "696 196 -128"
"classname" "ref_tag"
}
// entity 8
{
"targetname" "t7"
"origin" "512 316 -176"
"classname" "info_null"
}
// entity 9
{
"classname" "ref_tag"
"origin" "528 444 -200"
"target" "t8"
"targetname" "cutscene_camRodian2"
}
// entity 10
{
"classname" "info_null"
"origin" "480 388 -224"
"targetname" "t8"
}
// entity 11
{
"angle" "180"
"targetname" "fakeplayer_position_1"
"origin" "464 340 -256"
"classname" "waypoint_navgoal"
"script_targetname" "fakeplayer_position_1"
}
// entity 12
{
"targetname" "t9"
"origin" "472 324 -256"
"classname" "waypoint"
}
// entity 13
{
"target" "t9"
"classname" "waypoint"
"origin" "768 228 -280"
}
// entity 14
{
"targetname" "t10"
"classname" "NPC_Player"
"origin" "784 228 -264"
"npc_targetname" "fakeplayerNebbZa"
"spawnflags" "48"
"angle" "180"
}
// entity 15
{
"targetname" "t6"
"target" "t10"
"origin" "688 252 -208"
"classname" "target_relay"
}
// entity 16
{
"targetname" "cutscene_camRodian3"
"target" "t12"
"origin" "448 276 -208"
"classname" "ref_tag"
}
// entity 17
{
"targetname" "t12"
"origin" "440 316 -224"
"classname" "info_null"
}
// entity 18
{
"target" "t5"
"targetname" "t4"
"origin" "2496 2600 -280"
"classname" "waypoint"
}
// entity 19
{
"target" "t4"
"targetname" "t3"
"classname" "waypoint"
"origin" "2984 2264 -264"
}
// entity 20
{
"spawnscript" "sp/sp1_cove/howler1/spawnscript"
"origin" "2968 1624 -272"
"classname" "NPC_Monster_Howler"
"spawnflags" "16"
}
// entity 21
{
"targetname" "tiefighter_cam"
"origin" "3904 240 -144"
"classname" "ref_tag"
}
// entity 22
{
"targetname" "tie_end"
"origin" "2688 4144 1344"
"classname" "ref_tag"
}
// entity 23
{
"classname" "target_scriptrunner"
"origin" "4752 240 -264"
"Usescript" "sp/sp1_cove/player/spawnscript"
"targetname" "t1"
}
// entity 24
{
"target" "t1"
"targetname" "spawnrelay"
"origin" "4712 240 -312"
"classname" "target_relay"
}
// entity 25
{
"spawnflags" "2"
"target" "spawnrelay"
"angle" "135"
"classname" "info_player_start"
"origin" "4624 240 -320"
}
// entity 26
{
"targetname" "tie_start"
"origin" "-1592 -3824 1344"
"classname" "ref_tag"
}
// entity 27
{
"angle" "180"
"spawnflags" "2"
"origin" "3912 240 -320"
"classname" "waypoint_navgoal"
"targetname" "fakeplayertie_position_1"
}
// entity 28
{
"classname" "target_relay"
"origin" "4536 248 -296"
"target" "t14"
"targetname" "t13"
}
// entity 29
{
"classname" "target_scriptrunner"
"origin" "4536 224 -296"
"targetname" "t14"
"Usescript" "sp/sp1_cove/events/tiecutscene"
"delay" "0.1"
}
// entity 30
{
"classname" "ref_tag"
"origin" "3656 240 -160"
"target" "t17"
"targetname" "tiecut_start"
}
// entity 31
{
"targetname" "tiecut_2"
"origin" "3864 160 -288"
"classname" "ref_tag"
"target" "t18"
}
// entity 32
{
"classname" "info_null"
"origin" "3880 192 -288"
"targetname" "t18"
}
// entity 33
{
"npc_targetname" "fakeplayertie"
"spawnflags" "48"
"targetname" "t14"
"angle" "180"
"origin" "4128 240 -304"
"classname" "NPC_Player"
}
// entity 34
{
"targetname" "t17"
"origin" "3808 240 -240"
"classname" "info_null"
}
// entity 35
{
"classname" "ref_tag"
"origin" "3840 240 -296"
"targetname" "tiecut_3"
"target" "t19"
}
// entity 36
{
"classname" "info_null"
"origin" "3864 240 -296"
"targetname" "t19"
}
// entity 37
{
"light" "1000"
"origin" "336 264 -200"
"classname" "light"
}
// entity 38
{
"classname" "misc_model_static"
"origin" "368 484 -220"
"model" "models/map_objects/ships/z_95.md3"
"angle" "255"
}
// entity 39
{
"fxFile" "volumetric/smoke.efx"
"target" "t20"
"origin" "544 600 -208"
"classname" "fx_runner"
}
// entity 40
{
"targetname" "t20"
"origin" "544 600 -184"
"classname" "info_null"
}
// entity 41
{
"targetname" "trigger_cutscene"
"target" "t6"
"wait" "1"
"spawnflags" "1"
"classname" "trigger_once"
// brush 0
{
( 752 252 -328 ) ( 688 252 -328 ) ( 688 188 -328 ) system/trigger -128 240 0 0.250000 0.250000 134217728 15 0
( 680 276 -8 ) ( 680 340 -8 ) ( 744 340 -8 ) system/trigger -128 240 0 0.250000 0.250000 134217728 15 0
( 688 148 -40 ) ( 752 148 -40 ) ( 752 148 -48 ) system/trigger -128 0 0 0.250000 0.250000 134217728 15 0
( 744 268 -152 ) ( 744 332 -152 ) ( 744 332 -160 ) system/trigger -240 0 0 0.250000 0.250000 134217728 15 0
( 744 636 -32 ) ( 680 636 -32 ) ( 680 636 -40 ) system/trigger -128 0 0 0.250000 0.250000 134217728 15 0
( 256 324 -32 ) ( 256 260 -32 ) ( 256 260 -40 ) system/trigger -240 0 0 0.250000 0.250000 134217728 15 0
}
}
// entity 42
{
"spawnflags" "1"
"target" "t13"
"classname" "trigger_once"
// brush 0
{
( 4352 376 768 ) ( 4352 -296 768 ) ( 4352 -296 760 ) system/trigger -224 0 0 0.250000 0.250000 134217728 15 0
( 4352 2752 1176 ) ( 4352 2752 -416 ) ( 4416 2752 -416 ) system/trigger -96 0 0 0.250000 0.250000 134217728 15 0
( 4408 1608 8 ) ( 4408 2280 8 ) ( 4408 2280 0 ) system/trigger -224 0 0 0.250000 0.250000 134217728 15 0
( 4344 -1408 -416 ) ( 4344 -1408 1176 ) ( 4408 -1408 1176 ) system/trigger -96 0 0 0.250000 0.250000 134217728 15 0
( 4352 -1984 1176 ) ( 4352 2752 1176 ) ( 4416 2752 1176 ) system/trigger -96 224 0 0.250000 0.250000 134217728 15 0
( 4352 2752 -416 ) ( 4352 -1984 -416 ) ( 4416 -1984 -416 ) system/trigger -96 224 0 0.250000 0.250000 134217728 15 0
}
}
// entity 43
{
"script_targetname" "tiefighter"
"modelAngles" "0 65 0"
"model2" "models/map_objects/ships/tie_fighter.md3"
"classname" "func_static"
"targetname" "tiefighter"
// brush 0
{
( -1592 -3640 688 ) ( -1608 -3640 688 ) ( -1608 -4000 688 ) system/origin 0 0 0 0.250000 0.250000 0 14 0
( -1600 -4000 704 ) ( -1600 -3640 704 ) ( -1584 -3640 704 ) system/origin 0 0 0 0.250000 0.250000 0 14 0
( -1600 -3832 704 ) ( -1584 -3832 704 ) ( -1584 -3832 696 ) system/origin 0 -32 0 0.250000 0.250000 0 14 0
( -1584 -4176 704 ) ( -1584 -3816 704 ) ( -1584 -3816 696 ) system/origin 0 -32 0 0.250000 0.250000 0 14 0
( -1584 -3816 704 ) ( -1600 -3816 704 ) ( -1600 -3816 696 ) system/origin 0 -32 0 0.250000 0.250000 0 14 0
( -1600 -3472 704 ) ( -1600 -3832 704 ) ( -1600 -3832 696 ) system/origin 0 -32 0 0.250000 0.250000 0 14 0
}
}
// entity 44
{
"classname" "waypoint"
"origin" "3936 248 -304"
"spawnflags" "2"
"targetname" "t16"
}
// entity 45
{
"spawnflags" "2"
"target" "t16"
"classname" "waypoint"
"origin" "4128 248 -296"
}

 

Link to comment

SV_SetBrushModel: Null is a run-time error, and unfortunately will not be visible during compile. For a full explanation of what causes this error, see here:
https://nab622.com/tutorials/MappingErrors.html#runtime_errors-sv_setbrushmodel_null

Hopefully that can guide you in the right direction.

 

Edit: Just took a quick glance, and entity 43 in your list is definitely a culprit since it contains only an origin brush, although it is possibly not the only one:

// entity 43
{
"script_targetname" "tiefighter"
"modelAngles" "0 65 0"
"model2" "models/map_objects/ships/tie_fighter.md3"
"classname" "func_static"
"targetname" "tiefighter"
// brush 0
{
( -1592 -3640 688 ) ( -1608 -3640 688 ) ( -1608 -4000 688 ) system/origin 0 0 0 0.250000 0.250000 0 14 0
( -1600 -4000 704 ) ( -1600 -3640 704 ) ( -1584 -3640 704 ) system/origin 0 0 0 0.250000 0.250000 0 14 0
( -1600 -3832 704 ) ( -1584 -3832 704 ) ( -1584 -3832 696 ) system/origin 0 -32 0 0.250000 0.250000 0 14 0
( -1584 -4176 704 ) ( -1584 -3816 704 ) ( -1584 -3816 696 ) system/origin 0 -32 0 0.250000 0.250000 0 14 0
( -1584 -3816 704 ) ( -1600 -3816 704 ) ( -1600 -3816 696 ) system/origin 0 -32 0 0.250000 0.250000 0 14 0
( -1600 -3472 704 ) ( -1600 -3832 704 ) ( -1600 -3832 696 ) system/origin 0 -32 0 0.250000 0.250000 0 14 0
}
}

 

Link to comment
6 hours ago, NAB622 said:

SV_SetBrushModel: Null is a run-time error, and unfortunately will not be visible during compile. For a full explanation of what causes this error, see here:
https://nab622.com/tutorials/MappingErrors.html#runtime_errors-sv_setbrushmodel_null

Hopefully that can guide you in the right direction.

 

Edit: Just took a quick glance, and entity 43 in your list is definitely a culprit since it contains only an origin brush, although it is possibly not the only one:


// entity 43
{
"script_targetname" "tiefighter"
"modelAngles" "0 65 0"
"model2" "models/map_objects/ships/tie_fighter.md3"
"classname" "func_static"
"targetname" "tiefighter"
// brush 0
{
( -1592 -3640 688 ) ( -1608 -3640 688 ) ( -1608 -4000 688 ) system/origin 0 0 0 0.250000 0.250000 0 14 0
( -1600 -4000 704 ) ( -1600 -3640 704 ) ( -1584 -3640 704 ) system/origin 0 0 0 0.250000 0.250000 0 14 0
( -1600 -3832 704 ) ( -1584 -3832 704 ) ( -1584 -3832 696 ) system/origin 0 -32 0 0.250000 0.250000 0 14 0
( -1584 -4176 704 ) ( -1584 -3816 704 ) ( -1584 -3816 696 ) system/origin 0 -32 0 0.250000 0.250000 0 14 0
( -1584 -3816 704 ) ( -1600 -3816 704 ) ( -1600 -3816 696 ) system/origin 0 -32 0 0.250000 0.250000 0 14 0
( -1600 -3472 704 ) ( -1600 -3832 704 ) ( -1600 -3832 696 ) system/origin 0 -32 0 0.250000 0.250000 0 14 0
}
}

 

I ll check it out. It has always worked anyway, until yesterday, havent touched it really, elsei ll try to remake it.

Link to comment

Yeah, I figured you were using it to move a model. You're doing it correctly, but you need to add another brush to that entity. You can't have just an origin brush in it.


Add a small brush of caulking and that entity will no longer cause the error. ?

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...