Jump to content

Need Help with some editing


ibrakeforsmugglers

Recommended Posts

Inoculator9, the one person i have a feeling could help me. i went into the rules.txt and made infantry units available at the starport, something i think should be default since you never train your soldiers on site during a real war. that was easy because those units are house-specific, but i wanted to get the imperial sardaukar to come through the starport, but ONLY if you have an alliance with them. the direct way is impossible because starports are house-specific and imperial units cannot come through non-imperial buildings. i tried to get around that by setting the sardaukar available to all houses, and thought that might work. but, when i did that, it didnt matter if you were allied to them or not, you could always buy them at the starport, thats my problem. I want to find a way to make them available at the starport, but ONLY with an alliance. I know youve made a bunch of mods, i especially like your smuggler mod, so i figure youd be able to help me with my dilemma.

Link to comment
Share on other sites

Lol I'm sorry I didn't reply sooner but I was lazy. I know what your problem is exactly. Unfortunately you HAVE to have a building which allows the production of sardaukars and is only available with alliance with the sardaukar. For instance, you would have to probably do the following with the sardaukar:

//Primarybuilding =  (cancel this statement)

secondarybuilding = IMsardaukarbarracksr

Starportable = TRUE

This means that you would still require the sard barracks to order sards from the starport. This may or may not work, depending on how the starport is coded. If this does not work then I'm afraid it's impossible.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.