1: How do I change the point of origin for the beam?
;FILE: Weapon.ini ;------------------------------------------------------------------------------ Weapon ECMTankVehicleDisabler PrimaryDamage = 24.0 PrimaryDamageRadius = 0.0 ; 0 primary radius means "hits only intended victim" AttackRange = 200.0 DamageType = SUBDUAL_VEHICLE DeathType = NORMAL WeaponSpeed = 999999.0 ; dist/sec (huge value == effectively instant) LaserName = ECMDisableStream ;--------> LaserBoneName = WEAPONA01 <--------------- RadiusDamageAffects = ALLIES ENEMIES NEUTRALS DelayBetweenShots = 100 ; time between shots, msec ClipSize = 0 ; how many shots in a Clip (0 == infinite) ClipReloadTime = 0 ; how long to reload a Clip, msec AntiAirborneVehicle = No AntiAirborneInfantry = No FireSound = FrequencyJammerWeaponLoop FireSoundLoopTime = 120 ; loop the firing sound until there's this much delay between shots End
2: How do I make an EMP skill/power that fires outward from the building at the click of a command button?
1: Is there a way to set a condition "has to be alive to fire weapon" type thing?
2: I didnt quite follow on the copy demo generals part. Can you explain in more detail?
CommandButton Demo_Command_TertiarySuicide Command = FIRE_WEAPON Upgrade = Demo_Upgrade_SuicideBomb WeaponSlot = TERTIARY Options = OK_FOR_MULTI_SELECT NEED_UPGRADE TextLabel = CONTROLBAR:SuicideAttack ButtonImage = SUSuicideAttk ButtonBorderType = ACTION ; Identifier for the User as to what kind of button this is DescriptLabel = CONTROLBAR:ToolTipGLASuicideAttack End
Weapon EMPSpawnerWeapon FireOCL = OCL_EMPPulseEffectSpheroids End
Behavior = DestroyDie ModuleTag_15 ; deletes it. ;nothing End Behavior = CreateObjectDie ModuleTag_16 ; throws some debris out. CreationList = OCL_LargeStructureDebris End Behavior = CreateObjectDie ModuleTag_17 CreationList = AirF_OCL_AmericanRangerDebris10 ; makes some rangers. ExemptStatus = UNDER_CONSTRUCTION End Behavior = FXListDie ModuleTag_18 DeathFX = FX_StructureMediumDeath ; and a visible explosion. End
I hope I'm making myself clear... I've been looking at code all day, and Im starting to feel a bit confused... :-)
The C&C Labs Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies. More Details Close