Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: Stormkeeper on October 24, 2008, 06:34:19 am

Title: Some questions...
Post by: Stormkeeper on October 24, 2008, 06:34:19 am
So, a few things; 1) I'm trying to make a laser fire like a chaingun, and in bursts, if possible. 2) I'm also trying to change the color of a beam.

1) The laser is a modified Subach HL, and I set its fire wait to 0.2, but it doesn't fire that fast. When its in player hands, it does fire that fast. But the laser is meant to be a capital defense laser. Also, is it possible, just with tables, to make the laser fire in bursts of say, ten bolts?

2) I changed the RGB values of a SGreen, but its still green. By all rights it should be silvery-white. Do I need to change the texture or sth?
Title: Re: Some questions...
Post by: Colonol Dekker on October 24, 2008, 07:06:57 am
Edit the texture, and save it as a new file. :nod: sk_beam.dds or summink  ;)
Title: Re: Some questions...
Post by: Wanderer on October 24, 2008, 07:30:24 am
Turrets have additional delays added for them by default. You can either define these globally in the ai_profiles.tbl or then disable them totally by setting "same turret cooldown" flag for the weapon. For turret weapons you can also define swarm & swarmwait option for burst firing or then 'Shots' for shooting multiple shots at once (visible only with proper 'fof' setting).
Title: Re: Some questions...
Post by: Snail on October 24, 2008, 08:13:38 am
For turret weapons you can also define swarm & swarmwait option for burst firing
Does this still work on multi part turrets, or only single parts?
Title: Re: Some questions...
Post by: Wanderer on October 24, 2008, 08:23:29 am
It should work on all
Title: Re: Some questions...
Post by: Stormkeeper on October 24, 2008, 08:38:59 am
I did the shots and fof method, but mistook the fof for the field where the turret would shoot, not the shot spread, so I got this ...

(http://i15.photobucket.com/albums/a354/sohmingjian/screen0082.jpg)

:wakka:
Title: Re: Some questions...
Post by: General Battuta on October 24, 2008, 09:04:17 am
That's actually pretty awesome.
Title: Re: Some questions...
Post by: Stormkeeper on October 24, 2008, 09:26:18 am
That's actually pretty awesome.
Yea, it stopped every bomb that came its way.
Title: Re: Some questions...
Post by: Getter Robo G on October 24, 2008, 07:28:22 pm
I predict the next Shivan incursion will be halted by a plucky Fenris...

 :lol:
Title: Re: Some questions...
Post by: General Battuta on October 24, 2008, 07:52:11 pm
Fenris Death Blossom!
Title: Re: Some questions...
Post by: Hellstryker on October 24, 2008, 08:02:01 pm
I predict the next Shivan incursion will be halted by a plucky Fenris...

 :lol:

Get your ships straight pilot, that's a leviathan!  :rolleyes:
Title: Re: Some questions...
Post by: Droid803 on October 24, 2008, 08:08:23 pm
Why do I have the dreadful feeling that that would crash the game via too many projectiles?
Title: Re: Some questions...
Post by: Stormkeeper on October 24, 2008, 09:15:52 pm
Why do I have the dreadful feeling that that would crash the game via too many projectiles?
It didn't. It didn't even hit the max projectile limit. Each blast was 15 shots, and my wing could spam laser bolts like no one's business.

=edit=
I made a beam effect, but its edge has a green edging. Anyone know why? The texture is .pcx, by the way, but if I change it to .tga, the beam's black edges isn't transparent.
Title: Re: Some questions...
Post by: Stormkeeper on October 26, 2008, 06:11:10 am
:bump:

I made a beam effect, but its edge has a green edging. Anyone know why? The texture is .pcx, by the way, but if I change it to .tga, the beam's black edges isn't transparent.

Title: Re: Some questions...
Post by: Flaming_Sword on October 26, 2008, 05:21:29 pm
Only full green is transparent in pcx, everything else shows up. Post your effect?
Title: Re: Some questions...
Post by: Retsof on October 26, 2008, 05:38:47 pm
Only full green is transparent in pcx, everything else shows up. Post your effect?
No, with weapons the ammount of black in the effect determines the transparency.

About it having green, did you edit all the beam sections in the tbl?
Title: Re: Some questions...
Post by: Flaming_Sword on October 26, 2008, 06:25:59 pm
Only full green is transparent in pcx, everything else shows up. Post your effect?
No, with weapons the ammount of black in the effect determines the transparency.

About it having green, did you edit all the beam sections in the tbl?
My bad. A good look at the effect will probably help too. Picture == 1k words and all that.
Title: Re: Some questions...
Post by: Stormkeeper on October 27, 2008, 05:04:08 am
Oh, I solved the problem. The fixed version is over here (http://www.hard-light.net/forums/index.php/topic,25406.msg1158210.html#msg1158210).