View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002162 | FSSCP | models | public | 2010-03-25 20:46 | 2010-05-03 12:32 |
| Reporter | FUBAR-BDHR | Assigned To | Genghis | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Product Version | 3.6.12 RC1 | ||||
| Summary | 0002162: Thruster cones have collision detection | ||||
| Description | The 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 Information | Attaching 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. | ||||
| Tags | No tags attached. | ||||
|
2010-03-25 20:46
|
|
|
|
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
|
|
|
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. |
|
|
Fix committed in revision 6089 |
| 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 |