Jump to content

Recommended Posts

Posted

Hi, ive been looking on the mod tutorials for emperor but, im still not sure how to enable the atredies infrantry with two weapons?

oh, and im also wondering if theres any mods availble for this game?

thanks...

Posted

The modding tutorials and the mods themselves are there, but can't be reached at the moment. It is because of a server move of this site and merging the editing part of the site with the main site, this hasn't been completed yet, so there is no actual page listing all the editing stuff. It should be coming soon.

What do you mean exactly? Do you want to add an extra weapon to the Atreides Infantry, or do you mean you want to enable a certain Atreides Infantry unit which has 2 weapons.

The first one is only partly possible. It is not possible to visually add an extra weapon to the unit's model, the unit can only fire with one weapon. Although it is possible to add more "turrets" to a unit. I don't know what the requirements are for doing that, and if both "turrets" are used at the same time (so that the unit will fire both at the same time) But I think someone else does know it.

The second one is possible. You need to do the following:

Find the code name of the unit (like ATInfantry = Atreides Infantry) you want to enable. And look for that name between the '[' and ']' in the Rules.txt

Now add the following lines below the unit name if they aren't already there:

PrimaryBuilding = ATBarracks  (or any other building which is able to produce units (Barracks, Factory, Hanger, Subhouse buildings)

UnitGroup = FromBarracks  (this determins what type of building really builds it. Like you can't build a Kindjal and a Sniper at the same time, because their UnitGroups are the same (FromBarracks) but you can build a Mongoose and Sniper at the same time because they have different UnitGroups (FromFactory and FromBarracks)

Cost =  (any number will do, although pick a normal number (like 200) unless you really want to expirement.

BuildTime =  (Time is in game ticks. Compare this with existing units to get an idea how long a tick really is)

Now open the ArtIni.txt and find the same unit.

Enter these lines to it:

Icon = "iconsATLightInfantry.tga"

IconGrey = "iconsgrey_ATLightInfantry.tga"

SideBarType = "Infantry"

You may want to pick other icons or something like that.

Once finished, put both the Rules.txt and the ArtIni.txt in your Emperor folder, in the datamodel folder. You may need to create the model folder first.

Now run the game, and you should have that new unit.

The Rules.txt and the ArtIni.txt can be extracted from the game files using DuneEx, which is, unfortunately, unavailable like the rest of the modding downloads right now. But you can find the Rules.txt and the ArtIni.txt here: http://www.dune2k.com/?page=files-emperor&show=mods

Although I advice you to use extracted files to work with (once you can extract them)

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.