Getting build pads for additional factions -1 reply

Please wait...

msc204

Guy that does Stuff

50 XP

14th September 2007

0 Uploads

136 Posts

0 Threads

#1 5 years ago

So, long story short, I'm making a small mini-mod that will add the Hutts as a playable faction. This is also the first mod I've ever made for Empire at War. Currently, one of my biggest problems is trying to get the additional faction to build turrets on neutral satellites. After looking through the code some I noticed each of the vanilla factions have a bit of code referencing a kind of build pad, I.E. "Rebel_Build_Pad" for example. I'm trying to find the XML that contains these, but so far no luck. Anyone happen to know what XML this is?




Blood Asp

Modding, Coding, Pwning

50 XP

9th November 2010

0 Uploads

503 Posts

0 Threads

#2 5 years ago

Firstly:

Spoiler: Show

SpaceBuildablesSkirmish.xml

Empire, UC_Empire_Defense_Satellite_Laser, UC_Empire_Defense_Satellite_Missile, UC_Empire_Defense_Satellite_Repair, Neutral, Rebel, Empire, Underworld

All these have to be edited for your new faction.

You're also going to need to give them versions of these:

Spoiler: Show
UC_Empire_Defense_Satellite_Laser Rebel_Defense_Satellite_Laser 875 400 25 RebelRHD_Build_StructureRHD_Building_CanceledRHD_Construction_Complete
Spoiler: Show
UC_Empire_Defense_Satellite_Missile Rebel_Defense_Satellite_Missile 700 275 28 RebelRHD_Build_StructureRHD_Building_CanceledRHD_Construction_Complete
Spoiler: Show
Empire_Defense_Satellite_LaserRebel
Spoiler: Show
Empire_Defense_Satellite_MissileRebel

You can also give them the Zann Consortium satellites if you wanted to.




msc204

Guy that does Stuff

50 XP

14th September 2007

0 Uploads

136 Posts

0 Threads

#3 5 years ago

All of the above were edited to meet specifications a while ago, units can cap the satellites but I can't build anything on them - hence why I'm confused. :confused:

Also, another slight issue cropped up - I started adding a few custom units and I put the icon files in textures folder, however they fail to show up in-game along with the ship names in the description.




Blood Asp

Modding, Coding, Pwning

50 XP

9th November 2010

0 Uploads

503 Posts

0 Threads

#4 5 years ago

msc204;5699685All of the above were edited to meet specifications a while ago, units can cap the satellites but I can't build anything on them - hence why I'm confused. :confused:

Also, another slight issue cropped up - I started adding a few custom units and I put the icon files in textures folder, however they fail to show up in-game along with the ship names in the description.

For the text, you have to edit the "mastertextfile_english.dat" file. As for the icons, they have to added to "MT_Commandbar.MTD". There's an editor for each of these files.

If you're still talking about the space build pads, you must add them like this:

Spoiler: Show

Hutts, UC_Hutts_Defense_Satellite_Laser, UC_Hutts_Defense_Satellite_Missile, UC_Hutts_Defense_Satellite_Repair,

This is to be added under both of the following entries:

The same goes for the ground buildables located in groundbuildablesskirmish.xml