View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000705 | FSSCP | gameplay | public | 2006-01-12 09:15 | 2006-01-17 16:48 |
| Reporter | thesource2 | Assigned To | WMCoolmon | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Summary | 0000705: Ships move when must not | ||||
| Description | In training 6 Deimos not just fired on me with turrets but moved around me with it's maximum speed. I think that's because you forgot to make some distinction in AI: fighter atacking fighter must move, warship atacking warship must move, but warship ordered to atack fighter must only fire turrets, but not to start moving! | ||||
| Tags | No tags attached. | ||||
|
|
I narrowed it down to the new objecttypes.tbl feature and how cap-cap battles are handled. We need a ship type specified as "non-broadsideable" (is that a word?), or something similar that would prevent the attacking ship to try and get into position, or possibly move toward it and stop once it gets in range of its weapons. |
|
|
Assigning to WMC since thats his can of worms |
|
|
Were you able to figure out where in the code the problem occurs? |
|
|
ai_chase() calls ai_cruiser_chase() since the ai class is setup to broadside in ai_cruiser_chase() its that second block of code you commented out if (!(esip->flags & (SIF_BIG_SHIP | SIF_HUGE_SHIP))) { // Int3(); // Hmm, we're big and we're pursuing something other than a big ship? aip->mode = AIM_NONE; return; } |
|
|
Damn, I remember that. I was hoping I wouldn't have to deal with something like that because it means I have to build a list of ship types and then convert those to ints when parsing the code, an altogether inefficient affair. Oh well. |
|
|
I *believe* I have fixed this, it'll go in when I next commit aicode.cpp |
|
|
Yes, it is fixed |
|
|
Nifty. :) |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2006-01-12 09:15 | thesource2 | New Issue | |
| 2006-01-14 01:21 | phreak | Note Added: 0004258 | |
| 2006-01-14 01:22 | phreak | Note Added: 0004259 | |
| 2006-01-14 01:22 | phreak | Assigned To | => WMCoolmon |
| 2006-01-14 01:22 | phreak | Severity | major => minor |
| 2006-01-14 01:22 | phreak | Status | new => assigned |
| 2006-01-14 09:19 | WMCoolmon | Note Added: 0004271 | |
| 2006-01-14 09:32 | phreak | Note Added: 0004272 | |
| 2006-01-14 12:38 | WMCoolmon | Note Added: 0004285 | |
| 2006-01-14 19:19 | WMCoolmon | Note Added: 0004289 | |
| 2006-01-17 08:36 | thesource2 | Note Added: 0004334 | |
| 2006-01-17 16:48 | WMCoolmon | Status | assigned => resolved |
| 2006-01-17 16:48 | WMCoolmon | Resolution | open => fixed |
| 2006-01-17 16:48 | WMCoolmon | Note Added: 0004346 |