Welcome Guest ( Log In | Register )

IPB
 
Reply to this topicStart new topic
> BlackLotus firing seven weapons map.ini
Beng
post Jun 27 2007, 10:06 AM
Post #1
Brigadier General
Group Icon
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)
Attached File  _Demo_of_OCLFiringWeapon.zip ( 43.33K ) Number of downloads: 94
 
Go to the top of the page
 
: | +Quote Post
Beng
post May 26 2008, 06:04 AM
Post #2
Brigadier General
Group Icon
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.
Go to the top of the page
 
: | +Quote Post
chaudry
post 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
Go to the top of the page
 
: | +Quote Post
Beng
post Jul 19 2008, 05:30 AM
Post #4
Brigadier General
Group Icon
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.

Go to the top of the page
 
: | +Quote Post

Reply to this topicStart new topic

 




HOME 2 3 4 5 6 7 8 9 10