![]() |
![]() ![]() |
Jun 27 2007, 10:06 AM
Post
#1
|
|
|
Group: Senior Staff Posts: 1,166 Joined: 14-June 06 Member No.: 811 |
There are a couple of ways to make objects fire weapons without them having those weapons in weaponsets and without needing AI modules. These include death weapons, fired by FireWeaponWhenDead, or by Instant and Slow death behaviors; PointDefenselaserUpdate which will fire any type of weapon at any target type within range (eg shoot firebase gun at aircraft); FireWeaponUpdate - used by microwave and ECM tanks and GLASneakAttackTunnelNetworkStart - see this one in particular; and fire via OCL and special power, which is what will be demonstrated here. This uses an OCL to fire a weapon or weapons, and the OCL is called by an OCLSpecialPower module. Unless the object has a weaponset that has the weapons called by the OCL, the weapons will fire from the object origin, which is in the middle of the object on the ground, so it works best with weapons that will not detonate on the ground - weapons that use no projectiles, or that use DumbProjectile behavior projectiles, or that use projectiles that are unable to die in the first second because of HeightDie restrictions. Here is a single player test mission to show the technique of fireing weapons using OCL and special power. In this map Lotus can fire 7 types of weapons with 1 button. The number of weapons she will fire is determined by how many of them are in range of the location you click on. Also when you do radar van scan, the radar van will fire a nuke missile at the location you click. The 7 weapons Lotus can fire are: CrusaderMachineGun RangerFlashBangGrenadeWeapon SpectreHowitzerGun ;AttackRange = 2222.0 MicrowaveTankEmitterWeapon ;AttackRange = 100.0 InfernoCannonGun Nuke_OverlordTankGun FireBaseHowitzerGun This post has been edited by Beng: May 26 2008, 06:03 AM
Attached File(s)
|
|
|
|
May 26 2008, 06:04 AM
Post
#2
|
|
|
Group: Senior Staff Posts: 1,166 Joined: 14-June 06 Member No.: 811 |
I have updated this as the link to the file was broken. Now the file is attached above.
|
|
|
|
Jul 18 2008, 02:25 PM
Post
#3
|
|
|
Member ![]() ![]()
Group: Members Posts: 21 Joined: 2-June 06 Member No.: 770 |
thanks beng i will try it I think all the commando's from all different army's (GLA, USA, China and the other 5 generals) should have many features Jermen Kell is only good in killing infantry and killing vehicle crew ( it should have more features) Same goes for black lotus as well. By default she has only capturing enemy buildings and stealing cash abilities. She should have some fighting abilities as well Cournal burton is good in firing but gets spotted and killed very easily that's now how a commando should be |
|
|
|
Jul 19 2008, 05:30 AM
Post
#4
|
|
|
Group: Senior Staff Posts: 1,166 Joined: 14-June 06 Member No.: 811 |
Look up my Generals and Zero Hour mods in the downloads section, i think you will find the heros in there to your liking. |
|
|
|
![]() ![]() |