Posted by: GreyW00lf - Sunday, April 10, 2016 1:32:27 PM
Hello All,
So I have a question about making a the Avenger's Target lazer able to make a Artillery strike happen?
Posted by: oliver - Sunday, April 10, 2016 2:23:40 PM
Try checking at ROTR Russian hero Boris... Uses his laser to call for an airstrike.. Its same principle
Posted by: GreyW00lf - Monday, April 11, 2016 7:04:43 PM
[quote=oliver;139960]Try checking at ROTR Russian hero Boris... Uses his laser to call for an airstrike.. Its same principle[/quote]
ROTR?
Posted by: braxt - Tuesday, April 12, 2016 1:52:00 AM
[quote=GreyW00lf;139966][quote=oliver;139960]Try checking at ROTR Russian hero Boris... Uses his laser to call for an airstrike.. Its same principle[/quote]
ROTR?[/quote]
Rise of the reds, one of the most popular mods for C&C.
Posted by: Zatsupachi - Tuesday, April 12, 2016 2:10:51 AM
You can try making an invisible/really tiny projectile weapon with a ProjetileDetonationOCL. And the laser pointer can be made with using the MissileDefender's laser guided module.
Posted by: GreyW00lf - Saturday, May 14, 2016 4:17:35 PM
Well I have been trying to figure this out and for the life of me I can not get it to Work
Posted by: Gameanater - Saturday, May 14, 2016 5:21:55 PM
Try this, but be warned it has not been tested.
[code=plain]
Weapon AvengerTargetDesignator
PrimaryDamage = 200.0 ; How long (msec) we put the status on the target (should equal or exceed DelayBetweenShots)
PrimaryDamageRadius = 0.0
AttackRange = 200.0
DamageType = STATUS ; We put an Object Status on the target
DamageStatusType = FAERIE_FIRE ; And here is what
WeaponSpeed = 999999.0 ; dist/sec
DelayBetweenShots = 200 ; time between shots, msec
ClipSize = 0 ; how many shots in a Clip (0 == infinite)
ClipReloadTime = 0 ; how long to reload a Clip, msec
LaserName = AvengerTargetingLaserBeam
LaserBoneName = TurretFX03
;------------ New code ----------
;Copied from DragonTankFireWallWeapon
ProjectileObject = DragonTankFlameProjectile
;FireFX = WeaponFX_DragonTankFlameWeapon
ProjectileDetonationFX = WeaponFX_DragonTankMissileDetonation
ProjectileDetonationOCL = SUPERWEAPON_A10ThunderboltMissileStrike1 ;OCL_FireWallSegment
;------------ New code ----------
FireFX = WeaponFX_AvengerTargetDesignator
FireSound = AvengerPaintWeaponLoop
FireSoundLoopTime = 120 ; loop the firing sound until there's this much delay between shots
End
[/code]
Hopefully this can help with getting the basic idea down.
Posted by: GreyW00lf - Saturday, May 14, 2016 10:21:57 PM
Well i tested it and nothing happens no in coming airstrike
Posted by: Zatsupachi - Sunday, May 15, 2016 9:42:30 AM
The code above doesn't work since a Laser isn't a projectile(Hence the entry being ProjectileDetonationOCL).
You need to make a projectile.
Get copy of the object GenereicTankShell and shrink it(Scale= 0.01) so that its unnoticable.
Then go inspect to Missile Defender's Laser Targetting module. Use that for your laser.
One more thing, make sure the Projectile launches from the correct bone.
Posted by: Gameanater - Sunday, May 15, 2016 10:33:48 AM
I kind of had a feeling it wouldn't work, oh well. Zat has the right idea though.
You could also give the new object a locomotor with something like 9999999.0 speed so it's basically instant.