Author Topic: Turret Primary with Tail....  (Read 2052 times)

0 Members and 1 Guest are viewing this topic.

Offline 0rph3u5

  • 211
  • Oceans rise. Empires fall.
Turret Primary with Tail....
I've been working a lot with some pretty heavy railgun-sytle primaries (long tail and particles) for something....
but there is that graphical glitch that the tails seen to just start where the bitmap ends... which is pretty bad if there is about a 150 pixels black bit map to either side of the said effect....

someone got an idea how to make primary trails begin "inside" the bitmap?

for those who don't just yet know what I mean
Code: [Select]
$Name: Vasudan Huge Turret
$Model File: none
@Laser Bitmap: Terran_Turret ;mediavps-stuff
@Laser Color: 140, 140, 60
@Laser Length: 20.0
@Laser Head Radius: 6.40
@Laser Tail Radius: 2.60
$Mass: 0.4
$Velocity: 175.0
$Fire Wait: 3.0
$Damage: 100
$Armor Factor: 1.25
$Shield Factor: 0.5
$Subsystem Factor: 0.75
$Lifetime: 12.0
$Energy Consumed: 0.30
$Cargo Size: 0.0
$Homing: NO
$LaunchSnd: 111
$ImpactSnd: 85
$Flags: ( "Big Ship" "Huge" )
$Trail:
    +Start Width: 6.4
    +End Width: 0.0
    +Start Alpha: 0.7
    +End Alpha: 0.0
    +Max Life: 0.75
    +Bitmap: VasBeam2Core ;mediavps stuff
$Icon: iconproms
$Anim: disruptor
$Impact Explosion: none
"As you sought to steal a kingdom for yourself, so must you do again, a thousand times over. For a theft, a true theft, must be practiced to be earned." - The terms of Nyrissa's curse, Pathfinder: Kingmaker

==================

"I am Curiosity, and I've always wondered what would become of you, here at the end of the world." - The Guide/The Curious Other, Othercide

"When you work with water, you have to know and respect it. When you labour to subdue it, you have to understand that one day it may rise up and turn all your labours into nothing. For what is water, which seeks to make all things level, which has no taste or colour of its own, but a liquid form of Nothing?" - Graham Swift, Waterland

"...because they are not Dragons."

 

Offline Aardwolf

  • 211
  • Posts: 16,384
    • Minecraft
Re: Turret Primary with Tail....
What about using the

@Laser Glow:


entry instead of

@Laser Bitmap:         Terran_Turret ;mediavps-stuff   

 

Offline Spoon

  • 212
  • ヾ(´︶`♡)ノ
Re: Turret Primary with Tail....
ah yeah I ran into this as well haven't really messed around with it too much though.
I too am interested in how this could be 'fixed'
Urutorahappī!!

[02:42] <@Axem> spoon somethings wrong
[02:42] <@Axem> critically wrong
[02:42] <@Axem> im happy with these missions now
[02:44] <@Axem> well
[02:44] <@Axem> with 2 of them

 

Offline 0rph3u5

  • 211
  • Oceans rise. Empires fall.
Re: Turret Primary with Tail....
What about using the @Laser Glow: entry instead of @Laser Bitmap:

I tried, but did not work - same effect
"As you sought to steal a kingdom for yourself, so must you do again, a thousand times over. For a theft, a true theft, must be practiced to be earned." - The terms of Nyrissa's curse, Pathfinder: Kingmaker

==================

"I am Curiosity, and I've always wondered what would become of you, here at the end of the world." - The Guide/The Curious Other, Othercide

"When you work with water, you have to know and respect it. When you labour to subdue it, you have to understand that one day it may rise up and turn all your labours into nothing. For what is water, which seeks to make all things level, which has no taste or colour of its own, but a liquid form of Nothing?" - Graham Swift, Waterland

"...because they are not Dragons."

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Re: Turret Primary with Tail....
Try making very short effects with relatively narrow trails

That is make this smaller...
Code: [Select]
@Laser Length: 20.0
Do not meddle in the affairs of coders for they are soggy and hard to light

 

Offline Getter Robo G

  • 211
  • Elite Super Robot Pilot
Re: Turret Primary with Tail....
Silly question, but why not just edit the bitmap?

"Don't think of it as being out-numbered, think of it as having a WIDE target selection!"

"I am the one and ONLY Star Dragon..."
Proof for the noobs:  Member Search

[I'm Just an idea guy, NOT: a modeler, texturer, or coder... Word of advice, "Watch out for the ducks!"]

Robotech II - Continuing...
FS2 Trek - Snails move faster than me...
Star Blazers: Journey to Iscandar...
FS GUNDAM - The Myth lives on... :)

 

Offline Spoon

  • 212
  • ヾ(´︶`♡)ノ
