logo   login
right
Home Forums Downloads Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Forum Info
Forum Members: 18,617
Total Threads: 8,723
Posts: 95,213

Administrators:
DeeZire, Redemption

There are currently 43 users online.
Partner Links

Free Credit Repair

Learn the Ticket Broker Secrets
Advertisements


Generals & Zero Hour Editing Discuss any modding related issues to do with Generals and Zero Hour here.

Reply
 
LinkBack Thread Tools
Old 07-03-2004, 03:24 AM   #1 (permalink)
Senior Member
 
Join Date: Feb 2003
Location: USA
Posts: 386
Send a message via AIM to warlord Send a message via MSN to warlord Send a message via Yahoo to warlord
Default Need Help Creating a Fake Laser

I need help creating a fake laser using projectiles since i need it to have a detonation effect.

here is a screenshot of the current effect.



Problems are circled

what i need is it to create a straight beam from Point A(Green) to Point B(Light Blue) without the bend (Pink)

length shouldnt be hard to fix.

I know i have to use a particle system (what i am using now) but not sure how to get it to fly in a straight line. I am assuming the problem lies within the projectile itself since the particle is just folowing an invisible projectile.

here is the projectiles code.

Code:
Object PrismStreamProjectile
 Draw = W3DModelDraw ModuleTag_01
  DefaultConditionState
   Model = NONE 
  End
 End
 EditorSorting = SYSTEM
 VisionRange = 0.0  
   ArmorSet
  Conditions = None
  Armor = ProjectileArmor
  DamageFX = None
 End
 KindOf = PROJECTILE
 Body = ActiveBody ModuleTag_02
  MaxHealth = 100.0
  InitialHealth = 100.0
 End
 Behavior = DestroyDie ModuleTag_03
  ;nothing
 End
 Behavior = PhysicsBehavior ModuleTag_04
  Mass = 1
  AllowCollideForce = Yes
 End
 Behavior = MissileAIUpdate ModuleTag_05
  ;TryToFollowTarget = Yes
  UseWeaponSpeed = Yes
  DetonateOnNoFuel = No
  DistanceToTravelBeforeTurning = 0
 End
 Locomotor = SET_NORMAL PrismStreamLocomotor
 Behavior = BoneFXUpdate ModuleTag_06
  PristineParticleSystem1  = bone:NULL OnlyOnce:Yes  0  0 PSys:PrismBeamParticle01
 End
 Behavior = BoneFXDamage ModuleTag_07
  ;nothing
 End
 Geometry = Sphere
 GeometryIsSmall = Yes
 GeometryMajorRadius = 1
End
Not sure what i need to fix to make it fly straight at the target with no turning or lowering of altitude (except for it going to target).

If you need any of the other code just let me know. Thanks in advance
warlord is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-03-2004, 05:22 AM   #2 (permalink)
Senior Member
 
Join Date: Dec 2003
Posts: 217
Default

Could we see the code for the particlesystem?
sc4freak is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-03-2004, 06:15 AM   #3 (permalink)
Senior Member
 
Join Date: Feb 2003
Location: USA
Posts: 386
Send a message via AIM to warlord Send a message via MSN to warlord Send a message via Yahoo to warlord
Default

k here is the code for the particle system

