Jump to content

Realistic Aircrafts mod v1.0


SoloA

Recommended Posts

Personaly i tried to add information into the xenopedia but i cannot seem to find the hook that go read the information from the XML, i wanted to base it on the chinook, i mean chinook information are already int he xenopedia, yet i cannot find where the game go find its information, if i knew where i could replicate and add the information based on how he does it with the cihnook. Mystery...

Link to comment
Share on other sites

Personaly i tried to add information into the xenopedia but i cannot seem to find the hook that go read the information from the XML, i wanted to base it on the chinook, i mean chinook information are already int he xenopedia, yet i cannot find where the game go find its information, if i knew where i could replicate and add the information based on how he does it with the cihnook. Mystery...

Pay close attention to xenopedia.xml, there's some hidden columns (6 and 7) if you've opened it in Excel.

As for the hooks to display the information, look at assets/scrips/_basebuilt.lua (open in notepad). Just add more "UnlockKnowledge("...");" functions that point to your entries in the Xenopedia.

You can also add the functions to the researches.xml file under the "When Finished" section if you want things to appear after certain research is completed, or want to build a research tree for the new planes.

Link to comment
Share on other sites

After carefully searching files and where you pointed me, i found out that these are only for making entry appear in the list up right, and print image with description, but it doesnt show how it takes the stats to appear on the bottom right ( range, speed, etc as on the chinook entry ). This is what i was looking for, but i guess untill it unlocks ( had a mail from chris reguarding it, he said it would be less complicated to just wait untill he work on the issue ).

Edited by jocan2003
Link to comment
Share on other sites

Adding an aircraft is not a problem. Problem is to add aircraft with AWACS functionality. This functionality is not provided by developers.

BTW, Pashka_Dodger, can you speak russian?

SoloA, конечно могу)) мне как русскому человеку немного проще общаться на русском)

Link to comment
Share on other sites

Correct me if I'm wrong, but aircraft do have a radar range entry.

Just have a really high value for an AWACS.

Yes you are rights, but plane will simply as interceptor with big radar range.

I want to add plane unarmed and with AWACS. Not interseptor and not dropship. Plane like satellite, but with manual control.

Interseptors can protect him from UFOs))

Link to comment
Share on other sites

I am not sure why that would be any different from a dropship with massive radar range but zero troop capacity?

That craft would be unable to take part in air combat, in fact it would be instantly destroyed by enemy interception unless you provide escorts.

I suppose you would still be able to send it to ground missions unless there is a crew number check though.

Link to comment
Share on other sites

The only difference between a dropship and an interceptor appears to be how many crew slots and weapon slots are allocated to the craft in aircrafts.xml

I haven't looked closely enough to find out how the game determines which craft should be under the dropship section of the UI and not appear in combat as opposed to those who do appear in air combat and show under interceptors in the UI.

Link to comment
Share on other sites

  • 3 weeks later...
  • 4 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...