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,627
Posts: 94,210

Administrators:
DeeZire, Redemption

There are currently 137 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 05-20-2006, 06:59 PM   #1 (permalink)
Teb
Junior Member
 
Join Date: May 2006
Posts: 22
Default Weapon projectile problems. . .

How would I make infantry be able to shoot out lasers like the paladin tank's laser? or any laser at all? It's so confusing! I tried swapping the Ranger's weapon for the PaladinPointDefenseLaser but i got nada. . . Can anyone help me? Or give me a link to a tutorial? Thanks.
Teb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-20-2006, 07:43 PM   #2 (permalink)
Senior Member
 
Join Date: Aug 2003
Posts: 134
Default

Laser weapons are different than normal weapons. Instead of using the defined muzzle/firing bone, the weapon specifies the bone to fire.

Please note the the weapon bones defined in the Art of the object have "01" post fix or whatever number, indicating different fireports. The Weapon code for lasers wants a specific bone, not a general group.

So for example, the ranger weapon fire bone is "Muzzle" (according the the art of the object). However the weapon code should look like this (modified from Laser Crusader weapon):

Code:
Weapon Lazr_RangerWeapon
  PrimaryDamage = 40.0
  PrimaryDamageRadius = 5.0
  ScatterRadiusVsInfantry = 10.0
  AttackRange = 150.0
  DamageType = SMALL_ARMS
  DeathType = NORMAL
  WeaponSpeed = 99999
  WeaponRecoil = 5
  LaserName = Lazr_CrusaderLaserBeam
;;
  LaserBoneName = Muzzle01 ;;
;; 
  FireFX = Lazr_WeaponFX_LaserCrusader
  RadiusDamageAffects = ALLIES ENEMIES NEUTRALS
  DelayBetweenShots = 2300
  ClipSize = 0
  ClipReloadTime  = 0
  ProjectileCollidesWith = STRUCTURES WALLS 
  DelayBetweenShots = 2000
End
GuyInTheWindow is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-22-2006, 11:14 PM   #3 (permalink)
Teb
Junior Member
 
Join Date: May 2006
Posts: 22
Default

Please forgive me for bumping this topic but will this make it shoot out a laser as a projectile? I've tried and had some problems. . .

But hey, third time's the charm :P
Teb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-23-2006, 05:25 PM   #4 (permalink)
Senior Member
 
Join Date: Aug 2003
Posts: 134
Default

Nope, sorry, that's the wey like a normal laser fired in generals.

To make a laser projectile, it's best to just model a laser projectile and set that as a projectile with simular tankshell/missile weapons.
GuyInTheWindow is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-23-2006, 06:47 PM   #5 (permalink)
Teb
Junior Member
 
Join Date: May 2006
Posts: 22
Default

Thanks :tard:
Teb 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
No projectile with new weapon (map.ini) TerroR Generals & Zero Hour Editing 7 01-09-2008 01:21 AM
Infantry Weapon Problems SmokeyDaBear Generals & Zero Hour Editing 2 05-07-2006 11:13 AM
How to launch a weapon/projectile vertically... SmokeyDaBear Generals & Zero Hour Editing 21 11-27-2005 01:30 PM
More weapon problems.... DJRowley Generals & Zero Hour Editing 3 12-29-2003 02:12 PM
Projectile help xcomet Red Alert 2 & Yuri's Revenge Editing 3 07-04-2003 02:20 PM


All times are GMT -4. The time now is 12:52 PM.


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