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

Forum Info
Forum Members: 18,677
Total Threads: 8,798
Posts: 95,843

Administrators:
DeeZire, Redemption

There are currently 36 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 02-24-2004, 03:22 PM   #1 (permalink)
Senior Member
 
Join Date: Jan 2004
Posts: 231
Send a message via MSN to HorseAss
Default Attaching aurora bomb to raptor

How can you do it correctly, everytime i try it, it either doesnt work correctly, the plane just cant attack anybody, if i try it any other way, it still wont work. So my question is how must it be done?
HorseAss is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-24-2004, 03:43 PM   #2 (permalink)
Senior Member
 
Join Date: May 2003
Location: Eindhoven, Netherlands
Posts: 2,278
Send a message via ICQ to CodeCat Send a message via MSN to CodeCat
Default

Post the code that didn't work, maybe we can see where it goes wrong.
CodeCat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-24-2004, 03:57 PM   #3 (permalink)
Senior Member
 
Join Date: Jan 2004
Posts: 231
Send a message via MSN to HorseAss
Default

Code:
   ***DESIGN parameters ***
  DisplayName             = OBJECT:Raptor
  EditorSorting           = VEHICLE
  Side                    = America
  TransportSlotCount      = 0 ;how many "slots" we take in a transport (0 == not transportable)
  VisionRange             = 180.0 
  ShroudClearingRange     = 400
  Prerequisites
    Object                = AmericaAirfield
  End

  WeaponSet
    Conditions            = None 
    Weapon                = PRIMARY AuroraBombWeapon
  End
  WeaponSet
    Conditions            = PLAYER_UPGRADE 
    Weapon                = PRIMARY RaptorJetLaserGuidedMissileWeapon
  End
  ArmorSet
    Conditions            = None
    Armor                 = AirplaneArmor
    DamageFX              = None
  End

  BuildCost               = 10
  BuildTime               = 1   
  ExperienceValue         = 50 50 100 150  ;Experience point value at each level
  ExperienceRequired      = 0 100 200 400   ;Experience points needed to gain each level
  IsTrainable             = Yes             ;Can gain experience
  CrusherLevel           = 1  ;What can I crush?: 1 = infantry, 2 = trees, 3 = vehicles
  CrushableLevel         = 2  ;What am I?:        0 = for infantry, 1 = for trees, 2 = general vehicles
  CommandSet              = AmericaJetRaptorCommandSet

I wonder if its possible to have two types of weapons, one for air only and one for ground only, or make them both for ground.


Code:
;------------------------------------------------------------------------------
Object AuroraBomb

  ; *** ART Parameters ***
  Draw = W3DModelDraw ModuleTag_01
    DefaultConditionState
      Model = EXCarptBmb
    End
  End

  ; ***DESIGN parameters ***
  Side = America
  EditorSorting     = SYSTEM
  ArmorSet
    Conditions      = None
    Armor           = ProjectileArmor
    DamageFX        = None
  End
  VisionRange       = 0.0  

  ; *** AUDIO Parameters ***

  ; *** ENGINEERING Parameters ***
  KindOf            = PROJECTILE
  Body              = ActiveBody ModuleTag_02
    MaxHealth       = 100.0
    InitialHealth   = 100.0
  End

  Behavior              = PhysicsBehavior ModuleTag_03
    Mass                = 75.0
    AerodynamicFriction = 2     ; this is now friction-per-sec
    ForwardFriction     = 2     ; this is now friction-per-sec
    CenterOfMassOffset  = 2     ; Default of 0 means nothing tips as it falls.  Positive tips forward, negative tips back
  End

  ; it may seem odd to have a "bomb" with a Locomotor, especially a Thrust locomotor,
  ; but there's a good reason: the Aurora moves so freakin' fast that it's really
  ; hard to (1) find a reliable drop location, and (2) actually get it close enough to
  ; that location. So we cheat: just get fairly close, then let the "bomb" do a little (subtle)
  ; navigation on the way down. This works pretty well and actually looks much better
  ; than you might think. (srj)
  Behavior = MissileAIUpdate ModuleTag_04
    TryToFollowTarget   = No 
    FuelLifetime        = 0
    IgnitionDelay       = 0
    InitialVelocity     = 0                ; in dist/sec
    DistanceToTravelBeforeTurning = 0
    DistanceToTargetBeforeDiving  = 0
  End
  Locomotor = SET_NORMAL AuroraBombLocomotor   ; yes, that's right.

  Geometry = Sphere
  GeometryIsSmall = Yes
  GeometryMajorRadius = 2.0

