Jump to content

Recommended Posts

Posted

i am making a super unit of myself, but i have some problems.

here is the rules.txt of me:

[Ethan]

AdvancedSardaukar = TRUE

MaxRange = 10  // Range infantry must be in for him to use his knife

House = Imperial

StormDamage=138 // 2*64 + 10

PrimaryBuilding = IMBarracks

SecondaryBuilding = ATPalace, HKPalace, ORPalace

UnitGroup = FromIMBarracks

UpgradedPrimaryRequired = TRUE

Terrain = Rock, Sand, NBRock, InfRock, Ramp

Cost = 1000

BuildTime = 1200

Size = 1

Speed = 7.0 //game coord per update

TurnRate = 0.2  //radians per update

TurretAttach = IMADVSardaukarGun, IMSardukarGun

Armour = BPV, 150, InfRock

Health = 5400 //changed because has one tile attack 1000

Infantry = true

//SoundSelected = Selected

//SoundOrdered = Ordered

//SoundID = 49

ViewRange = 12

AiFoot = TRUE

TechLevel = 5

ChaosEffect = SmallChaosFX

HawkEffect = SmallHawkFX

TastyToWorms = True

WormAttraction = 4

Crushable = FALSE

CanMoveAnyDirection = TRUE

GetsHeightAdvantage = TRUE

CanBeDeviated = FALSE

ExplosionType = CrushedInfantry

AIThreat = 70

CanBeRepaired = FALSE

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

VeterancyLevel = 20  // Score required

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

Can Self Repair = 1

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

VeterancyLevel = 40

ExtraArmour = 50 // Takes 50% less damage

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

VeterancyLevel = 60

Extra Armor = 50

Extra Damage = 50

Here is the ArtIni of me...

[Ethan]  

 Icon = "iconsIM_ADVSardaukar.tga"  

 IconGrey  = "iconsgrey_IM_ADVSardaukar.tga"  

 Xaf  = "IM_ADVSardaukar"

 SideBarType = "Infantry"

how do i add myself to the strings?

Posted

You mean the declaration section? I was about to say something about that before as well. Make sure you add it under the appropriate house units (i.e. you wouldn't put your name under the Atreides vehicles declaration section for instance). ;D

Posted

You mean the declaration section? I was about to say something about that before as well. Make sure you add it under the appropriate house units (i.e. you wouldn't put your name under the Atreides vehicles declaration section for instance). ;D

as long as its under a UNITS declaration section the house or vehicle/infantry/air orientation makes absolutely no difference.

Posted

i still cant build it? can someone do the strings for me? i need to learn, but its confusing...

the units name is Imperial Caid Ethan. and the rules are above.

Posted

as long as its under a UNITS declaration section the house or vehicle/infantry/air orientation makes absolutely no difference.

Ok I'll take your word for it, but I fail to comprehend why the unit names would be arranged in those separate categories then. I'll have to check that out. ???

Posted

I believe that it is so multiple ini editors could work on the rules file without it getting all jumbled up.

Also new units are meant to be declared under the "new" section so us modders dont really need to use the main section anyway.

and indeed as the units in the "new" section are not divided into house/vehicle/infantry this merely proves my point.

Posted

I've got the same problem :'(

It just doesn't appear anywhere

well that would mean that u havnt declared it properly or havnt added it to the artini.

From the other topic i can see that u did add it to the artini so the other must be the case.

either that or u didnt set a primary building.

Posted

well for a start you spelled imsardaukargun incorrectly.

and what is the precise problem anyway?

the unit isnt availible to build. i guess i had better change the spelling. ;D

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.