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

Forum Info
Forum Members: 18,537
Total Threads: 8,626
Posts: 94,207

Administrators:
DeeZire, Redemption

There are currently 119 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 03-24-2003, 10:04 PM   #1 (permalink)
Member
 
Join Date: Dec 2002
Location: USA
Posts: 43
Send a message via ICQ to Flappity Send a message via AIM to Flappity Send a message via MSN to Flappity Send a message via Yahoo to Flappity
Default Trouble with a unit..

Okay, I'm trying to make a shotgun infantry....

Problem is, when it fires, it fires the bullets in succession, not all at once...

Anyone know if it's possible to make them fire all at once? If so, how?

BTW, here's the code

Code:
;------------------------------------------------------------------------------
Weapon ShotGunWeapon
  PrimaryDamage           = 30.0            
  PrimaryDamageRadius     = 1.0       
  ScatterRadius           = 0;changed to zero, unless you want to soften the results of the table below

  ; @todo srj -- need better targets; these are copied from Scud Storm
  ; Instead of a purely random scatter distance, this will divide a clip evenly and randomly at these spots
  ; These specific points are an even distribution simulating a 150 ScatterRadius.
  ; With fewer entries than ClipSize, the extra will hit 0,0 as normal shots
  ; With extra entries, 9 of 12 could be used eg, and then you'd get a different nine next clip.

  ScatterTargetScalar = 25; replaces the ScatterRadius, above, for scaling this table, below
  ScatterTarget           = X: 0.000 Y: 0.67
  ScatterTarget           = X: 0.67 Y:-0.100
  ScatterTarget           = X:-0.33 Y: 0.333
  ScatterTarget           = X: 0.150 Y: 0.150
  ScatterTarget           = X: 0.338 Y: 0.000       
  ScatterTarget           = X: 0.250 Y:-0.284        
  ScatterTarget           = X:-0.116 Y:-0.400        
  ScatterTarget           = X:-0.300 Y:-0.616      
  ScatterTarget           = X:-0.283 Y: 0.211       
  ScatterTarget           = X: 0.000 Y: 0.66
  ScatterTarget           = X: 0.66 Y:-0.100
  ScatterTarget           = X:-0.033 Y: 0.334
  ScatterTarget           = X: 0.150 Y: 0.150
  ScatterTarget           = X: 0.383 Y: 0.000       
  ScatterTarget           = X: 0.250 Y:-0.233       
  ScatterTarget           = X:-0.166 Y:-0.400      
  ScatterTarget           = X:-0.300 Y:-0.616       
  ScatterTarget           = X:-0.283 Y: 0.216  
  ScatterTarget           = X: 0.000 Y: 0.66
  ScatterTarget           = X: 0.66 Y:-0.100

  ScatterRadiusVsInfantry = 0.0     ;When this weapon is used against infantry, it can randomly miss by as much as this distance.
  AttackRange             = 200.0
  MinimumAttackRange      = 0.0 ;100.0       ; this is to allow for a little "lead" for the helicopter targeting
  DamageType              = SMALL_ARMS
  DeathType               = NORMAL
  WeaponSpeed             = 99999
  ProjectileObject        = NONE
  RadiusDamageAffects     = ALLIES ENEMIES NEUTRALS
  DelayBetweenShots       = 100              ; time between shots, msec
  ClipSize                = 7                    ; how many shots in a Clip (0 == infinite)
  ClipReloadTime          = 1000              ; how long to reload a Clip, msec   
  AutoReloadsClip         = Yes
  FireFX                  = BattleDroneWeapon
  VeterancyFireFX         = HEROIC WeaponFX_GenericMachineGunFireWithRedTracers
  FireSound               = RangerWeapon
  AntiAirborneVehicle     = No
  AntiAirborneInfantry    = No
End
Flappity is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-25-2003, 12:00 AM   #2 (permalink)
Senior Member
 
Join Date: Feb 2003
Location: USA
Posts: 335
Send a message via MSN to Tebrey
Default

Try reducing the // DelayBetweenShots = 0

and increasing the // ClipReloadTime = 2000

This should make it fire out the entire "clip" at once
Tebrey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-25-2003, 02:42 AM   #3 (permalink)
Senior Member
 
Join Date: Dec 2002
Location: England
Posts: 228
Send a message via ICQ to Shadow Send a message via AIM to Shadow Send a message via MSN to Shadow Send a message via Yahoo to Shadow
Default

I've tried that Tebrey, it still fires out the clip as a stream of shots,

Flappity, you might want to change the ScatterTargetScalar, as it controls the size of the scatter area
Shadow is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-25-2003, 07:57 AM   #4 (permalink)
Member
 
Join Date: Dec 2002
Location: USA
Posts: 43
Send a message via ICQ to Flappity Send a message via AIM to Flappity Send a message via MSN to Flappity Send a message via Yahoo to Flappity
Default

Yeah, I cut that in half, used to be 50..
Flappity 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
I'm having trouble getting rid of this gay ass mod ! Lava2007 Red Alert 2 & Yuri's Revenge Editing 0 11-25-2006 03:45 PM
Bunker Trouble ScrollMaster Generals & Zero Hour Editing 2 02-07-2006 05:57 AM
Having a little trouble spawning sc4freak Generals & Zero Hour Editing 7 08-31-2004 04:54 PM
Having Trouble Adding New Unit Sicknesslife Red Alert 2 & Yuri's Revenge Editing 6 01-09-2004 10:44 AM
AI trouble and AI question ice Red Alert 2 & Yuri's Revenge Editing 4 02-07-2003 12:14 AM


All times are GMT -4. The time now is 10:14 AM.


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