Jump to content


Photo

AcE11's Questions


  • Please log in to reply
10 replies to this topic

#1 AcE11

AcE11
  • New Members
  • 24 posts

Posted 09 September 2007 - 03:30 PM

In this mod, one of the heroes, i think it's carcharoth(a huge warg) is simply a warg which has had its size dramatically increased(i think this is the case).
is it possible to alter the ini files to change the size of other units, ie. make mumakil smaller or aragorn bigger.....
??

#2 Guest_Guest_*

Guest_Guest_*
  • Guests

Posted 09 September 2007 - 03:37 PM

This isn't the right place to ask this, go to modding forum.

#3 IthronAiwendil

IthronAiwendil

    Retired modder

  • Hosted
  • 1,452 posts
  • Location:Finland
  • Projects:None
  •  Coder, skinner, modeler, art guy

Posted 09 September 2007 - 03:54 PM

Put the following code at the end of the code of the object you want to rescale:
Scale = xxxx
Just replace the xxxx with the number of your choice, e.g. 2.0 makes the unit twice as large, 0.5 makes it twice as small.

#4 Sûlherokhh

Sûlherokhh

    Sagacious Engineer

  • Project Team
  • 3,754 posts
  • Location:Central Germany
  • Projects:S.E.E., Sage A.I., Code Advisor
  •  'Axe'er of the Gordic Knot

Posted 09 September 2007 - 04:06 PM

You'll find an example of that in the file 'cavetroll.ini' of the wild faction, at the very end of the file.

bannerreal01mittelit3.jpg
Axed Head and A.I. Coder for S.E.E. and ... stuff

".. coding is basically boring. What's fun is finding out how things work, take them apart and then put them together in ways that were not intended nor even conceived."


#5 AcE11

AcE11
  • New Members
  • 24 posts

Posted 09 September 2007 - 04:59 PM

Cheers IthronAiwendil (legend)

Sorry one more thing,
yu said at the end off the code
i use the program 'big extractor'
where about
in the gamedata.ini
or the individual ini files

#6 IthronAiwendil

IthronAiwendil

    Retired modder

  • Hosted
  • 1,452 posts
  • Location:Finland
  • Projects:None
  •  Coder, skinner, modeler, art guy

Posted 09 September 2007 - 05:20 PM

Individual ini file (the file of the unit you want to change).

#7 AcE11

AcE11
  • New Members
  • 24 posts

Posted 09 September 2007 - 06:01 PM

the attack troll is only buildable from lvl 3 trollcage,
rohirrim only buildable from level 2 stables

where in the ini files can this restriction be taken off so i can build for example attack troll from level 1 trollcage?

#8 AcE11

AcE11
  • New Members
  • 24 posts

Posted 09 September 2007 - 06:12 PM

how do you make units run faster
i know how to get them to attack faster but i want them to be able to run faster
ie, when i charge my gondor army, for example..
boromir and tower guards and gondor soldiers, they all go at same speed, boromir possibly slower than the infantry, he should be faster so he can lead the army at the front
how do i do this in the ini files?

#9 Sûlherokhh

Sûlherokhh

    Sagacious Engineer

  • Project Team
  • 3,754 posts
  • Location:Central Germany
  • Projects:S.E.E., Sage A.I., Code Advisor
  •  'Axe'er of the Gordic Knot

Posted 09 September 2007 - 06:13 PM

In the commandbutton of the trollcage-commandset which you press to build the troll. it should have a line saying 'required upgrade ='. Either remove it, or replace the named upgrade with one from a lower level.

bannerreal01mittelit3.jpg
Axed Head and A.I. Coder for S.E.E. and ... stuff

".. coding is basically boring. What's fun is finding out how things work, take them apart and then put them together in ways that were not intended nor even conceived."


#10 AcE11

AcE11
  • New Members
  • 24 posts

Posted 09 September 2007 - 06:14 PM

Cheers mate

#11 Solinx

Solinx

    .

  • Undead
  • 3,101 posts
  • Location:The Netherlands
  • Projects:Real Life
  • Division:Revora
  • Job:Retired Leader / Manager

Posted 10 September 2007 - 10:03 PM

AcE11, it makes a better show to post all your questions in one topic, so I combined your three topics into one general questions topic. I would have send you a private message about it, but you haven't validated your mail yet.

how do you make units run faster
i know how to get them to attack faster but i want them to be able to run faster
ie, when i charge my gondor army, for example..
boromir and tower guards and gondor soldiers, they all go at same speed, boromir possibly slower than the infantry, he should be faster so he can lead the army at the front
how do i do this in the ini files?

Without installing the game, the best answer I can give you is to search for 'LocomotorSet' in both the boromir and gondor soldier ini files.
From Hostile's locomotor guide, what you find should be similar to this:
LocomotorSet
Locomotor = HeroHumanLocomotor
Condition = SET_NORMAL
Speed = NORMAL_GOOD_HERO_SPEED
End
Possibly there are multiple locomotorsets for each unit. If so, perhaps one has a condition name that refers to charging. If there isn't one, just go back to the normal one.

The next step is to look up the speed macro (NORMAL_GOOD_HERO_SPEED in the example) in gamedate.ini. Do this for both the gondor soldier as Boromir. The gondor soldier value should be higher. If it's not higher, this is not the solution.

Last step is not to change anything in gamedate.ini. Instead, go back to boromir's ini file, back to the locomotorset codeblock. There you should replace the speed macro with a value just a bit higher than the value you found for the gondor soldiers.

I wouldn't increase the value more than a few points higher than the gondor soldiers one, or else you will have him running way ahead in no time, meaning he'll be dead before the soldiers arrive.

Have fun ;)

Solinx
Posted Image

"An expert is a man who has made all the mistakes which can be made in a very narrow field." - Niels Bohr





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users