 |
Forum Info
|
 |
Forum Members: 18,617
Total Threads: 8,723
Posts: 95,211
Administrators:
DeeZire, Redemption
There are currently 39 users online.
|
 |
Partner Links
|
 |
 |
Advertisements
|
 |
|
| LOTR: Battle For Middle Earth I & II Editing Discuss any modding related issues to do with the Lord Of The Rings: Battle For Middle Earth I and II RTS games here. |
12-07-2004, 05:06 AM
|
#1 (permalink)
|
|
Senior Member
Join Date: Sep 2001
Posts: 1,094
|
INI files?
unit ini file?
That was posted up at some german fansite...is that real or not? Has someone extracted all of the ini's yet?
|
|
|
12-07-2004, 05:18 AM
|
#2 (permalink)
|
|
Senior Member
Join Date: Apr 2003
Location: Derby, UK / Den Haag, NL
Posts: 590
|
Yeah, I've flicked through that. It doesn't look like anything even close to what we should recieve - it's just a list of definitions for values which are hardcoded. SAGE soft architecture doesn't tend to work like that, either this is only a small part of a file, falsified, or we're screwed 0_o
|
|
|
12-07-2004, 05:42 AM
|
#3 (permalink)
|
|
Senior Member
Join Date: Aug 2003
Posts: 1,087
|
Im not a programmer, but taking a guess, I dont think its hardcoded stuff.
For starters, its an ini file, and each entry starts with the term "#define" - which would lead me to assume that the file is creating the definitions.
To me it looks like a convenient balance file - something even a non-coder could use to change the balance of things in the game without actually editing anythings behaviour.Being all in one place makes it very easy to find.
My guess is the rest of the units code will be located in other ini files.
|
|
|
12-07-2004, 07:00 AM
|
#4 (permalink)
|
|
Senior Member
Join Date: Dec 2002
Posts: 1,031
|
It's a file that redefines certain values in a .h file, however, since the names are in the define tags and not in the values, it's hardcoded.
If this file is authentic, then modding for B4ME is next to impossible.
|
|
|
12-07-2004, 07:46 AM
|
#5 (permalink)
|
|
Senior Member
Join Date: Apr 2003
Location: Derby, UK / Den Haag, NL
Posts: 590
|
Quote:
|
For starters, its an ini file, and each entry starts with the term "#define" - which would lead me to assume that the file is creating the definitions.
|
'#define' is commonly used by C and Cpp to define simple value variable quantities, it's used by hardcoding, not by soft architecture.
Quote:
|
It's a file that redefines certain values in a .h file, however, since the names are in the define tags and not in the values, it's hardcoded.
|
Yes, it looks like a soft architectural "over-ride" to a hardcoded compiled element. Not necessarily a header file, but still values that have been previously defined. (When I code in C or Cpp, I locate my definitions on top of the function (or file if multiple functions call it) which primarily calls them - perhaps a novelty in 'professional' coding style.
Quote:
|
If this file is authentic, then modding for B4ME is next to impossible.
|
Correct, if this is only what we have to work with, we're not well off, we're limited to number of units, what they can do and everything is totally preset.
Quote:
|
To me it looks like a convenient balance file - something even a non-coder could use to change the balance of things in the game without actually editing anythings behaviour.Being all in one place makes it very easy to find.
|
That's what I'm presently thinking. Perhaps there are a few set files for units, structures and environment stuff that is racked with definitions rather than ini scripts. I've the feeling that perhaps ini configurations may be instead used to call something akin to these definitions, or that equivalents to these definitions will NOT be required to introduce new content through the ini. EA has talked (albeit limitedly) about BfME's modability, and I'd like to believe that they've not been completely dishonest about it (I mean, why would you be?) - what we're seeing I believe can be totally disregarded for now, lets wait until we have something real to play with at least.
|
|
|
12-07-2004, 07:56 AM
|
#6 (permalink)
|
|
Senior Member
Join Date: Sep 2001
Posts: 734
|
Considering that in a campaignmode you can save out units for a next round, could this technique be used to write out the statistics of the units you want to keep?
|
|
|
12-07-2004, 08:03 AM
|
#7 (permalink)
|
|
Senior Member
Join Date: Apr 2003
Location: Derby, UK / Den Haag, NL
Posts: 590
|
I didn't consider that, that is possibly what these files could be used for, although there doesn't appear to be any sort of positional data whatsoever :/
|
|
|
12-07-2004, 08:04 AM
|
#8 (permalink)
|
|
Senior Member
Join Date: Dec 2002
Posts: 1,031
|
Before we get our hands on the real INI files, we cant say.
Code:
;-----------------------Gandalf the Grey------------------
#define GANDALF_THE_GREY_BUILDCOST 6000
#define GANDALF_THE_GREY_BUILDTIME 45
#define GANDALF_THE_GREY_HEALTH 1200
#define GANDALF_LVL1_EXP_AWARD 70
#define GANDALF_LVL2_EXP_AWARD 80
#define GANDALF_LVL3_EXP_AWARD 90
#define GANDALF_LVL4_EXP_AWARD 100
#define GANDALF_LVL5_EXP_AWARD 120
#define GANDALF_LVL6_EXP_AWARD 150
#define GANDALF_LVL7_EXP_AWARD 180
#define GANDALF_LVL8_EXP_AWARD 210
#define GANDALF_LVL9_EXP_AWARD 250
#define GANDALF_LVL10_EXP_AWARD 300
;Gandalf requires more exp becaues of his AOE powers
#define GANDALF_LVL2_EXP_NEEDED 100 ;300
#define GANDALF_LVL3_EXP_NEEDED 200 ;600
#define GANDALF_LVL4_EXP_NEEDED 300 ;1000
#define GANDALF_LVL5_EXP_NEEDED 500 ;1400
#define GANDALF_LVL6_EXP_NEEDED 700 ;1800
#define GANDALF_LVL7_EXP_NEEDED 900 ;2200
#define GANDALF_LVL8_EXP_NEEDED 1100 ;2600
#define GANDALF_LVL9_EXP_NEEDED 1500 ;3000
#define GANDALF_LVL10_EXP_NEEDED 2000 ;4000
#define GANDALF_THE_GREY_PREATTACKDELAY 633
#define GANDALF_THE_GREY_DELAYBETWEENSHOTS 867
#define GANDALF_THE_GREY_FIRINGDURATION 900 ;867
#define GANDALF_THE_GREY_DAMAGE 100
#define GANDALF_FORCE_ATTaCK_DAMAGE 100
#define GANDALF_FORCE_ATTaCK_RANGE 100
#define GANDALF_WORD_OF_POWER_DAMAGE 240 ;500
#define GANDALF_WORD_OF_POWER_RANGE 120
#define GANDALF_LIGHTNING_DAMAGE 100
#define GANDALF_LIGHTNING_DAMAGE_FLAME 60
#define GANDALF_LIGHTNING_RANGE 300
#define GANDALF_PHASER_DAMAGE 800 ;1000
#define GANDALF_PHASER_RANGE 200
#define GANDALF_PHASER_CAST_RANGE 180 ; need to be a little less that the phaser range.
The way the words are used, it seems official to me. That phaser name really looks like other names the EA team uses...
|
|
|
12-07-2004, 08:07 AM
|
#9 (permalink)
|
|
Senior Member
Join Date: Apr 2003
Location: Derby, UK / Den Haag, NL
Posts: 590
|
Quote:
|
Before we get our hands on the real INI files, we cant say.
|
Correct, all we have is idle speculation, and what's a week or so to wait?
|
|
|
12-07-2004, 08:09 AM
|
#10 (permalink)
|
|
Senior Member
Join Date: Dec 2002
Posts: 1,031
|
I am beginning to fear it's official...
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 09:38 PM.
|