View Issue Details

IDProjectCategoryView StatusLast Update
0004075The Dark ModCodingpublic03.10.2015 14:11
ReporterSteveL Assigned ToSteveL  
PrioritylowSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
Product VersionTDM 2.03 
Target VersionTDM 2.04Fixed in VersionTDM 2.04 
Summary0004075: s_shader set to "-" causes map crash on load
DescriptionA door in a glitching map sent in by Amadeus has "s_shader" "-" on it. It crashes at map start, in idEntity::Spawn while it's setting up sounds.

Doors don't usually have a s_shader spawnarg so it could be down to the "-" or the presence of the shader. It looked like the "-" was at fault -- it causes an invalid/default "ref_sound" to be set for the entity during spawnarg parsing.
TagsNo tags attached.

Relationships

related to 0004130 resolvedgrayman Doors w/o handles can be heard opening for a time at mission start 

Activities

SteveL

SteveL

03.10.2015 14:08

reporter   ~0007835

Last edited: 03.10.2015 14:10

The origin of sounds for handle-less doors is calculated using the player's position. Adding an "s_shader" spawnarg to a door was making that happen when the door spawned, before the player had spawned. Use 0,0,0 instead of the player's position if the player isn't there.

At rev 6548
FrobDoor.cpp

Issue History

Date Modified Username Field Change
01.02.2015 21:42 SteveL New Issue
03.10.2015 14:01 SteveL Assigned To => SteveL
03.10.2015 14:01 SteveL Status new => assigned
03.10.2015 14:08 SteveL Note Added: 0007835
03.10.2015 14:08 SteveL Relationship added related to 0004130
03.10.2015 14:10 SteveL Note Edited: 0007835
03.10.2015 14:11 SteveL Status assigned => resolved
03.10.2015 14:11 SteveL Fixed in Version => TDM 2.04
03.10.2015 14:11 SteveL Resolution open => fixed