IPB

Welcome Guest ( Log In | Register )

Making a plane unlandable?
Salazar
post 8 Sep 2019, 14:28
Post #1



Group Icon

Group: Members
Posts: 7
Joined: 16 July 2017
Member No.: 15609



I have a couple of questions. Basically, I am trying to create a new general power that spawns in a support plane that I can control.
I have got the controllable support plane and the spawning part down, but the problem is I am able to land the plane at an airfield. So far I have tried giving it PRODUCED_AT_HELIPAD and DRONE tag but neither of them works, the plane still is able to land but this time bugs out at the airfield because it thinks it's a helicopter.

The biggest clue to achieve this is from looking at the Acolyte drone with the Airforce General from the Shockwave mod. After testing it seems the Acolyte is unable to land, no matter how many times you tell the thing to land it doesn't react to the command at all. I want to give that same property to the unit I made, but I cannot for the life for me find out where this behavior is given - I have looked over everything related to the Acolyte drone and found nothing out of the ordinary that gives it this behavior.

The second thing I want to do is to put a limit on how many of this unit I can field at once. Since I am deploying it through a general power and not an airfield/warfactory, I have no idea how to set a limit on this (make the special power itself grayed out while a certain number of this unit is already on the field).

Does anyone have any ideas on how to solve these two issues?
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
Omeka88
post 12 Sep 2019, 18:40
Post #2



Group Icon

Group: Members
Posts: 48
Joined: 14 July 2017
From: Roma
Member No.: 15601



maybe you can do that :

make a "unit" lock by the science Special power [like rotr black bear\eca super unit]
said unit will do the OCL for the special power and spawn a self damage on im (you can make a custom armor and say take damage only from fall damage , for avoid kill the command center by mistake)

once it use the ocl say 3 time , will die and left a husk(invisible) with this setting on the Unit and the husk :

MaxSimultaneousOfType = 1
MaxSimultaneousLinkKey = AirRaid //(or anything tou want)

only way i can tink to do a limited use SuperWeapon\General power


--------------------
Go to the top of the page
 
+Quote Post
Salazar
post 14 Sep 2019, 7:41
Post #3



Group Icon

Group: Members
Posts: 7
Joined: 16 July 2017
Member No.: 15609



QUOTE (Omeka88 @ 12 Sep 2019, 19:40) *
maybe you can do that :

make a "unit" lock by the science Special power [like rotr black bear\eca super unit]
said unit will do the OCL for the special power and spawn a self damage on im (you can make a custom armor and say take damage only from fall damage , for avoid kill the command center by mistake)

once it use the ocl say 3 time , will die and left a husk(invisible) with this setting on the Unit and the husk :

MaxSimultaneousOfType = 1
MaxSimultaneousLinkKey = AirRaid //(or anything tou want)

only way i can tink to do a limited use SuperWeapon\General power


Thanks for the reply. The problem I see with this solution (if I understood it correctly) is the OCL object will stay alive even after the unit is dead. I want to be able to build the unit again once the unit dies, not have it limited to one the entire game.

Is there a way to tie an OCL dummy object with the unit that I spawn? So if the unit dies, the OCL dummy object also dies?
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 7 June 2024 - 21:42