IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
Is there anything important on add a drone to structure in ZH?
A34Comet
post 19 Feb 2018, 19:23
Post #1



Group Icon

Group: Members
Posts: 149
Joined: 1 March 2014
From: China(Mainland)
Member No.: 10320



I try to give the firebase the ability to build a drone for themselves but.... the game will crush when the drone a about to finish

It is very strange since the drone is already used by many units, there should be something wrong or missing on somewhere in the firebase code but I just can't find out

Anyone have a clue?
Go to the top of the page
 
+Quote Post
(USA)Bruce
post 20 Feb 2018, 0:43
Post #2


The Forums American Hotshot Flyboy
Group Icon

Group: Tester
Posts: 2859
Joined: 22 November 2012
From: The foundation of modern freedom and Liberty;United States of America.
Member No.: 9500



Is it an automatic drone? Didnt the 1.85 Firebase in ROTR have that? take a look

And always, when posting here....SHARE YOUR CODE


--------------------
Go to the top of the page
 
+Quote Post
A34Comet
post 20 Feb 2018, 2:38
Post #3



Group Icon

Group: Members
Posts: 149
Joined: 1 March 2014
From: China(Mainland)
Member No.: 10320



QUOTE ((USA)Bruce @ 20 Feb 2018, 7:43) *
Is it an automatic drone? Didnt the 1.85 Firebase in ROTR have that? take a look

And always, when posting here....SHARE YOUR CODE


Thanks for reply :)

Well there is really nothing worthy to post since I just try to let USA base structure to use battledrone, they are all from original Zh, I did not actually write a code

I tried to compare with ROTR work but could not tell the difference
Go to the top of the page
 
+Quote Post
A34Comet
post 20 Feb 2018, 2:59
Post #4



Group Icon

Group: Members
Posts: 149
Joined: 1 March 2014
From: China(Mainland)
Member No.: 10320



Oh, sorry for the mistake, I did success on add a drone to firebase, but when it came to airfield, it didn't work, the world editor can't find out but the game will crush when the drone is complete
Go to the top of the page
 
+Quote Post
A34Comet
post 20 Feb 2018, 3:10
Post #5



Group Icon

Group: Members
Posts: 149
Joined: 1 March 2014
From: China(Mainland)
Member No.: 10320



OK seems I am totally crused rolleyes.gif

I always took a lot of time but find nothing and just after I post the problem and all of a sudden I find out why myself...

The firebase, base defense, and all other units, they have somekind of AIUpdateInterface because they are active to game situation

However normally a normal base structure do not since they don't need to react, and this will prevent them from having a servent object like drones.

So I just add a AIUpdateInterface moduletag in the airfield and it worked, even if there is actually nothing in that moduletag
Go to the top of the page
 
+Quote Post

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: 28 March 2024 - 13:01