Re: Turret Primary with Tail....
Silly question, but why not just edit the bitmap?
even with good editing it will be noticable where the bolt ends and the trail starts.
Unless you make the bolt go at a high velocity
Urutorahappī!!

[02:42] <@Axem> spoon somethings wrong
[02:42] <@Axem> critically wrong
[02:42] <@Axem> im happy with these missions now
[02:44] <@Axem> well
[02:44] <@Axem> with 2 of them

 

Offline 0rph3u5

  • 211
  • Oceans rise. Empires fall.
Re: Turret Primary with Tail....
Try making very short effects with relatively narrow trails

That is make this smaller...
Code: [Select]
@Laser Length: 20.0


....well that would work with some other bitmap....
"As you sought to steal a kingdom for yourself, so must you do again, a thousand times over. For a theft, a true theft, must be practiced to be earned." - The terms of Nyrissa's curse, Pathfinder: Kingmaker

==================

"I am Curiosity, and I've always wondered what would become of you, here at the end of the world." - The Guide/The Curious Other, Othercide

"When you work with water, you have to know and respect it. When you labour to subdue it, you have to understand that one day it may rise up and turn all your labours into nothing. For what is water, which seeks to make all things level, which has no taste or colour of its own, but a liquid form of Nothing?" - Graham Swift, Waterland

"...because they are not Dragons."

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Re: Turret Primary with Tail....
Well... Other than making new texture i'm not sure there are any viable alternatives...

Though you could try placing +Faded Out Sections: (perhaps 6 or so (integer)) just after the trail bitmap entry in the weapons.tbl - http://www.hard-light.net/wiki/index.php/Weapons.tbl#.24Trail:

Do not meddle in the affairs of coders for they are soggy and hard to light

 

Offline Dragon

  • Citation needed
  • 212
  • The sky is the limit.
Re: Turret Primary with Tail....
Don't forget that you need to use nightly, not RC build for it.

 

Offline Droid803

  • Trusted poster of legit stuff
  • 213
  • /人 ◕ ‿‿ ◕ 人\ Do you want to be a Magical Girl?
    • Skype
    • Steam
Re: Turret Primary with Tail....
Urr... looks fine to me when I just do it that way.
You want something like this right? (the streak-like turrets):


You need to use both @Laser Bitmap: and @Laser Glow.
I think @Laser Glow tells which portion of the bitmap is actually part of it and allows the trail to start inside...not sure...

Trails work with the Terran Turret bitmap:

Code: [Select]
$Name: Burst Turret
+nocreate
@Laser Bitmap: Terran_Turret
@Laser Glow:        2_laserglow03
@Laser Length:       10.0
@Laser Head Radius: 12.00
@Laser Tail Radius: 12.00
$Flags: ("particle spew")
$Trail:
+Start Width: 1.0
+End Width: 1.0
+Start Alpha: 1.0
+End Alpha: 0.0
+Max Life: 0.5
+Bitmap: trail-gold
$Impact Explosion: Vapula_Impact
$Impact Explosion Radius: 9.0
$Muzzleflash:                 Cmuzzle
$Pspew:
+Count: 1
+Time: 34
+Vel: 0.4
+Radius: 2.80
+Life: 0.2
+Scale: 4.60  
+Bitmap: Vapula_Particle
$Decal:
+Texture: Huge_Decal
+Radius: 5.0
« Last Edit: July 06, 2009, 12:06:16 pm by Droid803 »
(´・ω・`)
=============================================================