Jump to content
Sign in to follow this  
someguy11

reckoner VALID_TARGET_FOR_C4

Recommended Posts

I've tried adding VALID_TARGET_FOR_C4 to both

AttributeModifier_BunkerTruckDeployed & StatusBitsUpgrade (from the game object)

but neither give the wanted effect

Share this post


Link to post

That's not possible unless the Reckoner is a structure when deployed and there was no xml file indicating that. But if you might try creating a Reckoner structure similar to the Rig and Construction Yard and give that VALID_TARGET_FOR_C4 flag define a shot. However I would recommend placing that flag define on the unit itself, not when deployed, just to ease issues. Besides, even uncrushable commandos like Tanya from Yuri's Revenge can destroy vehicles with C4.

Share this post


Link to post

Since when are tripod, avatar, and juggernaut (all valid c4 targets) structures?

Share this post


Link to post

Like Lauren says, you don't need it to be a structure, it just needs to have the kindof. The only issue i could think of is that the reckoner becomes targetable both in vehicle AND in bunker mode.

 

I've tried adding VALID_TARGET_FOR_C4 to both

AttributeModifier_BunkerTruckDeployed & StatusBitsUpgrade (from the game object)

but neither give the wanted effect

Also those use modelconditionstates and object status....VALID_TARGET_FOR_C4 is a KINDOF....fruits, vegetables and meat...all different categories.

Edited by Ravendark

Share this post


Link to post

Can I make it so that the reckoner gains the VALID_TARGET_FOR_C4 kindof only when it is deployed?

Edited by someguy11

Share this post


Link to post

No, you cant change kindofs. At best you can have the reckoner turn into another unit when deployed (and thus have its own set of kindofs), but I guess that would have its own problems.

 


What you could also try:
1. add VALID_TARGET_FOR_C4 to the Reckoner
2. add DisallowedTargetObjectStatus to the C4 abillitys (and choose an state that pretty much unused (if there are any))
3. add the state to the Reckoner once build and remove it once deployed

That way the state would prevent the SP from being used on the undeployed Reckoner, but I am pretty sure you would get the C4 cursor on the mobile Reckoner even if the abillity cant be used.



@ zocom7:

Structures dont need VALID_TARGET_FOR_C4, they can be targetet by default

Edited by Stygs

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×