C&C Labs Forums
»
C&C Maps and Modding
»
Generals: Modding
»
FireWeaponUpdate / PointDefenseLaserUpdate & PRIMARY weapon
Private Joined: 8/21/2024(UTC) Posts: 1
|
Hi all! I have problem FireWeaponUpdate and PointDefenseLaserUpdate and I hope someone know solution
I want to give a hull weapon and create a frontal armor effect for tanks that will destroy the projectile before it hits. However, solutions "fireWeaponUpdate" and "PointDefenseLaserUpdate" are tied only to the PRIMARY weapon, to which turret main gun belongs. Because of this, front of tank becomes unprotected if target on a side or back.
Making Turret and main gun as "Secondary" visually solves the problem, but the tank cannot shoot while moving, cannot "attack the ground" (via CTRL), and later stops aiming at the target on its own
Another solution is "dummy weapon" and PROTABLE_STRUCTURE (aka Avenger), but fireWeaponUpdate and PointDefenseLaserUpdate no working in this way + to attack, the turret turns not to the target, but to a random side (it can often shoot at a target while facing backwards)
How can I solve this problem? Maybe there is a script responsible for "fire weapon update" and "point laser defense" where I can replace the binding from the primary to some other? Or is there a nuance in the PROTABLE_STRUCTURE of the "avenger" turret?
|
|
|
|
Users browsing this topic |
Guest
|
C&C Labs Forums
»
C&C Maps and Modding
»
Generals: Modding
»
FireWeaponUpdate / PointDefenseLaserUpdate & PRIMARY weapon
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.