Creation of Heroes and Units
#1
Posted 21 June 2007 - 12:25 PM
I'm writing to you in order to get some informations. I read all the site but i have a lot of difficulties to understand what i must to do, because i'm not english and it's difficult for me.
So, i would like to modify a little BFME 1 (only the faction of mordor) in order to add:
- A Rhun captain (as an Heroe of Mordor)
So, how can i create an heroe ?
I want to make a simple thing, just take one character of the existing original unit of Rhun for example. But i really don't know how to do this.
- A Rhun riders unit (This unit will be create in the existing haradrim barrack)
How can i add a unit in the faction of mordor ?
For these two modifications, must i create a mod or can i just modify the original game ?
What do I have to make? (about the codes and other, the files to download.......) knowing that i have already the models of the riders, but i don't know how to add them to the game.
I'm a total newbie and i need your help please !!
Thank you well in advance
#2
Posted 21 June 2007 - 04:17 PM
This question has been answered in this subforum not long ago, so take a look at the last few pages and you'll find the topic.- A Rhun captain (as an Heroe of Mordor)
Basicly, you copy the Rhun Soldier (not horde) code and add hero-specific parts like the HERO KindOf, ButtonImage and so on...
This is more difficult. First you need to create a new model with Rhun Soldier on horse, then bind the bones to a skeleton of a rider unit and then code your new unit (and horde, commandset, commandbutton and more).- A Rhun riders unit (This unit will be create in the existing haradrim barrack)
Try to read the tutorials again and if you still have problems understanding them, maybe someone who speaks your language here can help you
My Political Compass
Sieben Elefanten hatte Herr Dschin
Und da war dann noch der achte.
Sieben waren wild und der achte war zahm
Und der achte war's, der sie bewachte.
#3
Posted 21 June 2007 - 08:01 PM
but i'm not that experienced with modding. it's only a suggestion...
please take note that, until further notice, I don't care, so get lost.
#5
Posted 22 June 2007 - 12:40 PM
I have another some little questions please (sorry lol)
Where can i find the codes in the INI concerned the Rhun soldiers, and how can I change this little easterling in a great captain ???(I speak at the level of codes).
Can you give me here an example of code plz ? And tell me where to place the modified code in the INI.file ?
Sorry for these questions, i'm very lost lol
In the case of anyone here speak my language in order to help me, I speak French.
Thanks !
#6
Posted 22 June 2007 - 02:45 PM
I remember that someone made a few tutorials in french... (was it ched?) atleast, if it was ched, his site still has the nice index, so yeah...
Anyways, to find the rhun soldier, you'd have to open up ini\object\evilfaction\evilfactionunits.ini, and search MordorEasterling.
Then copy all his things untill you get to the next object (which should be MordorCatapult)
Then place the copied code in a new ini file, wich you can call whatever you'd like, and place it in the evilfaction folder (if you wish)
Then, rename the Object from MordorEasterling (methinks) to your desired name (ie, MordorRhunCaptain, but basically whatever you want )
Then, search for KindOf, and add HERO to that line...
Then, search for DisplayName, and replace that line with these lines;
DisplayName = OBJECT:MordorRhunCaptain RecruitText = CONTROLBAR:MordorRhunCaptainRecruit ReviveText = CONTROLBAR:MordorRhunCaptainRevive Hotkey = CONTROLBAR:MordorRhunCaptainHotkeyThose things are what's going to be when you purchace your hero, and what it'll say, and what it'll say when you have the mouse above your hero
Then, you should find PorcupineFormationBodyModule, search it.. it should look like this;
Body = PorcupineFormationBodyModule ModuleTag_porcupineFormation CheerRadius = EMOTION_CHEER_RADIUS MaxHealth = MORDOR_SOLDIERRHUN_HEALTH MaxHealthDamaged = MORDOR_SOLDIERRHUN_HEALTH_DAMAGED ;RecoveryTime = MORDOR_SOLDIERRHUN_HEALTH_RECOVERY_TIME DamageWeaponTemplate = EasterlingPorcupineDamage CrushDamageWeaponTemplate = EasterlingPorcupineCrushDamage EndThen, replace PorcupineFormationBodyModule with RespawnBody and add this below the End (which is below CrushDamageWeaponTemplate in case your eyes have faults )
Behavior = RespawnUpdate ModuleTag_RespawnUpdate DeathAnim = DYING DeathFX = FX_AragornDieToRespawn DeathAnimationTime = 3933 InitialSpawnFX = FX_AragornInitialSpawn RespawnAnim = LEVELED RespawnFX = FX_ResurrectionAragorn RespawnAnimationTime = 2000 AutoRespawnAtObjectFilter = NONE +CASTLE_KEEP ButtonImage = BMHaradrimPalace_SoldiersRhun RespawnRules = AutoSpawn:No Cost:600 Time:90000 Health:100% RespawnEntry = Level:2 Cost:800 Time:90000 RespawnEntry = Level:3 Cost:900 Time:90000 RespawnEntry = Level:4 Cost:1000 Time:90000 RespawnEntry = Level:5 Cost:1100 Time:120000 RespawnEntry = Level:6 Cost:1200 Time:120000 RespawnEntry = Level:7 Cost:1300 Time:120000 RespawnEntry = Level:8 Cost:1400 Time:120000 RespawnEntry = Level:9 Cost:1500 Time:120000 RespawnEntry = Level:10 Cost:1600 Time:120000 Endyou can see that if we respawn your hero at level 7, he will cost 1300, and take 2 minutes to ressurect... (120 seconds is 120000 milliseconds, which is the default number EA uses in their codes)
Now your hero is almost ready... below the things you just added, add this;
BuildCost = 1200 BuildTime = 20those numbers are just a good choice for a captain, but feel free to change them
Now, you can change the armor and weaponsets, and health, so he's though as a hero and not weak (compared to a hero, the easterlings are weak). Find ArmorSet and WeaponSet, and change the armor with HeroArmor, and the Weapon with FaramirSword, as it should look like this;
ArmorSet Conditions = None Armor = HeroArmor DamageFX = None End WeaponSet Conditions = None Weapon = PRIMARY FaramirSword AutoChooseSources = PRIMARY FROM_PLAYER FROM_SCRIPT FROM_AI EndThere you go, your hero is mostly done
or, you might want him to be able to re-generate his health, so go down to the BuildCost and BuildTime again, and below that, add in this;
Behavior = AutoHealBehavior ModuleTag_FaramirHealing StartsActive = Yes HealingAmount = HERO_HEAL_AMOUNT HealingDelay = 1000 StartHealingDelay = HERO_HEAL_DELAY HealOnlyIfNotInCombat = Yes Endnow, we're done with the hero... mostly, atleast the main part
Now, we're gonna add him to the Mordor faction, so we can build him.
open up ini\playertemplate.ini, andgo down to Mordor, and find BuildableHeroes, and add your desired name (ie, MordorRhunCaptain in this example), and place it infront of NeutralGollum just for the sake of it
then, let's remember this?
DisplayName = OBJECT:MordorRhunCaptain RecruitText = CONTROLBAR:MordorRhunCaptainRecruit ReviveText = CONTROLBAR:MordorRhunCaptainRevive Hotkey = CONTROLBAR:MordorRhunCaptainHotkeyyeah, now we're gonna add these to lotr.str... and since your new to modding, I'm pretty sure you don't know what that is...well, then just create a new text file, and place it in \data\ and call it lotr2.str, and add this:
OBJECT:MordorRhunCaptain "Easterling Captain" END CONTROLBAR:MordorRhunCaptainRecruit "Hero Unit. Recruit the captain of the Easterlings." END CONTROLBAR:MordorRhunCaptainRevive "Revive the fallen Captain of Rhûn" END CONTROLBAR:MordorRhunCaptainHotkey "&Easterling Captain" ENDI have no idea if this will work, but if it does or not, your now finished... Try it out in-game
The 4th Age version 0.8 has been released: Link
#7
Posted 23 June 2007 - 01:25 AM
In all case, thanks !!
It's very nice.
I will try this week all that and i will post again to say to you if that work (I hope that )
Thanks very much I'm not lost now ^^
#9
Posted 26 June 2007 - 05:43 PM
I need: - FinalBIG editor to open the INI files and to modify them
- GIMP 2 to modify the model's texture
- GMAX to modify the models
That's right ?
Do I need another program ?
(Sorry for these newbie's things, but... I'm not english lol)
Thanks ^^
#11
Posted 26 June 2007 - 07:52 PM
Follow me so far
And with GMax/RenX, you'll need the W3D importer to load the models in RenX.
Edited by Downfall, 26 June 2007 - 07:55 PM.
Henry Miller, Tropic of Cancer
#12
Posted 27 June 2007 - 10:42 AM
So, I have all the files. I 'am using FinalBIG editor, i open the INI files and all that blablabla...
But I don't understand.
When you say to me to go to evilfaction (in the INI) and all that, how can I make this? I don't understand what I must to do to reach these files (like gondorinfantry.ini etc...)
Morever, in the BIGfiles editor, I opened with success the files but i can't modify them..
I'm sorry for all that but in all cases thanks, I have good hope for the future (one day I will modify this game !!)
Thanks
#14
Posted 28 June 2007 - 02:14 AM
So, I've extracted the Big File, I've created a shortcut to my mod, I have a special folder for it, and all the INI are in this one.
So, in order to try (begin little ) I modify the prices of the mordor units. I launch the game (I'm happy because for once, the game run ^^) but obviously there is no modification in the game.
I have also tried with the prepared ini package of the tutorial, (so i modify the water.ini to modify the mordor prices but the mod don't run, it's the normal game)
What i've forgotten ?
I think it's don't run because of details, but i would like to know what are these details
(Like that, I will be able finally to stop to disturb you lol, i'm sorry)
Thanks
#15
Posted 28 June 2007 - 06:07 AM
In FinalBig->New then put(drag'n'drop) all your files in the left column, but they must have the same catalogue(folder) structure as they had in the original .big file.
Then save as your_file.big . Place it in your My Battle for Middle-Earth folder(where all the -mod mods usually go), then copy the shortcut to the original game and add -mod yourbigfile.big to the destination.
Edited by CyberGremlin, 28 June 2007 - 06:08 AM.
#16
Posted 28 June 2007 - 06:31 AM
hehe, it's better to extract them
Edit -> Extract All, and the choose a place you want your mod to be.... (ie, C:\Games\Mods\MyModsName)
then, do what I said
This is very helpFul Laurie , im having the same trouble too and was just about to post anew topic when i saw this. Thanks, also good luck King of the East, Soldiers of Rhun are awsome! Soeey if this was random.
So do all who live to face such times, but that is not for them to decide. All we have to decide is what to do with the time that is given to us.
-Mithrandir
May the Force be with you, and Godspeed my friend.
92% of teens have moved onto rap. If you are part of the 8% that still listen to real music, copy and paste this text into your singnature.
#17
Posted 28 June 2007 - 02:21 PM
I'am going to show you all I do to make my mod.
If you can tell me what is wrong please ^^
Firstly, i decided to name my mod HaradRhun
So,
-I download the INI file of the tutorial (the prepared file)
-I make a few changements in the WATER.INI ; I just modify the cost of the Haradrim and Rhun's soldiers in order to begin with something
-I save this WATER.INI (so wich was modified) as a BIG.file with BIGFinal Editor.
-I named it HaradRhun
-I put this new BIG.file in "My Battle for Middle-Earth folder" (I tried also to put this one in the folder of the game but... It's the same result)
-I create a new shortcut with the command -mod HaradRhun.big
-I run the game with this shortcut, and... There is no modification
Where is my error ?
Edited by King of the East, 28 June 2007 - 05:03 PM.
#18
Posted 28 June 2007 - 02:42 PM
if you can't see the Application Data folder, you have to un-hide it;
Tools -> Folder Options, -> View -> select "Show hidden files and folders", and voila...
The 4th Age version 0.8 has been released: Link
#19
Posted 28 June 2007 - 03:21 PM
My BIG file is in this file.
There is another error in my list ?
I just modify this in the water.INI
;------------------------HARADRIM-------------
#define M_MORDOR_HARADRIM_BUILDCOST 100
#define M_MORDOR_HARADRIM_BUILDTIME 20 ;10
Edited by King of the East, 28 June 2007 - 03:24 PM.
#20
Posted 01 July 2007 - 05:18 PM
2 user(s) are reading this topic
0 members, 2 guests, 0 anonymous users