Author Topic: Proof-of-concept Laser.  (Read 6832 times)

0 Members and 1 Guest are viewing this topic.

Offline Turey

  • Installer dude
  • 211
  • The diminutive form of Turambar.
    • FreeSpace Open Installer Homepage
Proof-of-concept Laser.
I was playing around with weapons.tbl today, and I created this. It's a fun little novelty weapon, the GTW Welding Laser. it's easier to use if you use gliding.

here's the table:
Code: [Select]
#Primary Weapons

; ----------------------------------------------------------------------------------
; Sidearm
;
$Name:                                  @Welding Laser
+Title:                                 XSTR("GTW Welding Laser", -1)
+Description:
XSTR(
"Stolen from Ganemeyde Repair Station.
Unknown Hull Damage
Unknown Shield Damage", -1)
$end_multi_text
+Tech Title:     XSTR("Welding Laser", -)
+Tech Anim:                     Tech_Subach_HL-7
+Tech Description:
XSTR(
"This welding laser is standard issue in shipyards. Designed to melt cap ship hulls, you decided to steal one, hacck it onto your ship, and try it out.", 3245)
$end_multi_text
$Model File: none
; The following fields (preceded by @) are only required for laser
; rendering, which requires that "Model File:" be none.
; These are the same values that used to be hard-coded:
@Laser Bitmap: newglo9
@Laser Glow: 2_laserglow03
@Laser Color: 0, 0, 250
@Laser Color2: 0, 0, 250
@Laser Length: 70.0
@Laser Head Radius: 0.5
@Laser Tail Radius: 0.5
$Mass: 1.0
$Velocity: 1000.0 ;; speed of the weapon (initially) -- may or may not change
$Fire Wait: 0.003 ;; in seconds
$Damage: 1500
$Armor Factor: 0.9
$Shield Factor: 0.7
$Subsystem Factor: 0.3
$Lifetime: 0.03 ;; How long this thing lives
$Energy Consumed: 0.01 ;; Energy used when fired
$Cargo Size: 0.0 ;; Amount of space taken up in weapon cargo
$Homing: NO
$LaunchSnd: 76 ;; The sound it makes when fired
$ImpactSnd: 85 ;; The sound it makes when it hits something
+Weapon Range: 100000 ;; Limit to range at which weapon will actively target object
$Flags: ("in tech database" "player allowed" "stream")
$Icon: iconSD4
$Anim: SD4
$Impact Explosion: none

#End

pics to follow. And yes, I know the damage is insane. If someone were to find a use for this, they'd have to balance it out on their own.

EDIT: Here's a pic. The one in this pic is white, but it was changed to blue in the table above.
http://www.fsoinstaller.com/images/welding_laser.png
« Last Edit: March 02, 2007, 03:44:14 am by Turey »
Creator of the FreeSpace Open Installer.
"Calm. The ****. Down." -Taristin
why would an SCP error be considered as news? :wtf: *smacks Cobra*It's a feature.

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Re: Proof-of-concept Laser.
How about using actual fighterbeams?
Do not meddle in the affairs of coders for they are soggy and hard to light

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Re: Proof-of-concept Laser.
heh, this reminds me of some of the stuff i did for fs1 back in the day. total nostalgia effect there :D
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 

Offline Turey

  • Installer dude
  • 211
  • The diminutive form of Turambar.
    • FreeSpace Open Installer Homepage
Re: Proof-of-concept Laser.
How about using actual fighterbeams?

Meh, I was just tinkering around while I was waiting around. Maybe I'll redo it.
Creator of the FreeSpace Open Installer.
"Calm. The ****. Down." -Taristin
why would an SCP error be considered as news? :wtf: *smacks Cobra*It's a feature.

 

Offline bizzybody

  • 29
  • Space Viking
    • Fandemonium 2008!
Re: Proof-of-concept Laser.
What's with all the square box characters in the table code?
"They were really only teeny little A-bombs, honest!" Dr. Charles Dart

 

Offline Turey

  • Installer dude
  • 211
  • The diminutive form of Turambar.
    • FreeSpace Open Installer Homepage
Re: Proof-of-concept Laser.
What's with all the square box characters in the table code?

What square boxes?
Creator of the FreeSpace Open Installer.
"Calm. The ****. Down." -Taristin
why would an SCP error be considered as news? :wtf: *smacks Cobra*It's a feature.

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Re: Proof-of-concept Laser.
Tabs?
Do not meddle in the affairs of coders for they are soggy and hard to light

 

Offline jr2

  • The Mail Man
  • 212
  • It's prounounced jayartoo 0x6A7232
    • Steam
Re: Proof-of-concept Laser.
Yah, tabs...  without the code switch, you can't see them.  Also you can't see them in FF anyways.  The tab boxes are sort of a mystery to me, I do believe that they can adversly affect a file, but I'm not sure.  Maybe this was a problem worked out in a previous build or something.
#Primary Weapons

; ----------------------------------------------------------------------------------
; Sidearm
;
$Name:                                  @Welding Laser
+Title:                                 XSTR("GTW Welding Laser", -1)
+Description:
XSTR(
"Stolen from Ganemeyde Repair Station.
Unknown Hull Damage
Unknown Shield Damage", -1)
$end_multi_text
+Tech Title:                XSTR("Welding Laser", -)
+Tech Anim:                     Tech_Subach_HL-7
+Tech Description:
XSTR(
"This welding laser is standard issue in shipyards. Designed to melt cap ship hulls, you decided to steal one, hacck it onto your ship, and try it out.", 3245)
$end_multi_text
$Model File:                           none
; The following fields (preceded by @) are only required for laser
; rendering, which requires that "Model File:" be none.
; These are the same values that used to be hard-coded:
@Laser Bitmap:                        newglo9
@Laser Glow:                        2_laserglow03
@Laser Color:                        0, 0, 250
@Laser Color2:                        0, 0, 250
@Laser Length:                        70.0
@Laser Head Radius:                   0.5
@Laser Tail Radius:                   0.5
$Mass:                              1.0
$Velocity:                           1000.0         ;; speed of the weapon (initially) -- may or may not change
$Fire Wait:                         0.003            ;; in seconds
$Damage:                           1500
$Armor Factor:                        0.9
$Shield Factor:                      0.7
$Subsystem Factor:                     0.3
$Lifetime:                           0.03            ;; How long this thing lives
$Energy Consumed:                     0.01         ;; Energy used when fired
$Cargo Size:                        0.0          ;; Amount of space taken up in weapon cargo
$Homing:                           NO
$LaunchSnd:                         76            ;; The sound it makes when fired
$ImpactSnd:                         85            ;; The sound it makes when it hits something
+Weapon Range:                        100000         ;; Limit to range at which weapon will actively target object
$Flags:                            ("in tech database" "player allowed" "stream")
$Icon:                              iconSD4
$Anim:                              SD4
$Impact Explosion:                     none

#End

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Re: Proof-of-concept Laser.
People really shouldn't use any formatting when writing tables. That includes tabs.

If you want arrange the data in the tables for easier readability simply use empty spaces. Some text editors (like Araneae for example) have option of setting the tab-'key press' to insert three spaces instead of single tab.
Do not meddle in the affairs of coders for they are soggy and hard to light

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
Re: Proof-of-concept Laser.
um, no...

anyway, what concept was this suposed to prove?
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline jr2

  • The Mail Man
  • 212
  • It's prounounced jayartoo 0x6A7232
    • Steam
Re: Proof-of-concept Laser.
I think he's after the welding laser used in the vid where they show the construction of the Colossus.

 

Offline Getter Robo G

  • 211
  • Elite Super Robot Pilot
Re: Proof-of-concept Laser.
So more like something you have used in the background for flavor... In a shipyard etc...
Either for missions or  home brewed cut scenes.

I suggest changing the damage to 1 point. That way you see the beam affect the target (unless 0 still has the damage effect? I don't remember)
"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 jr2

  • The Mail Man
  • 212
  • It's prounounced jayartoo 0x6A7232
    • Steam
Re: Proof-of-concept Laser.
Try 0 first...

 
Re: Proof-of-concept Laser.
show some screenys if you get it to work.

if it is like the welding beam, you could have like a defend a shipyard from a sudden attack-like mission and have the worker drones attack the enemys cruiser or whateva.  :pimp:
Sig nuked! New one coming soon!

 

Offline jr2

  • The Mail Man
  • 212
  • It's prounounced jayartoo 0x6A7232
    • Steam
Re: Proof-of-concept Laser.
Yeah right... do worker drones have shields?  If they don't and they are piloted, it'd be out of the question.

 
Re: Proof-of-concept Laser.
well, it could be they have signifigant armor plating, in case of accidents, and as a failsafe im asuming they have guys who control them from far away.
Sig nuked! New one coming soon!

 

Offline Turey

  • Installer dude
  • 211
  • The diminutive form of Turambar.
    • FreeSpace Open Installer Homepage
Re: Proof-of-concept Laser.
I think he's after the welding laser used in the vid where they show the construction of the Colossus.

Yeah, it was just me bored one day.
Creator of the FreeSpace Open Installer.
"Calm. The ****. Down." -Taristin
why would an SCP error be considered as news? :wtf: *smacks Cobra*It's a feature.

 

Offline takashi

  • Better than TrashMan
  • 29
Re: Proof-of-concept Laser.
FRED crashed when i loaded a ship using this. it must be the tabs.

ps: bob's AF kato does the same. stupid tabs >.<

 
  

Offline Turey

  • Installer dude
  • 211
  • The diminutive form of Turambar.
    • FreeSpace Open Installer Homepage
Re: Proof-of-concept Laser.
FRED crashed when i loaded a ship using this. it must be the tabs.

ps: bob's AF kato does the same. stupid tabs >.<

WELL, if the tabs are SUCH A PROBLEM, why doesn't the game crash on you all the time?

CAUSE THE RETAIL TABLES HAVE THE TABS!  :hopping:
Creator of the FreeSpace Open Installer.
"Calm. The ****. Down." -Taristin
why would an SCP error be considered as news? :wtf: *smacks Cobra*It's a feature.