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

Forum Info
Forum Members: 18,643
Total Threads: 8,744
Posts: 95,525

Administrators:
DeeZire, Redemption

There are currently 24 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 12-05-2004, 09:15 PM   #1 (permalink)
Senior Member
 
Join Date: May 2004
Posts: 134
Default How to make rail gun weapon?

i just want create a railgun type weapon, cause gundam'beam weapon is that type, any good suggestion?
homura is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-05-2004, 10:22 PM   #2 (permalink)
Senior Member
 
Join Date: Aug 2003
Posts: 1,087
Default

I guess some kind of projectile with no collisions that has fireweaponatself behaviour with a small dammage radius.
key0p is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-06-2004, 02:07 AM   #3 (permalink)
Senior Member
 
CommieDog's Avatar
 
Join Date: Oct 2004
Location: Alaska (Hell Frozen Over)
Posts: 375
Default

You should take a look at the Dragon Tank's Fire Wall ability first.
CommieDog is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-06-2004, 02:18 AM   #4 (permalink)
Senior Member
 
Join Date: Aug 2003
Posts: 1,087
Default

Quote:
Originally Posted by CommieDog";p=&quot View Post
You should take a look at the Dragon Tank's Fire Wall ability first.
If I recall correctly, it doesnt do dammage from the projectile stream, dammage is only dealt from the vicinity of the flame projectiles impact point.
key0p is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-06-2004, 06:20 AM   #5 (permalink)
Senior Member
 
Join Date: May 2004
Posts: 134
Default

question is: what kind of projectile shall i use? and how to can the beam trail(particle system)?
homura is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-06-2004, 07:24 AM   #6 (permalink)
Senior Member
 
Join Date: Aug 2003
Posts: 1,087
Default

Well, I think the dragon tanks projectile wont collide with anything, so you could modify that to have a fireweaponatself behaviour

*starts to wonder if this is what CommieDog meant...*
key0p is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-06-2004, 03:54 PM   #7 (permalink)
Member
 
Join Date: Nov 2004
Posts: 50
Send a message via MSN to quicksilva1985
Default

how about a continuous tracer with invisible bullits ? would that work perhaps
quicksilva1985 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-06-2004, 05:19 PM   #8 (permalink)
Junior Member
 
Join Date: Dec 2004
Location: ???Don't Know??? Lost!
Posts: 10
Default

Well heres what I came up with...

Code:
****Weapon.ini****

;------------------------------------------------------------------------------
Weapon  RailgunWeapon
  PrimaryDamage         = 100.0
  PrimaryDamageRadius   = 0.0       ; 0 primary radius means "hits only intended victim"
  AttackRange           = 600.0
  DamageType            = PARTICLE_BEAM
  DeathType             = BURNED
  WeaponSpeed           = 999999.0          ; dist/sec (huge value == effectively instant)
  ;WeaponSpeed           = 10.0          ; dist/sec (huge value == effectively instant)
  LaserName             = RailgunSlugStream
  LaserBoneName         = WEAPON02
  RadiusDamageAffects   = ALLIES ENEMIES NEUTRALS
  DelayBetweenShots     = 850               ; time between shots, msec
  ClipSize              = 5                    ; how many shots in a Clip (0 == infinite)
  ClipReloadTime        = 2500              ; how long to reload a Clip, msec
  AntiAirborneVehicle   = Yes
  AntiAirborneInfantry  = Yes
  FireSound             = MicrowaveWeaponLoop
End


***********************************************************

****WeaponObjects.ini****/INI/Object Folder

;------------------------------------------------------------------------------
Object RailgunSlugStream
  ; *** ART Parameters ***
  Draw = W3DLaserDraw ModuleTag_01
    Texture = EXSineWave.tga
   
    Tile = Yes
    TilingScalar = .5
    ScrollRate = -10                       ;Scrolls the texture offset this fast -- towards(-) away(+)    
    NumBeams = 1                          ;Number of overlapping cylinders that make the beam. 1 beam will just use inner data. Current 

max: 10
    InnerBeamWidth = 5                    ;The total width of beam
    InnerColor = R:100 G:200 B:200 A:50   ;The inside color of the laser (hot)
    OuterBeamWidth = 5.0                  ;The total width of beam
    OuterColor = R:45 G:255 B:244  A:5     ;The outside color of the laser (cool)
 End


  KindOf = IMMOBILE UNATTACKABLE NO_COLLIDE
  ClientUpdate = LaserUpdate ModuleTag_02
    MuzzleParticleSystem = GenericGreenLaserFlare
    TargetParticleSystem = HackFlare
  End

  Behavior = DeletionUpdate ModuleTag_03
    MinLifetime = 126   ; min lifetime in msec
    MaxLifetime = 126   ; max lifetime in msec
  End
End


**********************************************************
Make sure you put em in the correct files
I set the KindOf to NO_COLLIDE but unlike the emp pulse etc. it still collides with objects, people, buildings etc.
I used the microwave beam laser to make an interesting raingun slug beam.
Anyway tweak away addon to and see what we can come up with
Guest is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-06-2004, 06:49 PM   #9 (permalink)
Senior Member
 
Join Date: Aug 2003
Posts: 1,087
Default

A railguns projectile shouldnt collide with people - if by collision you mean the projectile is being stopped.

A railgun needs to be able to shoot through many targets dammaging each one.
key0p is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-06-2004, 07:57 PM   #10 (permalink)
Junior Member
 
Join Date: Dec 2004
Location: ???Don't Know??? Lost!
Posts: 10
Default

I've just been looking through the dragon tanks flame weapon projectile coding, now to make a weapon that travels through everything in its path and still deals damage will be pretty damn hard if not impossible to make.

Cool thing about it would be, place one good strategic shot across the map (map would have to be completely flat of course) and you could wipe the enemy out from your own base.
Guest 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
how to make weapon give a weapon bonus to units around it Vger Generals & Zero Hour Editing 6 06-08-2004 04:19 AM
help changing effects of a weapon when another weapon fires Vger Generals & Zero Hour Editing 0 12-25-2003 11:50 PM
How can I make a fourth weapon? Vanguard Generals & Zero Hour Editing 11 07-31-2003 05:02 PM
Does any 1 know how to make a unit swap weapon in-game? Lord_Murder Generals & Zero Hour Editing 3 07-21-2003 01:20 AM
help with a new weapon kano Generals & Zero Hour Editing 0 06-07-2003 04:00 PM


All times are GMT -4. The time now is 08:02 AM.


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