Jump to content


Photo

Help with ini


  • Please log in to reply
18 replies to this topic

#1 Azkarat1

Azkarat1
  • Members
  • 13 posts

Posted 15 July 2005 - 08:27 PM

Hi, i would like to ask, if it's possible to disable building defeat. Like if i lose all buildings but still have units left, im not defeated

#2 GothmogtheOrc

GothmogtheOrc

    Ruler of the Morgul Vale

  • Hosted
  • 2,263 posts
  • Location:USA
  • Projects:Kings of the West Mod
  •  T3A Chamber Member - Retired

Posted 15 July 2005 - 08:35 PM

That should be possible...I think I heard someone say that you could do that with a Map.ini or something like that? (If you wanted it to be temperary)

If you wanted it to affect all games you play then you would need to find what code tells the game that loosing the citadel is bad. And then copy that into the Hero files...

It probably has something to do with these codes:

; *** ENGINEERING Parameters ***
KindOf = VITAL_FOR_BASE_SURVIVAL MP_COUNT_FOR_VICTORY SCORE

So maybe if you add those to the Heroes it will work the way to want?

If you have any questions about how to do it, just ask.

-GothmogtheOrc

Edited by GothmogtheOrc, 15 July 2005 - 08:36 PM.

Nine%20rings.jpg
Click on my Sig to go to my BFME Modding site where you can download my mods.
KotW%20Morgul%20In-game.jpg
Kings of the West Mod Leader
*Retired. PM me if you need to get a hold of me as I'll get an email notification and should reply within a day or so*


#3 Hostile

Hostile

    Benefitting Humanity Simply by Showing Up!

  • Veterans
  • 9,551 posts
  • Location:Washington DC
  •  T3A Founder
  • Division:Revora
  • Job:Global Administrator
  • Donated
  • Association

Posted 15 July 2005 - 09:02 PM

The victory conditions are also stated in scripts files that you can open in World Builder.

#4 Grim

Grim

    Mad Axe

  • Project Team
  • 537 posts
  •  T3A Team Chamber Member
  • Division:T3A Moderator

Posted 15 July 2005 - 09:08 PM

You only need to add MP_COUNT_FOR_VICTORY to the kindof of your units you want to "save the player from defeat".

Good luck
Posted Image

#5 Azkarat1

Azkarat1
  • Members
  • 13 posts

Posted 16 July 2005 - 12:26 AM

You only need to add MP_COUNT_FOR_VICTORY to the kindof of your units you want to "save the player from defeat".

Good luck

<{POST_SNAPBACK}>

Well in what file? I'm new to modding so i need to get it explained very well :blink:

#6 GothmogtheOrc

GothmogtheOrc

    Ruler of the Morgul Vale

  • Hosted
  • 2,263 posts
  • Location:USA
  • Projects:Kings of the West Mod
  •  T3A Chamber Member - Retired

Posted 16 July 2005 - 04:29 PM

Ok, sorry about that.

In: Battle for Middle-earth\data\ini\object\ there are several files. Depending on which side you want to edit (good or evil) you will need to open GoodFaction or EvilFaction. I'll show you how to edit the good faction...you'll be able to figure out the evil on your own. So in BFME\data\ini\object\goodfaction\units\gondor\ there is a file titled: Aragorn.ini ... open that up and do a search for "KindOf", once found you will see this:

KindOf = PRELOAD SELECTABLE CAN_CAST_REFLECTIONS INFANTRY PATH_THROUGH_EACH_OTHER SCORE HERO ARMY_SUMMARY ARAGORN

Now add this code to that: MP_COUNT_FOR_VICTORY

So then it will look like this:

KindOf = PRELOAD SELECTABLE CAN_CAST_REFLECTIONS INFANTRY PATH_THROUGH_EACH_OTHER SCORE HERO ARMY_SUMMARY ARAGORN MP_COUNT_FOR_VICTORY

You'll have to do that for every hero that you want to count for victory.

If you're not sure how to edit the files then some of the tutorials on the main site can help...and if you need a specific editor, look on the tools page for it. :huh:

If you have any more questions, feel free to ask.

-GothmogtheOrc

Nine%20rings.jpg
Click on my Sig to go to my BFME Modding site where you can download my mods.
KotW%20Morgul%20In-game.jpg
Kings of the West Mod Leader
*Retired. PM me if you need to get a hold of me as I'll get an email notification and should reply within a day or so*


