Author Topic: Laser/Beams Problem  (Read 1848 times)

0 Members and 1 Guest are viewing this topic.

Hello,

i have a question about laser/beam-weapons.

I have a laser/beam weapon that works fine with FSO 3.6.9 the beam is visible (All works fine).   :cool:
If i start FSO 3.6.10 the beam is no longer visible (don't know if the rest of the weapon is functional).  :(

What must i change that this weapons are working  :confused: (downloaded some from the net but the problem is still the same)

With kind regards

Askahain

 

Offline Aardwolf

  • 211
  • Posts: 16,384
Which is it, a laser or a beam? They're two fundamentally different weapon types.

Also, post the table entry for it.

 
Ok, here are some screenshots of the effect and the table entry

1. Version 3.6.9


2. Version 3.6.10 & 3.6.11-20091201_r5692


-------------------------------------
$Name:Licht
  +Title:XSTR("Licht",-1)
  +Description:
  XSTR("Licht", 3244)
  $end_multi_text
  +Tech Title:XSTR("Licht", 146)
  +Tech Anim:scalpel
  +Tech Description:
  XSTR( "Licht", 3245)
  $end_multi_text
$Model File:none
@Laser Bitmap:laser1
@Laser Glow:laser1_2_glow
@Laser Color:255, 255, 255
@Laser Color2:255, 255, 255
@Laser Length:1.0
@Laser Head Radius:1.0
@Laser Tail Radius:1.0
$Mass:0.0
$Velocity:10000.0
$Fire Wait:0
$Damage:0
$Armor Factor:0.0
$Shield Factor:0.0
$Subsystem Factor:0.0
$Lifetime:5.0
$Energy Consumed:0.0
$Cargo Size:0.0005
$Homing:NO
$LaunchSnd:-1
$ImpactSnd:-1
  +Weapon Range:100000
$Flags:("beam"
   "in tech database"
   "player allowed"
   "stream")
$Icon:IconScalpel
$Anim:scalpel
$Impact Explosion:exp20
$Impact Explosion Radius:5.0
$BeamInfo:
  +Type:1
  +Life:0.1
  +Warmup:0
  +Warmdown:0
  +Radius:0.3
  +PCount:0
  +PRadius:0.0
  +PAngle:0.0
  +PAni:exp20
  +Miss Factor:0.5 0.7 0.9 1.1 1.3
  +BeamSound:   -1
  +WarmupSound:-1
  +WarmdownSound:-1
  +Muzzleglow:   particleEXP01_0000
  +Shots:1
  +ShrinkFactor:0.0
  +ShrinkPct:0.0
  +Range:3500
  +Attenuation:0.00
$Section:
  +Width:   1.0
  +Texture:MissileTrail02
  +RGBA Inner:255 255 255 200
  +RGBA Outer:255 255 255 10
+Flicker:0.0
+Zadd:1.0
« Last Edit: December 04, 2009, 01:38:54 pm by Askahain »

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
I tested the table setup and it works. The problem could be with the graphics files (for one reason or another). Please try the effect with some other graphics.
Do not meddle in the affairs of coders for they are soggy and hard to light

 
Ok,

i try it with other graphics ... same Effect
i try it with graphics from the mediavp VP ... same effect

Wenn i delete the "beam" flag the @Laser part worked (I see the shots), i i activate the beam flag again i see nothing

Can you tell me what graphics(formats) do you use for the entrys ?

Here are a list of my tested graphics (without the @Laser Graphics)
EntryNameTypeSize
($BeamInfo) +PAni:particleexp01
exp20
ani
ani
256x256
256x256
($BeamInfo) +Muzzleglow:beamglow6
MissileTrail02
dds
dds
512x512
64x64
($Section) +Texture:electrobeam02
beam-dblue
beam-orange3
beam-white2
pcx
dds
pcx
ani
16x16
32x32
16x16
?x?



« Last Edit: December 05, 2009, 03:44:01 am by Askahain »

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Hmm... You said you were not sure if the beam worked at all - no firing sounds, nothing? I tried it in debug build and forced the weapon via debug keys.

You could try setting the beam type to some other than 1, say 2 or 4 and see if that helps.
Do not meddle in the affairs of coders for they are soggy and hard to light

 
Ok, thanks for the help.
U will try this next week because im on vacation this week.

 
Ok i have try it with all type of beams but the result is still the same.

  

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Create empty text (ASCII) file into the main data directory of the FreeSpace Open. Then run debug build (as if you were trying to load the missions with the said weapon). Start one mission (if you get that far) and quit. After quitting the game go back to the main data directory and locate 'fs2_open.log' file. Compress the file and post/upload it somewhere so it can be viewed.
Do not meddle in the affairs of coders for they are soggy and hard to light