View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000126 | FSSCP | beams | public | 2004-03-05 15:05 | 2007-10-15 12:13 |
| Reporter | Singh | Assigned To | kasperl | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | no change required | ||
| Summary | 0000126: beam range is at 3km, regardless of what range is actually set at. | ||||
| Description | 1 bug i just think i found, not sure if its a bug tho. custom made beam weapons wont lock onto a target that is farther than 3 kilometers away for some strange reason. this is despite the range being set as much as 9 or 15 kilometers in some cases - the ship doesnt fire till it is 3 kilometers from target. It seemed to work fine in the env build, but then when i switched to the latest builds (26th feb one and this one) it reappears.... | ||||
| Additional Information | This is the actual table entry ; NOTE : most of the fields here are irrelevant and are only included so as not to break the parser ; beam weapons are a very special case weapon $Name: NBeam $Model File: none ; laser1-1.pof @Laser Bitmap: laserglow01 @Laser Color: 111, 255, 67 ; Puke pale green R 192 G 255 B 200 @Laser Length: 0.0 @Laser Head Radius: 0.3 @Laser Tail Radius: 0.3 $Mass: 105.0 $Velocity: 1600.0 ;; speed of the weapon (initially) -- may or may not change $Fire Wait: 5.0 ;; in seconds $Damage: 210 ;; NOTE: for beam weapons this is kind of a "continuous" damage applied every few fractions of a second that the beam is on. $Armor Factor: 1.5 $Shield Factor: 1.0 $Subsystem Factor: 0.8 $Lifetime: 2.0 ;; How long this thing lives $Energy Consumed: 1.10 ;; Energy used when fired $Cargo Size: 0.0 ;; Amount of space taken up in weapon cargo $Homing: NO $LaunchSnd: 155 ;; The sound it makes when fired $ImpactSnd: 105 ;; The sound it makes when it hits something +Weapon Range: 9000 ;; Limit to range at which weapon will actively target object $Flags: ("Big Ship" "huge" "beam") $Icon: icongun05 $Anim: LoadGun07 $Impact Explosion: ExpMissileHit1 $Impact Explosion Radius: 140 $BeamInfo: +Type: 1 ;; 0 - 4 are valid #'s +Life: 90.0 ;; how long it lasts once the beam is actually firing +Warmup: 9500 ;; warmup time in ms +Warmdown: 5500 ;; warmdown time in ms +Radius: 90.0 ;; muzzle glow radius in meters +PCount: 60 ;; particles spewed every interval +PRadius: 1.9 ;; particle radius +PAngle: 75.0 ;; angle of the random "cone" where the particles are generated +PAni: particleexp01 ;; particle ani +Miss Factor: 0.2 0.8 1.0 1.7 2.0 ;; magic # - higher == miss more (only really applicable to type 0 and type 3 beams) +BeamSound: 147 ;; the looping beam-firing sound +WarmupSound: 154 ;; associated warmup sound +WarmdownSound: 159 ;; associated warmdown sound +Muzzleglow: WarpGlow02 ;; muzzle glow bitmap +Shots: 0 ;; only used for TYPE 3 beams +ShrinkFactor: 0.4 ;; what percentage of lifetime where beam starts shrinking (0.1 == 10% life left) +ShrinkPct: 0.01 ;; what percentage of max width we subtract per second $Section: ;; one section of the beam (you can have up to 5) +Width: 142 ;; width of the section +Texture: beam-white2 ;; texture for this section +RGBA Inner: 255 255 255 255 ;; rgba values (only for non-textured beam compiles) +RGBA Outer: 150 150 150 10 ;; rgba values (only for non-textured beam compiles) +Flicker: 0.3 ;; how much it flickers (0.0 to 1.0) +Zadd: 2.0 ;; hehe $Section: ;; one section of the beam +Width: 149 ;; width of the section +Texture: beam-blue3 ;; texture for this section +RGBA Inner: 160 160 0 255 ;; rgba values (only for non-textured beam compiles) +RGBA Outer: 60 60 0 10 ;; rgba values (only for non-textured beam compiles) +Flicker: 0.4 ;; how much it flickers (0.0 to 1.0) +Zadd: 3.0 ;; hehe $Section: ;; one section of the beam (you can have up to 5) +Width: 142.5 ;; width of the section +Texture: beam-red1 ;; texture for this section +RGBA Inner: 255 255 255 255 ;; rgba values (only for non-textured beam compiles) +RGBA Outer: 150 150 150 10 ;; rgba values (only for non-textured beam compiles) +Flicker: 0.3 ;; how much it flickers (0.0 to 1.0) +Zadd: 2.0 ;; hehe | ||||
| Tags | No tags attached. | ||||
|
|
not sure if this is it or not, but volocity(1600) * lifetime(2) = 3200 ` what you are seeing, try raiseing it's lifetime and or velocety and see if that fixes it |
|
|
will someone see if that's it |
|
|
Reminder sent to Singh Is this bug still a problem. |
|
|
Reminder sent to Singh Can you check in a newer build is this is still an issue? Can you also try rasing the velocity and/or the lifetime? |
|
|
Leaving this in, 'cause this is something that might be fixable, but is more of a feature then a bug. Comments? |
|
|
Assigning to Bobboau because I think this is a bug of a feature he added previously. |
|
|
Reminder sent to Singh Singh, can you update us on this bug? |
|
|
pulled straight from ai_fire_from_turret(): weapon_firing_range = MIN(wip->lifetime * wip->max_speed, wip->weapon_range); you have to change either the lifetime or max speed so it'll be equal to 9000 in your case. |
|
|
This is a nonissue, then. Assigning to kasperl to be wrapped up. Kasperl, can you make sure you or one of the documentation guys adds a note to the Wiki about this? It should clarify that +Weapon Range specifies the maximum targetting range of the weapon, not the range the weapon lasts. Once that's done, this bug can be closed. |
|
|
:bump: Kasperl? Redmenace? |
|
|
Sorry, I've been AFK. Will add to wiki. |
|
|
Guys, we *really* would like to close this bug. :p |
|
|
Can one of the doc guys please take care of this? I really want to cross it off the list... |
|
|
ping-pong... |
|
|
Oh FFS. I was meaning to do this, and then I went to England. Anywayz, it was already in the wiki, as far as I can tell. Only in the article on fighterbeams it says something about the range flag actually giving the range, but since I didn't dare touch that, due to lack of knowledge. Bug closed. |
|
|
Documentation provided is ok. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2004-03-05 15:05 | Singh | New Issue | |
| 2004-03-06 08:20 | Bobboau | Note Added: 0000337 | |
| 2004-03-08 17:46 | Bobboau | Note Added: 0000395 | |
| 2004-03-09 07:50 | Rga_Noris | Summary | beam range! => beam range is at 3km, regardless of what range is actually set at. |
| 2004-09-07 19:50 | redmenace | Note Added: 0001217 | |
| 2005-03-12 20:25 | kasperl | Note Added: 0001777 | |
| 2005-03-13 19:57 | administrator | Assigned To | => user303 |
| 2005-03-13 19:57 | administrator | Status | new => feedback |
| 2005-03-20 09:48 | kasperl | Note Added: 0001999 | |
| 2005-05-25 03:11 | Goober5000 | Note Added: 0002496 | |
| 2005-05-25 03:11 | Goober5000 | Assigned To | user303 => Bobboau |
| 2005-05-25 03:12 | Goober5000 | Note Added: 0002497 | |
| 2005-05-25 03:49 | phreak | Note Added: 0002501 | |
| 2005-05-25 06:28 | Goober5000 | Note Added: 0002505 | |
| 2005-05-25 06:28 | Goober5000 | Category | FRED_OGL => beams |
| 2005-05-25 06:28 | Goober5000 | Assigned To | Bobboau => kasperl |
| 2005-06-30 01:45 | Goober5000 | Note Added: 0002719 | |
| 2005-06-30 01:45 | Goober5000 | Assigned To | kasperl => redmenace |
| 2005-07-02 10:19 | kasperl | Note Added: 0002731 | |
| 2005-07-12 20:21 | Goober5000 | Note Added: 0002764 | |
| 2005-07-29 04:17 | Goober5000 | Note Added: 0002896 | |
| 2005-08-18 20:13 | Goober5000 | Note Added: 0003023 | |
| 2005-08-18 20:13 | Goober5000 | Assigned To | redmenace => kasperl |
| 2005-08-18 20:47 | kasperl | Note Added: 0003024 | |
| 2005-08-18 20:48 | kasperl | Status | feedback => closed |
| 2005-08-18 20:48 | kasperl | Note Added: 0003025 | |
| 2007-10-15 12:13 | taylor | Resolution | open => no change required |