Making a Plasma Weapon - Page 2

Making a Plasma Weapon

Share and discuss visual creations and creation practices like texturing, modelling and musing on the meaning of life.

Moderators: MR.D, Moderators

User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

The core uses texture1 too AFAIK.
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Post by rattle »

Correct. Basically the core is just a second laser which is smaller by default unless you override it with a tag. It's all in the changelog.
[...]
- New weapon tdf tag corethickness, how thick the inner color of a laser is, this is a percentage value, default is 0.25

[...]
LaserProjectile:
texture1 = laserbeam
texture2 = Start and end of the beam (half of the texture used at either end.)

BeamLaserProjectile:
texture1 = laserbeam
texture2 = Start and end of the beam (half of the texture used at either end.)
texture3 = muzzle flare

LargeBeamLaserProjectile:
texture1 = laserbeam
texture2 = Start and end of the beam (half of the texture used at either end.)
texture3 = Extra graphical effect at the start of the beam.
texture4 = muzzle flare
User avatar
REVENGE
Posts: 2382
Joined: 24 Aug 2006, 06:13

Post by REVENGE »

Problem has not been fixed. I timed out last night before I was able to post, but what happened was the first texture was fixed via some random resizing bullshiit, but now I made a second texture for another weapon [this time square 256x256], and the damn bug has returned...

Once again, beamweapon configured with textures 2-3 nulled out.

Oh also, does a laser flare have to be scripted in with the unit?
User avatar
REVENGE
Posts: 2382
Joined: 24 Aug 2006, 06:13

Post by REVENGE »

I talked to smoth, and he says gundam also experiences similar problems, should I put this in mantis or is there already an entry there?

Image
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Post by rattle »

Generally this could be avoided by assigning non existant resource tags (such as 'null') but apparently not any longer. Needs to be fixed ASAP.
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

Apologies for spreading false information: Nonsense texture names still work.
User avatar
REVENGE
Posts: 2382
Joined: 24 Aug 2006, 06:13

Post by REVENGE »

KDR_11k wrote:Apologies for spreading false information: Nonsense texture names still work.
Will try, ty.
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Post by rattle »

KDR_11k wrote:Apologies for spreading false information: Nonsense texture names still work.
How did you come up with that then?

Also, I shouldn't parrot so much.
User avatar
REVENGE
Posts: 2382
Joined: 24 Aug 2006, 06:13

Post by REVENGE »

KDR's right [err right about being wrong? :?]. A texture name of NULL with no null texture defined works fine. However, I'm concerned about how the texture is being processed. With my second texture, the dimensions of it are warped differently depending on zoom level, and it is very noticeable up close that the thing looks just like a flat texture instead of a pseudo 3d projectile.
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Post by rattle »

That's what it is. Think of Doom2 sprites, only prettier.
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

rattle wrote:
KDR_11k wrote:Apologies for spreading false information: Nonsense texture names still work.
How did you come up with that then?

Also, I shouldn't parrot so much.
I saw the error show up when I thought I set it to a nonsense texture. From now on I'm using texture2=fhqwhgds.
Post Reply

Return to “Art & Modelling”