View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0003825 | Spring engine | General | public | 2013-06-01 18:02 | 2014-10-31 18:37 |
| Reporter | azaremoth | Assigned To | abma | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | not fixable | ||
| Product Version | 94.1 | ||||
| Summary | 0003825: Burst weapons do not have reload time anymore | ||||
| Description | The reload time of burst weapons seams to have disappeared in the latest SVN. That turned the Belial's "shotgun" into a fully automated shotgun. | ||||
| Additional Information | BELIALBIGGUN = { accuracy = 100, areaOfEffect = 50, burst = 4, burstrate = 0.01, burnblow = false, energypershot = 0, explosionGenerator = "custom:Mancubus_Hit_Explosion", interceptedByShieldType = 2, lineOfSight = true, name = "Chain Gun", range = 650, reloadtime = 5, soundHit = "mediumexplosion", soundStart = "belial_biggun", soundStartVolume = 40, -- soundTrigger = true, sprayAngle = 2048, startsmoke = "1", startVelocity = 800, sweepfire = true, tolerance = 3000, turret = true, weaponVelocity = 900, -- Weaponspecial ------------------------------------------ intensity = 1, coreThickness = 1, weaponType = "LaserCannon", rgbColor = "0.8745 1 0.1568", texture1 = "greengunshot", texture2 = "null_texture", thickness = 4, ------------------------------------------------------------ damage = { default = 140, flyer = 140, heavy = 140, light = (140*0.75), }, }, | ||||
| Tags | No tags attached. | ||||
| Checked infolog.txt for Errors | |||||
|
|
After further testing the issue is caused for units that: a) have a cob script b) weapon stats (reload time) was changed by lua Depending on the unit the reload time can also be incresed (euf_walker, non-burst weapon). Might be related to: " ! remove TA-specific code in CobInstance::Create (this changes the argument value to COB's SetMaxReloadTime for units equipped with BeamLasers and / or more than one weapon)" --> what does that mean for my lua code? |
|
|
Correction here: I have converted the cob script to lua and the bug still persists. It is not limited to cob scripts. |
|
|
"weapon stats (reload time) was changed by lua" If the reloadTime value is changed s.t. (value*30 < reloadSpeed) (where reloadSpeed is an internal variable that defaults to 1 and increases with experience) then this could happen. Also, a burstrate of 0.01 means the salvo delay in frames (floor(burstrate*30)) will be rounded down to 0. Is that the intended behavior? |
|
|
feedback missing |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2013-06-01 18:02 | azaremoth | New Issue | |
| 2013-06-10 21:45 | azaremoth | Note Added: 0010853 | |
| 2013-06-10 21:52 | azaremoth | Note Edited: 0010853 | |
| 2013-06-19 23:46 | azaremoth | Note Added: 0010887 | |
| 2013-08-11 00:06 | Kloot | Note Added: 0011269 | |
| 2013-08-11 00:07 | Kloot | Status | new => feedback |
| 2014-10-31 18:37 | abma | Note Added: 0013790 | |
| 2014-10-31 18:37 | abma | Status | feedback => closed |
| 2014-10-31 18:37 | abma | Assigned To | => abma |
| 2014-10-31 18:37 | abma | Resolution | open => not fixable |