Jump to content


Photo

Coding Help


  • Please log in to reply
38 replies to this topic

#1 Eonwe

Eonwe

    title available

  • Project Team
  • 534 posts

Posted 05 July 2007 - 02:56 AM

Things I want to do for my own personal mod:

To keep the B4ME 2 Gamplay the same

Seperate Men into Gondor, and Rohan with own units from BFME 1. With additional units from ROTWK. Like Knights of Dol Amroth will go to Gondor, and Rohan Spearmen go to Rohan.

Seperate the Elves into Light, and Dark Elves. So Elves on the Westside of the Misty Mountains would be Light. Elves on the Eastside would be Dark.

I want to just use units already in-game, but might have to ask other mods for help so factions can be complete, instead of having only 4 units.



http://the3rdage.net...?apage=136#page I have been following this article

Can B4ME 2 have 8 factions?

I have started editing the INI for Battle for Middle-earth 2. I changed Men to Gondor. Now if I uninstall it and reinstall will the INI be back to normal?

I added GondorPippin in the code for thier heros. Will Pippin be on the right side, and appear as a Gondor hero?

Do I extract all lotr.str to desktop?

Edited by Lord of the Grunts, 05 July 2007 - 03:05 AM.


#2 King Arvedui

King Arvedui

    The Last King of Arnor

  • Members
  • 135 posts
  • Location:Vancouver, BC
  • Projects:Return of the Eldar
  •  Return of the Eldar back-up coder, newbie modeller

Posted 05 July 2007 - 03:16 AM

Can B4ME 2 have 8 factions?


It should, In ROTKW you definatley can

I have started editing the INI for Battle for Middle-earth 2. I changed Men to Gondor. Now if I uninstall it and reinstall will the INI be back to normal?


yes, i've had to do that before when i forget to backup my file or i mess up my backup

I added GondorPippin in the code for thier heros. Will Pippin be on the right side, and appear as a Gondor hero?


If you put him under the right faction in your playertemplate.ini part of your INI (this case Gondor)

Edited by King Arvedui, 05 July 2007 - 03:20 AM.

Posted Image
Posted Image
Posted Image

#3 Eonwe

Eonwe

    title available

  • Project Team
  • 534 posts

Posted 05 July 2007 - 03:52 AM

Would it be possible to switch the ROTWK War of the Ring mode with the B4ME 2 one?

Also Rohan and Gondor have 5 heros each so I think its fair. I am also starting with these two.

Rohan:
Theoden
Eomer-WOTR Hero
Eowyn-WOTR Hero
Merry-WOTR Hero
TreeBeard-WOTR Hero

Units:
Hopefully Rohan Royal Guard, Rohan Spearmen

Gondor:
Boromir
Faramir-WOTR Hero
Gandalf-WOTR Hero
Aragorn-WOTR Hero
Pippin-WOTR Hero

Units:
Knights of Dol Amroth, Gondor Spearmen, Tower Guard Become Elite units again with shield but become a 10 men battalion.

OK now how do I get the Rohan parts of the code to be a useable faction. I will look for a tutorial tommarrow.

Edited by Lord of the Grunts, 06 July 2007 - 10:24 PM.


#4 King Arvedui

King Arvedui

    The Last King of Arnor

  • Members
  • 135 posts
  • Location:Vancouver, BC
  • Projects:Return of the Eldar
  •  Return of the Eldar back-up coder, newbie modeller

Posted 05 July 2007 - 03:57 AM

I would think you could with a lot of replacing and coding but I wouldnt know how to do that
Posted Image
Posted Image
Posted Image

#5 thenewch

thenewch
  • Project Team
  • 129 posts
  • Projects:WOTS

Posted 05 July 2007 - 03:59 AM

OK now how do I get the Rohan parts of the code to be a useable faction. I will look for a tutorial tommarrow.


here's two tutorials on adding a rohan, I can't seem to find the third one though

Adding Rohan Faction

Adding Rohan Fortress
Posted Image
Posted Image
< Posted Image

#6 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 05 July 2007 - 05:42 AM

Instead of replaceing parts of BfME2 with stuff from RotWK, do it the other way around. Use RotWK (especially if you want to use more than 6 factions) and add what you like from BfME2.

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."


#7 Taralom

Taralom

    Self-proclaimed A**hole

  • Project Team
  • 1,519 posts
  • Location:Not here
  • Projects:Turned to Writing
  •  I R GOOGL'd

Posted 05 July 2007 - 09:12 AM

perhaps he doesn't have ROTWK.

but are you sure about light elves and dark elves??
don't you mean high elves and green elves??
If the above post offended you in any way,
please take note that, until further notice, I don't care, so get lost.

#8 Eonwe

Eonwe

    title available

  • Project Team
  • 534 posts

Posted 05 July 2007 - 04:46 PM

I do have ROTWK, but my cousins only have bfme 2. Well I was reading I think at wikipedia about the elves who seen the two trees of valinor were elves of the light. The Wood elves/Green elves never seen the light, so they are dark. However just because it says dark does not mean they are evil. My cousin wants dark elves, but I told him that thier allied with other elves so I am calling them light, and dark.


Can I add another faction to the list in templates?

Edited by Lord of the Grunts, 05 July 2007 - 05:20 PM.


#9 Devon

Devon

    Dark Nerd of the Sith

  • Global Moderators
  • 5,886 posts
  • Location:Colbert Nation
  • Projects:RJ RotWK, Twilight of the Republic, HDLH
  •  T3A Chamber Member
  • Division:Community
  • Job:Global Moderator
  • Donated

Posted 05 July 2007 - 07:00 PM