End
If this is made, then i guess changing the bomb, so it drops napalm wont be a big prob.

As you can see, i only changed that one line at the raptor, so it changes primary weapon to aurora bomb, but then it doesnt work.
HorseAss is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-24-2004, 11:26 PM   #4 (permalink)
ccs
Senior Member
 
Join Date: Sep 2003
Location: the mighty planet of doom (NZ)
Posts: 269
Send a message via AIM to ccs Send a message via MSN to ccs Send a message via Yahoo to ccs
Default

it might be that:
WeaponSet
Conditions = None
Weapon = PRIMARY AuroraBombWeapon
End
WeaponSet
Conditions = PLAYER_UPGRADE
Weapon = PRIMARY RaptorJetLaserGuidedMissileWeapon
End

when it is upgraded it will be the raptor jet laser missile weapon

or it might need fuel to launch since the plane is not as fast:
FuelLifetime = 0
ccs is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-24-2004, 11:30 PM   #5 (permalink)
Member
 
Join Date: Jun 2003
Location: Earth
Posts: 93
Send a message via AIM to Zrakh Send a message via MSN to Zrakh Send a message via Yahoo to Zrakh
Default

You trying to make the end of the missile make an aurora bomb kaboom or just trying to make it drop aurora bombs?
Zrakh is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-24-2004, 11:34 PM   #6 (permalink)
ccs
Senior Member
 
Join Date: Sep 2003
Location: the mighty planet of doom (NZ)
Posts: 269
Send a message via AIM to ccs Send a message via MSN to ccs Send a message via Yahoo to ccs
Default

if you want it to drop aurora bombs
just change the weapon in both weapon sets

and if you want to make it use aurora bomb explosions just change the explosion type or what ever its called
ccs is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-25-2004, 04:12 PM   #7 (permalink)
Senior Member
 
Join Date: Apr 2003
Location: Derby, UK / Den Haag, NL
Posts: 590
Default

Just changing the weaponset should have been sufficient. I can't see why it shouldn't work - are you working with a nice fresh copy of the inis?

Zrakh- that avatar is disturbingly familiar from somewhere - or is it that cat?
Ambershee is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-25-2004, 04:25 PM   #8 (permalink)
Senior Member
 
Join Date: Jan 2004
Posts: 231
Send a message via MSN to HorseAss
Default

It works now, seems that Blitz2 has been screwing around with the files.
HorseAss is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-25-2004, 06:33 PM   #9 (permalink)
Senior Member
 
Join Date: May 2003
Location: Eindhoven, Netherlands
Posts: 2,278
Send a message via ICQ to CodeCat Send a message via MSN to CodeCat
Default

Surprise surprise...
CodeCat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-26-2004, 06:10 AM   #10 (permalink)
Senior Member
 
Join Date: Dec 2002
Posts: 1,031
Send a message via ICQ to Phoib Send a message via MSN to Phoib
Default

Bleh.

We can't help it if users don't clean their files properly.

But isn't AuroraBombWeapon the deathweapon of the bomb itself?
Phoib 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
Attaching a model to a structure. ReallyDamaged Generals & Zero Hour Editing 8 08-12-2004 09:06 PM
Fuel Air Bomb Aurora Juggernaut1985 Generals & Zero Hour Editing 63 08-28-2003 10:20 PM
Attaching Barrels to turrets Syndicate Generals & Zero Hour Editing 4 06-13-2003 07:37 AM
attaching bridges to triggers in ra2 maps tk2 Red Alert 2 & Yuri's Revenge Editing 7 03-31-2003 11:15 PM
attaching voxels spider-man_2099 Red Alert 2 & Yuri's Revenge Editing 1 02-14-2003 11:30 AM


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


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