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

Forum Info
Forum Members: 18,575
Total Threads: 8,656
Posts: 94,426

Administrators:
DeeZire, Redemption

There are currently 59 users online.
Partner Links

Free Credit Repair

Learn the Ticket Broker Secrets
Advertisements

DeeZire Online > Editing Community > Command and Conquer Editing > Generals & Zero Hour Editing » How do i make a Missile go straight forward?

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

Reply
 
LinkBack Thread Tools
Old 09-23-2004, 07:26 PM   #1 (permalink)
Senior Member
 
Join Date: Jul 2003
Location: Revora Forums
Posts: 496
Send a message via MSN to Boomerang_Python
Default How do i make a Missile go straight forward?

How do i make a Missile go straight forward without going up or anything, just going straight for the victim.. um.. target.

Here's the code i've got so far that doesn't really work how i want it to.


From WeaponObjects.ini
Code:
;---------------------------------------------
Object LasgunBolt

  ; *** ART Parameters ***

  Draw = W3DModelDraw ModuleTag_01
  OkToChangeModelColor = Yes
  ConditionState = NONE
  Model = LasgunBolt
End
End

  ; ***DESIGN parameters ***

  DisplayName      = OBJECT:Missile
  EditorSorting   = SYSTEM
  VisionRange = 0.0  

ArmorSet
    Conditions      = None
    Armor           = ProjectileArmor
    DamageFX        = None
End

  ; *** ENGINEERING Parameters ***

  KindOf = PROJECTILE
  Body = ActiveBody ModuleTag_02
  MaxHealth       = 100.0
  InitialHealth   = 100.0
End

  Behavior = HeightDieUpdate ModuleTag_04
  TargetHeight = 1.0
  TargetHeightIncludesStructures = Yes
  OnlyWhenMovingDown =    Yes
  InitialDelay                    =  1000
  End

; ---- begin Projectile death behaviors
  Behavior = InstantDeathBehavior DeathModuleTag_01
    DeathTypes = NONE +DETONATED
    ; we detonated normally.
    FX         = NONE
  End

  Behavior = InstantDeathBehavior DeathModuleTag_02
    DeathTypes = NONE +LASERED
    ; shot down by laser.
    FX         = NONE
    OCL        = OCL_GenericMissileDisintegrate
  End

  Behavior = InstantDeathBehavior DeathModuleTag_03
    DeathTypes = ALL -LASERED -DETONATED
    ; shot down by nonlaser.
    FX         = NONE
  End

; ---- end Projectile death behaviors
 
  Behavior =     PhysicsBehavior ModuleTag_09
  Mass =     1
  End

  Behavior =     DumbProjectileBehavior ModuleTag_10
  End

  Geometry =     Cylinder
  GeometryMajorRadius =   4.0
  GeometryHeight =    4.0
  GeometryIsSmall =    Yes   
;  Shadow =     SHADOW_DECAL

End

Thanks!

//Boomer.
Boomerang_Python is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-23-2004, 09:15 PM   #2 (permalink)
Senior Member
 
Join Date: Dec 2003
Posts: 217
Default

Replace your DumbProjectileBehaviour with a MissileAIUpdate, and a locomotor.
sc4freak is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-23-2004, 10:10 PM   #3 (permalink)
Senior Member
 
Join Date: Feb 2003
Location: Indiglo Plateau (USA)
Posts: 526
Send a message via ICQ to LtZack Send a message via MSN to LtZack
Default

why didnt you just copy or use the missile from the missile defender?
LtZack is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-24-2004, 06:42 AM   #4 (permalink)
Senior Member
 
Join Date: Jul 2003
Location: Revora Forums
Posts: 496
Send a message via MSN to Boomerang_Python
Default

Doesn't that one like go up when fired then straight?
Boomerang_Python is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-24-2004, 07:01 AM   #5 (permalink)
Senior Member
 
Join Date: Dec 2003
Posts: 217
Default

No... Thats the Tomahawk
sc4freak is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-24-2004, 07:37 AM   #6 (permalink)
Senior Member
 
Join Date: Jul 2003
Location: Revora Forums
Posts: 496
Send a message via MSN to Boomerang_Python
Default

oh right, well it's working now except for the fact that they're homing any way of removing that?
Boomerang_Python is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-24-2004, 10:04 AM   #7 (permalink)
Senior Member
 
Join Date: Feb 2003
Location: Indiglo Plateau (USA)
Posts: 526
Send a message via ICQ to LtZack Send a message via MSN to LtZack
Default

yes, go to the weapon object and set TryToFollowTarget equal to No
LtZack 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
ask move forward capt_pickles to w888 Generals & Zero Hour Editing 14 08-10-2004 01:41 PM
the_hunter ask move forward to this1 w888 Generals & Zero Hour Editing 6 08-02-2004 05:23 AM
capt_pickles elder brother,ask move forward to,a cover for C w888 Generals & Zero Hour Editing 26 08-01-2004 11:46 PM
ask move forward to,Chrizz w888 Generals & Zero Hour Editing 8 07-28-2004 10:19 PM


All times are GMT -4. The time now is 10:09 PM.


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