IPB

Welcome Guest ( Log In | Register )


> WaveClass errors, Something that currently occurs even in unmodded TS
The DvD
post Dec 30 2007, 11:45 AM
Post #1


Webmaster
Group Icon

Group: Root Admin
Posts: 740
Joined: 27-May 06
From: The Netherlands
Member No.: 2
Alliance: Nod
Favorite game: Tiberian Sun



You guys may remember that i used to be working on this mod called TSTW biggrin.gif
I however kept getting IE's for a reason i could not explain. Very frustrating and it made me stop working on TSTW even sad.gif.

However recently TSHyper has explained to me what could be causing these errors. Upon testing this it appeared that he was right. The IE is now perfectly recreatable and can also occur in unmodded Tiberian Sun. It occurs when the following happens:

CODE
1. A weapon using [i]WaveClass[/i] (both standard lasers and sonic beams) is fired in a southward direction. Note: this is not the isometric south, but the 'real world' south, in other words, pointing toward the bottom of your screen;)

2. The player scrolls the camera view vertically until the weapon using waveclass has to be clipped as it is moving offscreen.

3. An IE occurs in WaveClass. For Sonicbeams, you will find the following in except.txt: Eip:006703D4. For Laser weapons, it will be Eip:006717CB.



Possible workaround

Replace lasers by modified railguns. It will take some messing around, and it looks differently, and also comes with it's own bugs.

Here's the Mammoth Mk. II's railgun modified to look like a laser:

[MechRailgun]
AmbientDamage=1
; Better not have any real ambientdamage, or your base defenses will damage your own units and buildings.
Damage=200
; Use damage just like you would for a normal laser
ROF=60
; ROF for railgun is tied to the duration (MaxEC) of the railgun particle. Since railguns will always have some particles that willt ake time to disappear, the actual ROF can never me faster than the MaxEC.
Range=8
Projectile=Invisible
; Can be anything you like, as long as it doesn't have an image.
Speed=100
; Leave the speed at 100
Warhead=RailShot
; Can be anything you like
Report=RAILUSE5
Anim=GUNFIRE
IsRailgun=true
; This is crucial
AttachedParticleSystem=LargeRailgunSys
; This too

[LargeRailgunSys]
HoldsWhat=LargeRailgunPart
BehavesLike=Railgun
SpiralRadius=3
; Decreased from 15 to 3. This makes the particles from the railgun appear in a much thinner line.
ParticlesPerCoord=.03
; Decreased from 0.1 , We don't want so many particles to show up
SpiralDeltaPerCoord=.03
MovementPerturbationCoefficient=.4
; Not sure what this does
PositionPerturbationCoefficient=30
; Not sure what this does
VelocityPerturbationCoefficient=.6
; Not sure what this does
Laser=yes
; The mammoth railgun actually had a laser showing in the middle already, but we need to change it's colour.
LaserColor=255,10,10
; Used to be 25,20,255, this is Red,Green,Blue for laser color. Changed to Red

[LargeRailgunPart]
BehavesLike=Railgun
MaxEC=70
; The speed of the particles disappearing! Very import, this was decreased from 70 to 30 to allow a higher ROF
ColorList=(255,50,50),(200,200,255)
; The colour of the particles. I think the starting colour should be close to the laser's actual colour, which was 255,10,10. After that, it changes to a bluish white.
ColorSpeed=.009
; Unchanged
Velocity=.3


Problems with this workaround

For charging laser weapons such as the obelisk, the charging animation doesn't show up anymore. This means that the obelisk will instantly fire on an enemy objects as soon as this object enters the obelisk's firing range. I'm currently trying to solve this problem.


--------------------
Please contact me on msn if you need me for anything, thanks.
Go to the top of the page
 
: | +Quote Post
 
Start new topic
Replies
Dutchygamer
post Jan 3 2008, 10:10 AM
Post #2


Flamethrower Infantry
Group Icon

Group: Members
Posts: 106
Joined: 22-November 07
From: Dordrecht, the Netherlands
Member No.: 1,051
Alliance: Nod
Favorite game: Tiberian Sun



What? Is this true. If so, there goes my theory...
FYI, I have my resolution on 1152 x 864 now, and it hasn't crashed at all yesterday... Maybe it depends on the computer/monitor you're using. This is so confusing huh.gif unsure.gif


--------------------

RA2: Moscow's Vengeance's
Monolith Game Studios
Go to the top of the page
 
: | +Quote Post

Posts in this topic
- The DvD   WaveClass errors   Dec 30 2007, 11:45 AM
- - ^Rampastein   Hmm, I'm suffering from these WaveClass errors...   Dec 30 2007, 02:15 PM
- - The DvD   Well railguns dont have to stop at cliffs as long ...   Dec 30 2007, 04:10 PM
- - TSHyper   Awesome DvD, if i can help in anyway, give me a sh...   Dec 30 2007, 07:57 PM
- - The DvD   Luke, it may be worth looking into Rampastein...   Dec 30 2007, 09:36 PM
- - TSHyper   To be honest, im starting to get confused, TO dont...   Dec 30 2007, 11:31 PM
- - The DvD   How weird? Since it also happens in unmodded TS, a...   Jan 1 2008, 01:08 PM
- - TSHyper   Well, its not TO that is immune to them, its a pro...   Jan 2 2008, 11:05 AM
|- - ^Rampastein   Are you sure? I always play with 800x600 on my old...   Jan 2 2008, 07:21 PM
- - TSHyper   I would think many Disrupter's at any resoluti...   Jan 2 2008, 07:45 PM
|- - ^Rampastein   Hmm. I'll just hope VK gets this fixed then. ...   Jan 3 2008, 08:16 AM
- - TSHyper   So... hmm, this is odd. Im really lost again to wh...   Jan 3 2008, 08:29 AM
- - Yuri 08   I would also like to note that I get the error imm...   Jan 3 2008, 09:10 AM
|- - Anderwin   QUOTE (Dutchygamer @ Jan 3 2008, 11:10 AM...   Jan 4 2008, 01:17 PM
|- - ^Rampastein   Emm.. we were talking about disruptor's firing...   Jan 4 2008, 01:35 PM
- - TSHyper   *Sigh* Everyone seems to be going around in circl...   Jan 4 2008, 01:39 PM
- - Anderwin   I find out somethings. Did there really read what ...   Jan 4 2008, 02:54 PM
- - GameMaster0000   It has any other factor to make this error. Cause ...   May 11 2008, 01:13 PM
- - The DvD   And today i think i had the error even when i was ...   May 11 2008, 07:50 PM
- - TSHyper   Sonic errors are to do with Alpha blending, so any...   May 11 2008, 08:18 PM


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 16th June 2025 - 06:33 PM


XGhozt.com