Code:
ParticleSystem PrismBeamParticle01
  Priority = CRITICAL
  IsOneShot = No
  Shader = ADDITIVE
  Type = PARTICLE
  ParticleName = EXFuzzyDot.tga
  AngleZ = 0.00 0.00
  AngularRateZ = 0.00 0.00
  AngularDamping = 0.00 0.00
  VelocityDamping = 0.00 0.00
  Gravity = 0.00
  Lifetime = 20.00 20.00
  SystemLifetime = 20
  Size = 2.00 2.00
  StartSizeRate = 0.00 0.00
  SizeRate = 0.00 0.00
  SizeRateDamping = 0.90 0.95
  Alpha1 = 0.00 0.00 0
  Alpha2 = 1.00 1.00 5
  Alpha3 = 0.00 0.00 20
  Alpha4 = 0.00 0.00 0
  Alpha5 = 0.00 0.00 0
  Alpha6 = 0.00 0.00 0
  Alpha7 = 0.00 0.00 0
  Alpha8 = 0.00 0.00 0
  Color1 = R:64 G:0 B:255 50
  Color2 = R:0 G:0 B:0 10
  Color3 = R:0 G:0 B:0 0
  Color4 = R:0 G:0 B:0 0
  Color5 = R:0 G:0 B:0 0
  Color6 = R:0 G:0 B:0 0
  Color7 = R:0 G:0 B:0 0
  Color8 = R:0 G:0 B:0 0
  ColorScale = 1.00 0.00
  BurstDelay = 0.00 1.00
  BurstCount = 5.00 5.00
  InitialDelay = 0.00 0.00
  DriftVelocity = X:0.00 Y:0.00 Z:0.00
  VelocityType = OUTWARD
  VelOutward = 0.00 999
  VelOutwardOther = 0.00 0.00
  VolumeType = LINE
  VolLineStart = X:0.00 Y:0.00 Z:0.00
  VolLineEnd = X:0.00 Y:0.00 Z:0.00
  IsHollow = No
  IsGroundAligned = No
  IsEmitAboveGroundOnly = Yes
  IsParticleUpTowardsEmitter = Yes
  WindMotion = Unused
  WindAngleChangeMin = 0.149924
  WindAngleChangeMax = 0.449946
  WindPingPongStartAngleMin = 0.000000
  WindPingPongStartAngleMax = 0.785398
  WindPingPongEndAngleMin = 5.497787
  WindPingPongEndAngleMax = 6.283185
End
warlord is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-03-2004, 10:27 PM   #4 (permalink)
Senior Member
 
Join Date: Feb 2003
Location: USA
Posts: 306
Send a message via AIM to Vger Send a message via MSN to Vger Send a message via Yahoo to Vger
Default

We got a line but now there is a gap between the fake laser and the unit firing it.
Vger is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-03-2004, 10:37 PM   #5 (permalink)
Senior Member
 
Join Date: Feb 2003
Location: USA
Posts: 386
Send a message via AIM to warlord Send a message via MSN to warlord Send a message via Yahoo to warlord
Default

Yea we have it almost worked out except for the gaps.

Here is an image of the recent progress.

warlord is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-03-2004, 11:22 PM   #6 (permalink)
Senior Member
 
Join Date: Feb 2003
Location: USA
Posts: 306
Send a message via AIM to Vger Send a message via MSN to Vger Send a message via Yahoo to Vger
Default

We are bypassing the particle stream by slapping a line particle on a projectile sortof like a contrail.
Vger is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-03-2004, 11:24 PM   #7 (permalink)
Senior Member
 
Join Date: May 2004
Posts: 181
Default

Wouldn't a muzzleflash made to look like the laser solve this?
Capt_Pickles is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-03-2004, 11:26 PM   #8 (permalink)
Senior Member
 
Join Date: Feb 2003
Location: USA
Posts: 306
Send a message via AIM to Vger Send a message via MSN to Vger Send a message via Yahoo to Vger
Default

Muzzleflashe to cover gap won't work since all of fake laser shows for a while and barrel recoils.
Vger is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-03-2004, 11:27 PM   #9 (permalink)
Senior Member
 
Join Date: Feb 2003
Location: USA
Posts: 386
Send a message via AIM to warlord Send a message via MSN to warlord Send a message via Yahoo to warlord
Default

Problem is when i speed weapon up to be laser like particle messes up. partial laser or sometimes gaps between it and tarted vehicle
warlord is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-03-2004, 11:37 PM   #10 (permalink)
Senior Member
 
Join Date: Aug 2003
Posts: 1,087
Default

have you tried editing the lasers texture so there are no gaps at the top or bottom?
key0p is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
A great fake idea? loid Generals & Zero Hour Editing 9 02-15-2004 07:28 AM
== Fake Buildings == Infraid Red Alert 2 & Yuri's Revenge Editing 16 01-19-2004 02:51 PM
Creating a Laser without the laser bone.. How ? DPsygnet Generals & Zero Hour Editing 11 08-30-2003 03:47 PM
fake generator pieten Generals & Zero Hour Editing 23 08-17-2003 12:24 AM
Psycho, ur fake sw's? :P TenKSniT Red Alert 2 & Yuri's Revenge Editing 5 03-15-2003 03:24 AM


All times are GMT -4. The time now is 04:29 AM.


Design By: Miner Skinz.com
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.