View unanswered posts | View active topics It is currently Wed Apr 24, 2024 11:09 am



Reply to topic  [ 2 posts ] 
 Problem with laser burniness 
Author Message
User avatar

Joined: Mon Apr 13, 2009 12:27 pm
Posts: 813
Location: Yogyakarta, Indonesia. A slice o' paradise.
Reply with quote
Post Problem with laser burniness
Okay, so I tried making the SET Dual Incinerator laser to not shoot off the Apis' hand; So I tried making its HitsMOs = 0 via Lua. But then hijinks ensue and I ended up with a laser that incinerate actors and rapes terrain... But here's the problem: sometimes the Lua script throws an Error: operator not defined.
How do I fix this?

Here's the things I changed in Laser.ini:
Code:
//ROUNDS------------------------------------

AddEffect = MOPixel
   PresetName = Laser Cannon Particle
   Mass = 0.1
   GlobalAccScalar = 0
   RestThreshold = -100
   LifeTime = 1000
   Sharpness = 6
   HitsMOs = 0
   GetsHitByMOs = 0
   ScriptPath = SET.rte/Weapons/NoHit.lua
   Color = Color
      R = 200
      G = 200
      B = 255
   Atom = Atom
      Material = Material
         CopyOf = Bullet Metal
      TrailColor = Color
         R = 200
         G = 200
         B = 255
      TrailLength = 10000
   ScreenEffect = ContentFile
      FilePath = SET.rte/FX/YellowSmall.bmp
   EffectStartTime = 0
   EffectStopTime = 700
   EffectStartStrength = 1.0
   EffectStopStrength = 0.0
   EffectAlwaysShows = 1


and attached is the .lua in a .rar. It also sometimes backfires on the firer, and this is not wanted.


Attachments:
NoHit.rar [622 Bytes]
Downloaded 137 times
Thu Jan 20, 2011 6:53 am
Profile YIM WWW

Joined: Fri Dec 18, 2009 11:00 pm
Posts: 167
Reply with quote
Post Re: Problem with laser burniness
Here you go,

Set FireVelocity = 0 on the round and MuzzleOffset vector to x = 0, y = 0 in your ini file for the gun.

Enjoy.


Attachments:
NoHit.rar [673 Bytes]
Downloaded 132 times
Fri Jan 21, 2011 7:16 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.098s | 16 Queries | GZIP : Off ]