Jump to content

Recommended Posts

Posted

Sure he you go:

1. Add the unit to the declaration section of the rules.txt.

2. Copy the attributes of the units you think is the most similar to the unit you want to make (or you can build it up). Paste it in the section of the rules for the house you are adding the unit to. To be safe you can make sure that the attributes correspond to the position of the unit in the declaration section.

3. Add the unit to the artlni file.

4. Add the unit to E_Output_Text_Pickup for example

ATUnit {Atreides Unit}. Place this in the Object Tips.

5. The abreviation in the pickup has to be the same as the one in artlni and rules.

This is the simplest way to do it. For more complex units that have new textures you need xbf files.

Posted

Sure he you go:

1. Add the unit to the declaration section of the rules.txt.

[color-=blue]Ok what do I call it?

Say i wanted it to be and atr unit would i put ATunit ?

Posted

If you want it to be an Atreides tank ATTank if you want to make an Atreides trooper ATTrooper. This is just what I would do, it doesn't really matter what you call it as long as it has the house abbreviation in front like AT, HK, or OR. To add to a subhouse do the same but you need to add their abbreviation and put it in the subhouse part of the declarations. Like GU, IM, FR, IX, or TL.

Posted

Select The IXTransport right click select copy, and paste it where you want it. Do you intend to make the transportt an apc? Also the IXTransport wouldn't be the best to copy because it isn't buildable by any of the houses, so you have to add a lot of information.

Posted

How about this

[ATTransport]

House = Atreides

StormDamage=10

Terrain = Rock, Sand, NBRock, Ramp

PrimaryBuilding = ATFactory //only built in ATFactory

UnitGroup = FromFactory

Cost = 850

BuildTime = 500

Size = 2

Speed = 3.0 //game coord per update

TurnRate = 0.05  //radians per update

TurretAttach = ATMongooseMissile

Armour = Medium

Health = 1500

//SoundSelected = Selected

//SoundOrdered = Ordered

ExplosionType = Explosion

ViewRange = 4,8,InfRock

Debris = DebrisMedium

AiTank = TRUE

TechLevel = 1  

Starportable = TRUE //order from starport (if atreides)

ReinforcementValue = 6

Crushes = FALSE

ChaosEffect = MediumChaosFX

HawkEffect = MediumHawkFX

TastyToWorms = True

WormAttraction = 4

CanMoveAnyDirection = TRUE

HitSlowDownAmount = 10  // Percent (100 = complete stop)

HitSlowDownDuration = 100 // ticks

AIThreat = 20

RoofHeight = 45

// LEVEL 1 ----------------------------------

VeterancyLevel = 10  // Score required

ExtraDamage = 50 // 50% more damage - applied to all weapons

ExtraArmour = 50 // Takes 50% less damage

// LEVEL 2 ----------------------------------

VeterancyLevel = 24

ExtraRange = 50 // 50% further range

// LEVEL 3 ----------------------------------

VeterancyLevel = 48

ExtraDamage = 75

Posted

That seems fine but I don't think that you can arm the IXTransport. To do that you would have to edit the xbf of the unit. I don't know anything about xgf editing so you could probably talk to Frodo about that one.

Posted

Ok, what about this

[ATBarrageTank]

House = Atreides

StormDamage=10

Terrain = Rock, Sand, NBRock, Ramp

PrimaryBuilding = ATFactory //only built in ATFactory

UnitGroup = FromFactory

Cost = 850

BuildTime = 500

Size = 2

Speed = 3.0 //game coord per update

TurnRate = 0.05  //radians per update

Armour = Heavy

Health = 4000

//SoundSelected = Selected

//SoundOrdered = Ordered

ExplosionType = Explosion

ViewRange = 4,8,InfRock

Debris = DebrisMedium

AiTank = TRUE

TechLevel = 1  

Starportable = FALSE //order from starport (if atreides)

ReinforcementValue = 6

Crushes = FALSE

ChaosEffect = MediumChaosFX

HawkEffect = MediumHawkFX

TastyToWorms = True

WormAttraction = 4

CanMoveAnyDirection = TRUE

HitSlowDownAmount = 10  // Percent (100 = complete stop)

HitSlowDownDuration = 100 // ticks

AIThreat = 99

RoofHeight = 45

// LEVEL 1 ----------------------------------

VeterancyLevel = 10  // Score required

ExtraDamage = 50 // 50% more damage - applied to all weapons

ExtraArmour = 50 // Takes 50% less damage

// LEVEL 2 ----------------------------------

VeterancyLevel = 24

ExtraRange = 50 // 50% further range

// LEVEL 3 ----------------------------------

VeterancyLevel = 48

ExtraDamage = 75

Posted

This is a strings file. It is contained in strings0001. You have to extract E_Output_Text_Pickup and edit it. To do this you need DuneEx. You can download this from dune editing.

Posted

For the finished one i have:

[ATBarrageTank]

Score = 1

House = Atreides

StormDamage=10

Terrain = Rock, Sand, NBRock, Ramp

PrimaryBuilding = ATFactory //only built in ATFactory

UnitGroup = FromFactory

Cost = 850

BuildTime = 500

Size = 2

Speed = 3.0 //game coord per update

TurnRate = 0.05  //radians per update

Armour = Heavy

Health = 4000

//SoundSelected = Selected

//SoundOrdered = Ordered

ExplosionType = Explosion

ViewRange = 4,8,InfRock

Debris = DebrisMedium

AiTank = TRUE

TechLevel = 1  

Starportable = FALSE //order from starport (if atreides)

ReinforcementValue = 6

Crushes = FALSE

ChaosEffect = MediumChaosFX

HawkEffect = MediumHawkFX

TastyToWorms = True

WormAttraction = 4

CanMoveAnyDirection = TRUE

HitSlowDownAmount = 10  // Percent (100 = complete stop)

HitSlowDownDuration = 100 // ticks

AIThreat = 99

RoofHeight = 45

// LEVEL 1 ----------------------------------

VeterancyLevel = 10  // Score required

ExtraArmour = 50 // Takes 50% less damage

// LEVEL 2 ----------------------------------

VeterancyLevel = 24

// LEVEL 3 ----------------------------------

VeterancyLevel = 48

Posted

Everytime a make a change and save it, when i reopen it the changes are gone???

When I extract files when I want to put them back in again it won't overwrite but instead creates a new file

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.