#7 Azkarat1

Azkarat1
  • Members
  • 13 posts

Posted 16 July 2005 - 07:05 PM

But what about evil? In the Battle For middle-earth/ini/objects theres only 3 evil things, not like good, where theres 1 for each hero

#8 Valarauko

Valarauko
  • Members
  • 33 posts

Posted 16 July 2005 - 07:10 PM

The data for all evil heroes and units are in evilfactionunits. Just search for the hero or unit you want, then find its kindof and edit it

#9 Azkarat1

Azkarat1
  • Members
  • 13 posts

Posted 16 July 2005 - 07:31 PM

But it always find the hero at a wrong place. Not the place where KindOf Stand

#10 Valarauko

Valarauko
  • Members
  • 33 posts

Posted 16 July 2005 - 07:59 PM

give an example of a unit you want to make the change to and I'll show you what I mean

#11 Azkarat1

Azkarat1
  • Members
  • 13 posts

Posted 16 July 2005 - 08:21 PM

Just witchking, nazgul and gullom. And for isengard Saruman lurtz and berserker

#12 Valarauko

Valarauko
  • Members
  • 33 posts

Posted 16 July 2005 - 08:36 PM

i'll do the nazgul for an example:

go to data\ini\object\evilfaction\evilfactionunits

find the coding for the nazgul
; Aka Nazgul, MordorNazgul, FlyingNazgul
Object MordorFellBeast                        ;BALANCE FellBeast
; *** ART Parameters ***

then hit Ctrl+F and search for "kindof"

you should find this:
KindOf = HERO PRELOAD SELECTABLE CAN_CAST_REFLECTIONS SCORE NO_FREEWILL_ENTER SCARY MONSTER CANNOT_RETALIATE

now add MP_COUNT_FOR_VICTORY to the end so it looks like this:

KindOf = HERO PRELOAD SELECTABLE CAN_CAST_REFLECTIONS SCORE NO_FREEWILL_ENTER SCARY MONSTER CANNOT_RETALIATE MP_COUNT_FOR_VICTORY

that should do it

then do the same for your other heroes

#13 Azkarat1

Azkarat1
  • Members
  • 13 posts

Posted 16 July 2005 - 11:20 PM

No matter. I still get defeat after losing the castle, but thanks for help anyways

#14 {IP}Gil-Galad

{IP}Gil-Galad

    ClickerMonkey

  • Hosted
  • 1,122 posts
  • Location:Pennsylvannia, USA
  • Projects:Too many to name.
  •  T3A Team Chamber Member

Posted 17 July 2005 - 02:17 AM

under the castles kind of take away MP_COUNT_FOR_VICTORY then it will work

#15 Azkarat1

Azkarat1
  • Members
  • 13 posts

Posted 24 July 2005 - 09:57 AM

Allright i will try, sorry for not replieing for a while. Couldnt get on the page

#16 Azkarat1

Azkarat1
  • Members
  • 13 posts

Posted 24 July 2005 - 06:44 PM

Where do i find the castles kindof?

#17 Lauri

Lauri

    Old man Lauri

  • Hosted
  • 10,436 posts
  • Location:Norway
  • Projects:The 4th Age
  •  The very worst T3A Team Chamber Member

Posted 24 July 2005 - 08:41 PM

in the goodfactions folder enter goodbuildings and take the search(Ctrl+F or Ctrl+B) and type ¨CampKeep¨ for the camps\outpost and ¨CastleKeep¨ for castles. Its the same for Evil.(i hope :sad: ) hope i helps.
AND go to kindof

Edited by Ville786, 24 July 2005 - 08:42 PM.

T4A_Logo_-_article.png

The 4th Age version 0.8 has been released: Link


#18 Azkarat1

Azkarat1
  • Members
  • 13 posts

Posted 24 July 2005 - 09:21 PM

Still get defeat when buildings die

#19 Lauri

Lauri

    Old man Lauri

  • Hosted
  • 10,436 posts
  • Location:Norway
  • Projects:The 4th Age
  •  The very worst T3A Team Chamber Member

Posted 24 July 2005 - 09:52 PM

have you tried adding VITAL_FOR_BASE_SURVIVAL? if not try it. don't know if it works

T4A_Logo_-_article.png

The 4th Age version 0.8 has been released: Link





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users