personally, i think you should tell your cousin to read a tut and do it themselves if you dont wanna do this for yourself. but its your choice, and i can see why you're doing this. If you have 8 factions to bfme2, cah and capture flags dont work for the new ones.

yodasig2.png
My political compass
There's a story that the grass is so green...what did I see? Where have I been?


#10 Eonwe

Eonwe

    title available

  • Project Team
  • 534 posts

Posted 05 July 2007 - 07:05 PM

is it possible to make the Icons/flags for the new ones. I do not mind CAH. I like Gondor, and wish it to be seperate. I also like the Noldor, and Vanyar elves. So I want to do this mod.

#11 Juissi

Juissi

    AWESOM-O

  • Hosted
  • 1,555 posts
  • Location:Finland
  • Projects:Last Alliance modification, The Hobbit mod
  •  Forger Of (Last) Alliance

Posted 05 July 2007 - 07:27 PM

Its possible to make the capture flag for new faction.

#12 Eonwe

Eonwe

    title available

  • Project Team
  • 534 posts

Posted 05 July 2007 - 10:32 PM

Also buttons, CAH?

I could probly just use the rohan button from bfme 1, and the elves could probly have the same button the leaf of lorien. Also the same buildings.


Light Elves Heros:
Elladan
Arwen
Elrohir-WOTR Hero
Elrond-WOTR Hero
Glorfindel-WOTR Hero
Cirdan-WOTR Hero

Units:
Hopefully some models from WoA, Giant Eagles, Mithlond Sentries, Lindon Horse Archers, Rivendell Lancers, Lindon Warriors, Noldor Warriors.

Buildings: Gain a Large Tree for building weaker Eagles Cost: 1000. Eagles cost 1,600 Eagles are Seige

Dark Elves Heros:
Rumil
Orophin
Galadriel
Haldir-WOTR Hero
Legolas-WOTR Hero
Thranduil-WOTR Hero
Celeborn-WOTR Hero


Units:
Hopefully Some models from WoA, Lorien Archers, Lorien Warriors, Mirkwood Archers, Ents, Galadrim (Elven Warriors)

Buildings: Keeps the Ent moot, Uses Ents for siege.

Edited by Lord of the Grunts, 10 July 2007 - 10:08 PM.


#13 Eonwe

Eonwe

    title available

  • Project Team
  • 534 posts

Posted 09 July 2007 - 04:21 AM

Sorry for bumping but I need help, How do I add more factions to BFME 2? How do I get the Rohan stuff up and working so I can make them more like a bfme 2 size battalion. How do I use buildings from already existing maps?

#14 Eonwe

Eonwe

    title available

  • Project Team
  • 534 posts

Posted 12 July 2007 - 07:31 PM

Any Help would be appretiated. Does anyone know how to add more factions to BFME 2 not ROTWK. I tried copy, and paste but that did not work. Help........?

People who will donate models would be helpful.

Also if possible I would like to add ents in as a faction. So all races in Middle Earth can fight the battle for Middle Earth.

Edited by Lord of the Grunts, 12 July 2007 - 07:41 PM.


#15 Pixel

Pixel

  • Hosted
  • 2,451 posts
  • Location:London, UK

Posted 12 July 2007 - 09:28 PM

You can not just "Copy" and "Paste" the Faction code, You need to edit the copied version.
Then you must edit other files aswell like, Science.ini, lotr.str, Etc...

Rohan, Gondor, Elves, Dwarves, Ents, Mordor, Isengard, Goblins... Is not really "All factions of middle earth" :grin:

#16 Eonwe

Eonwe

    title available

  • Project Team
  • 534 posts

Posted 12 July 2007 - 11:04 PM

Maias could be a faction? I should probly ask olorinavatar but he has not been here in a long time.

Maybe combine the Maia with ents to form...

So wait should I put them on notepad, but what do I extract to do this?

#17 thenewch

thenewch
  • Project Team
  • 129 posts
  • Projects:WOTS

Posted 12 July 2007 - 11:14 PM

Maias could be a faction? I should probly ask olorinavatar but he has not been here in a long time.

Maybe combine the Maia with ents to form...

So wait should I put them on notepad, but what do I extract to do this?


open FinalBig and extract all the files to your desktop or w/e you want. then you can edit them with notepad

Edited by thenewch, 12 July 2007 - 11:14 PM.

Posted Image
Posted Image
< Posted Image

#18 Eonwe

Eonwe

    title available

  • Project Team
  • 534 posts

Posted 12 July 2007 - 11:50 PM

So do I only extract Player template?

Who would fight alongside the Maiar?

and one more thing where to I go to see what they build. Like I want to erase the rohirrim from Gondor, and add KODA to the level 3 stables also the Noldor warriors, and other units from ROTWK.

Edited by Lord of the Grunts, 12 July 2007 - 11:59 PM.


#19 thenewch

thenewch
  • Project Team
  • 129 posts
  • Projects:WOTS

Posted 13 July 2007 - 12:09 AM

So do I only extract Player template?


No, there's more than that. Take a look at this http://the3rdage.net/item-144
Posted Image
Posted Image
< Posted Image

#20 Eonwe

Eonwe

    title available

  • Project Team
  • 534 posts

Posted 13 July 2007 - 12:19 AM

I only got 6 to work with, and I looked at that already.

Also Ents will be thier own faction, I just do not know what units they could have besides close range, and Long range siege Ents. Ideas?

I have one last question for the night. I seen a Rohan builder in the the evil edoras mission just now. Can I use that? (BFME 1)

Edited by Lord of the Grunts, 13 July 2007 - 02:58 AM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users