View Issue Details

IDProjectCategoryView StatusLast Update
0002162FSSCPmodelspublic2010-05-03 12:32
ReporterFUBAR-BDHR Assigned ToGenghis  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.6.12 RC1 
Summary0002162: Thruster cones have collision detection
DescriptionThe thruster subobjects on which the .ani or .eff effect is rendered in game can be shot. Looks kind of stupid hitting and having debris particles fly off of a flame.
Additional InformationAttaching test mission. It's a pain in the butt to reproduce even with it. Basically 15 seconds into the mission the Faustus will start doing waypoints You have to get yourself in a position to shoot from the side and hit just the flame preferably close to the ship without hitting the ship. I'd suggest modifying the mission with a glide or slide capable ship if you have one handy.
TagsNo tags attached.

Activities

2010-03-25 20:46

 

0cone.fs2 (4,328 bytes)

FUBAR-BDHR

2010-03-25 20:57

developer   ~0011833

Almost forgot adding $no_collide_this_only (or whatever that property is called) to the thruster object seems to work around the issue. Of course it's not an option when using retail data.

2010-03-30 02:24

 

fix_2162.diff (759 bytes)   
Index: code/model/modelread.cpp
===================================================================
--- code/model/modelread.cpp	(revision 6028)
+++ code/model/modelread.cpp	(working copy)
@@ -1502,6 +1502,16 @@
 				else
 					pm->submodel[n].is_thruster=0;
 
+				// Genghis: if we have a thruster and none of the collision 
+				// properties were provided, then set "nocollide_this_only".
+				if (pm->submodel[n].is_thruster
+					&& false == pm->submodel[n].no_collisions
+					&& false == pm->submodel[n].nocollide_this_only
+					&& false == pm->submodel[n].collide_invisible)
+				{
+					pm->submodel[n].nocollide_this_only = true;
+				}
+
 				if ( strstr( pm->submodel[n].name, "-destroyed") )	
 					pm->submodel[n].is_damaged=1;
 				else
fix_2162.diff (759 bytes)   

Genghis

2010-03-30 02:27

developer   ~0011843

Give the patch fix_2162.diff a try.

What it does is, if a submodel is a thruster but hasn't had any collision properties provided ("$no_collisions", "$nocollide_this_only", "$collide_invisible"), then it sets $nocollide_this_only on by default.

The_E

2010-05-03 12:32

administrator   ~0011930

Fix committed in revision 6089

Issue History

Date Modified Username Field Change
2010-03-25 20:46 FUBAR-BDHR New Issue
2010-03-25 20:46 FUBAR-BDHR File Added: 0cone.fs2
2010-03-25 20:57 FUBAR-BDHR Note Added: 0011833
2010-03-30 02:23 Genghis Status new => assigned
2010-03-30 02:23 Genghis Assigned To => Genghis
2010-03-30 02:24 Genghis File Added: fix_2162.diff
2010-03-30 02:27 Genghis Note Added: 0011843
2010-05-03 12:32 The_E Note Added: 0011930
2010-05-03 12:32 The_E Status assigned => resolved
2010-05-03 12:32 The_E Resolution open => fixed