Making a Plasma Weapon

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
REVENGE
Posts: 2382
Joined: 24 Aug 2006, 06:13

Making a Plasma Weapon

Post by REVENGE »

When making a plasma weapon, what are the best choices for rendertypes and such? Should i use 0 to make it a beam weapon and adjust from there, or can I use 3 and add a custom texture?

Also, is there somewhere I could find a completely up to date list of weapons tdf tags? I don't see largebeamlaser=1 and all the other new stuff in the wiki. :?
User avatar
Guessmyname
Posts: 3301
Joined: 28 Apr 2005, 21:07

Post by Guessmyname »

the changelog
User avatar
Peet
Malcontent
Posts: 4384
Joined: 27 Feb 2006, 22:04

Post by Peet »

largebeamlaser stuff is at http://spring.clan-sy.com/wiki/BeamLaser
..but yes, the wiki is becoming more outdated as people maek patch

for a plasma weapon, you want rendertype=4; and ballistic=1;
User avatar
REVENGE
Posts: 2382
Joined: 24 Aug 2006, 06:13

Post by REVENGE »

Ok, if I've got a custom texture to use for a beam weapon [masquerading as a line of sight plasma weapon], what is the best format for the texture file? I tried using a 32-bit RLE tga, and it didn't work...
User avatar
REVENGE
Posts: 2382
Joined: 24 Aug 2006, 06:13

Post by REVENGE »

Ok, that was because I forgot the resource.tdf file.

However, the effect is borked... :?

Image
User avatar
Snipawolf
Posts: 4357
Joined: 12 Dec 2005, 01:49

Post by Snipawolf »

Alright, null out

texture2=null; (or anything, as long as it isn't an actual texture)
texture3=null;
texture4=null;

Make sure every texture you don't use (up to 4) is nulled out, due to things like that.
User avatar
REVENGE
Posts: 2382
Joined: 24 Aug 2006, 06:13

Post by REVENGE »

Snipawolf wrote:Alright, null out

texture2=null; (or anything, as long as it isn't an actual texture)
texture3=null;
texture4=null;

Make sure every texture you don't use (up to 4) is nulled out, due to things like that.
Meh...I thought beam weapon only needed nulling of texture 2. :oops:

Mmmkay, but if I want to make the corona smaller, does core thickness apply to my texture?
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Post by rattle »

largebeamlasers need that
User avatar
REVENGE
Posts: 2382
Joined: 24 Aug 2006, 06:13

Post by REVENGE »

rattle wrote:largebeamlasers need that
K, ty.
User avatar
REVENGE
Posts: 2382
Joined: 24 Aug 2006, 06:13

Post by REVENGE »

Grr....

largebeamlasers didn't change anything, nor did it fix the overall problem.

Image

FUGLY! I nulled all textures besides texture1
User avatar
REVENGE
Posts: 2382
Joined: 24 Aug 2006, 06:13

Post by REVENGE »

Dammit, and my CEG explosion is all borked now too. It's all squared and aliased [like kernel panic style], and the particles are all messed... :shock:
Saktoth
Zero-K Developer
Posts: 2665
Joined: 28 Nov 2006, 13:22

Post by Saktoth »

First, you should clarify what you mean by 'plasma' as a plasma weapon as generally understood by modders means the ballistic projectile that follows an arc shot by stumpies and used in emg's.

What you're using is a beamweapon.

Where did you get the texture from? Is it perfectly square, with equal proportions (If it wasnt, i can imagine it might add a large white area to the missing part of the texture)?
User avatar
REVENGE
Posts: 2382
Joined: 24 Aug 2006, 06:13

Post by REVENGE »

Saktoth wrote:First, you should clarify what you mean by 'plasma' as a plasma weapon as generally understood by modders means the ballistic projectile that follows an arc shot by stumpies and used in emg's.

What you're using is a beamweapon.

Where did you get the texture from? Is it perfectly square, with equal proportions (If it wasnt, i can imagine it might add a large white area to the missing part of the texture)?
Hey, sorry I meant plasma as a part of mod marchitecture...err forget that...*cough* :roll:

My texture isn't square, but I don't believe it needs to be... I've taken a look at several beamweapon projectile textures, and none of them are square, but work fine.
User avatar
REVENGE
Posts: 2382
Joined: 24 Aug 2006, 06:13

Post by REVENGE »

Nevermind, I fixed the projectile texture. Vertical height must be a power of two, or else artifacts may appear [I mean go figure, the map system works this way too XD].
Last edited by REVENGE on 13 Sep 2007, 06:38, edited 1 time in total.
Saktoth
Zero-K Developer
Posts: 2665
Joined: 28 Nov 2006, 13:22

Post by Saktoth »

Thought it would be something like that, yeah.
User avatar
REVENGE
Posts: 2382
Joined: 24 Aug 2006, 06:13

Post by REVENGE »

Actually, I don't think that's it after more testing...oh well something was wrong with the dimensions. :shock:
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

Either way graphics cards don't like texture sizes that aren't powers of two.

That artifact on the end is caused by the texture2. I have no idea how to get rid of it, using a nonsense filename doesn't seem to work anymore.
User avatar
Snipawolf
Posts: 4357
Joined: 12 Dec 2005, 01:49

Post by Snipawolf »

KDR_11k wrote:That artifact on the end is caused by the texture2. I have no idea how to get rid of it, using a nonsense filename doesn't seem to work anymore.
O__o
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Post by rattle »

I meant that largebeamlasers need those tags, not that you need to use largebeamlasers.
Saktoth
Zero-K Developer
Posts: 2665
Joined: 28 Nov 2006, 13:22

Post by Saktoth »

I dont think thats texture 2. Looks to me like its 1 and 2, as 1 is the blue and 2 is the white, yes?
Post Reply

Return to “Art & Modelling”