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

Forum Info
Forum Members: 18,678
Total Threads: 8,800
Posts: 95,869

Administrators:
DeeZire, Redemption

There are currently 26 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 08-24-2003, 07:32 PM   #1 (permalink)
Senior Member
 
Join Date: Jun 2003
Location: Texas
Posts: 709
Send a message via ICQ to Vanguard Send a message via AIM to Vanguard Send a message via MSN to Vanguard Send a message via Yahoo to Vanguard
Default Machine Gun spread?

Can someone tell me how to get a spread shot for a machine gun so it's highly inaccurate.


Heres the code:

Weapon HowitzerMachineGun
PrimaryDamage = 10.0
PrimaryDamageRadius = 0.0
ScatterRadiusVsInfantry = 10.0
AttackRange = 225.0
DamageType = SMALL_ARMS
DeathType = NORMAL
WeaponSpeed = 99999.0
ProjectileObject = NONE
FireFX = WeaponFX_TechnicalGunFire
FireSound = BattleDroneWeapon
ScatterRadius = 12
RadiusDamageAffects = ENEMIES
AntiAirborneVehicle = Yes
AntiGround = Yes
DelayBetweenShots = 50
ClipSize = 0
ClipReloadTime = 0
End

It just wont fire in a spread.
Vanguard is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-24-2003, 07:37 PM   #2 (permalink)
Senior Member
 
Join Date: Apr 2003
Location: Canada
Posts: 968
Send a message via MSN to Eradicator
Default

Maybe make ScatterRadius and ScatterRadiusvsInfantry high like, say, 20. That might not work though because its not a projectile, but give it a try.
Eradicator is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-24-2003, 08:10 PM   #3 (permalink)
Senior Member
 
Join Date: May 2003
Posts: 113
Default

if u are doing that in a map.ini, at least, it wont work b/cs that line is hardcoded (even in CINE weapons) and editing it wont do anything. i would also like weapons to scatter but have splash damage just like the original C&C had it.
evilbutterfly is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-24-2003, 08:41 PM   #4 (permalink)
Senior Member
 
Join Date: May 2003
Location: South East USA
Posts: 1,247
Send a message via ICQ to Opals25 Send a message via AIM to Opals25 Send a message via MSN to Opals25 Send a message via Yahoo to Opals25
Default

Maybe you can some sort of projectile thats badically a large cone, though most of its tramparent and has what looks like bullets in it. Then whereever it hits, just make a fairly big splash damage area.
Opals25 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-24-2003, 08:59 PM   #5 (permalink)
Senior Member
 
Join Date: May 2003
Location: USA
Posts: 231
Send a message via ICQ to SilverMobius Send a message via AIM to SilverMobius
Default

Make a projectile, then use the scatter radius line.
SilverMobius is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-24-2003, 09:15 PM   #6 (permalink)
Senior Member
 
Join Date: Jun 2003
Location: Texas
Posts: 709
Send a message via ICQ to Vanguard Send a message via AIM to Vanguard Send a message via MSN to Vanguard Send a message via Yahoo to Vanguard
Default

No splash for it and where are you Alex?
Vanguard is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-25-2003, 03:03 AM   #7 (permalink)
Senior Member
 
Join Date: Aug 2003
Posts: 337
Default

Change this.

Heres the code:
Add this to weapon.ini

Weapon HowitzerMachineGun
PrimaryDamage = 10.0
PrimaryDamageRadius = 3.0
AttackRange = 225.0
DamageType = SMALL_ARMS
DeathType = NORMAL
WeaponSpeed = 99999.0
ProjectileObject = InfantryBullet
FireFX = WeaponFX_TechnicalGunFire
FireSound = BattleDroneWeapon
ScatterRadius = 15
RadiusDamageAffects = ENEMIES
AntiAirborneVehicle = Yes
AntiGround = Yes
DelayBetweenShots = 50
ClipSize = 0
ClipReloadTime = 0
End


Add this to factionunit.ini

Object InfantryBullet

; *** ART Parameters ***
Draw = W3DModelDraw ModuleTag_01
ConditionState = NONE
Model = NONE
End
End

; ***DESIGN parameters ***
DisplayName = OBJECT:InfantryBullet
EditorSorting = SYSTEM
ArmorSet
Armor = ProjectileArmor
End
VisionRange = 0.0

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

Behavior = DestroyDie ModuleTag_03
;nothing
End

Behavior = DumbProjectileBehavior ModuleTag_04
; To tweak a Bezier path, please see GS
FirstHeight = 10 ; Height of Bezier control points above highest intervening terrain
SecondHeight = 10
FirstPercentIndent = 50% ; Percentage of shot distance control points are placed
SecondPercentIndent = 90%
FlightPathAdjustDistPerSecond = 100 ; Can allow a max speed this can attempt to follow a target. Units are their velocity we can tag.
End

Behavior = PhysicsBehavior ModuleTag_05
Mass = 0.01 ; we can't have a zero mass, but we want it pretty tiny...
End

Geometry = Sphere
GeometryIsSmall = Yes
GeometryMajorRadius = 1.0

End



if this doesnt work you got some coding wrong. (it works for me)
if it doesnt work ill send you a compleet coding. just ask me then.
The_Blind_One is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-25-2003, 03:11 AM   #8 (permalink)
Senior Member
 
Join Date: Apr 2003
Location: Canada
Posts: 968
Send a message via MSN to Eradicator
Default

Increase the number in this line ScatterRadius = 15 for more inaccuracy. You will also need to set ScatterRadiusvsInfantry to the same number so it is also inaccurate against infantry (that code is missing).
Eradicator is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-25-2003, 12:56 PM   #9 (permalink)
Senior Member
 
Join Date: Aug 2003
Posts: 337
Default

Eradicator.

I presumed he used a clip of 20 so that would mean 20 bullets diveded to 15 squares and with the low hit probability i used 3 primarydamage radius so it would have a good chance of hitting something in a shot.

Now about that scatterradiusvsinfantry = not neccesary, scatterradius counts for everything.

There is no need for vsinfantry since scatterradius it self already does it it means scatterradiusvsALL.

Its what the creator wants
The_Blind_One is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-25-2003, 07:17 PM   #10 (permalink)
Senior Member
 
Join Date: Jun 2003
Location: Texas
Posts: 709
Send a message via ICQ to Vanguard Send a message via AIM to Vanguard Send a message via MSN to Vanguard Send a message via Yahoo to Vanguard
Default

Thanks all for helping me.
Vanguard 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
Machine gun fire for Aircraft? Kemuri Generals & Zero Hour Editing 3 07-17-2004 08:07 AM
Technical machine-gunner Indigo Generals & Zero Hour Editing 14 07-06-2003 10:10 AM
Project Bridging Machine (A Bridge Too Far) kanejordison Red Alert 2 & Yuri's Revenge Editing 66 06-05-2003 05:38 PM
Cruadser Machine Gun!??!?!?!!? eric Generals & Zero Hour Editing 11 04-11-2003 03:22 PM
"The Project" promo pic: Yuri's Mole machine. Blade Red Alert 2 & Yuri's Revenge Editing 15 01-20-2003 07:20 AM


All times are GMT -4. The time now is 01:14 PM.


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