Posted 03 April 2005 - 08:33 AM
however i wont wait 16.000 days for his recovery so im currently trying to manage this with the editor
also notice he has 920 bravery.
Posted 03 April 2005 - 08:54 AM
i tried with clark wehyr editor...but
he seems to disapeear along with 30 other soldiers when i save the soldier.dat...xcom hack v 2.54 crashes with invalid property valur... any help is appreciated this is maybe the culmination of the ufo story.
dont let me down now... give me a hand.
edit: i didt even gave you a savegame how could i expect a hand...
Edited by Gurluas2000, 03 April 2005 - 09:09 AM.
Posted 03 April 2005 - 11:46 AM
Posted 03 April 2005 - 12:26 PM
YES FINALLY i uncovered the secret of the aliens...
notice that when you get a personal armor or another armor...
both sprite ,body and armor stat changes...
ive now concluded that aliens are just hidden armors ingame...
i didt tested my ethereal armor yet because of the recovery days...
but im pretty sure it is an ethereal.
if this is correct then editors can now get the new armors as an attrivute and players can freely change from sectoid to chryssalid...
sounds like a dream but im close of making the dream reality...
i just need a good hacker to remove the recovery and im a happy man.
Posted 04 April 2005 - 12:14 PM
Now, "Ethereal" string is not very far (117 entries to be exact) after the armour strings ("PERSONAL ARMOR", "POWER SUIT" and "FLYING SUIT") in english.dat file. If you ever programmed in C/C++ you would know that arrays don't check range overflow. So, armour string 117 would be string that is 117 after beginning of armour descriptions.
In the battlescape, game will be looking for sprites number 117 and will most likely crash.
Posted 05 April 2005 - 06:37 AM
beside we have to test it...
and then 5 6 7 8 can be alien armors in that case...
beside there is an armor named "High"
we also have to test that...
and aliens despite my theory can also just be
since you proved yourself worthy then try removing the recovery data and or changing the armor of a few soldiers so we can see
if 5,6,7,8,9 etc. are alien armors.
if you got msn then add me.
edit: i also noticed that some soldiers has unused appearances and are asking for files like
Edited by Gurluas2000, 05 April 2005 - 06:46 AM.
Posted 05 April 2005 - 08:34 AM
Gurluas2000: If you really want to fiddle around with invalid values, you can do it the way I edit the game. You can use a hex editor, or use MS-Edit in binary mode (essentially a hex editor - but you have to work with ascii characters).
First of all, run MS-Edit by typing edit in the command line, or in the start > run dialog.
Do the usual file, open and then search for the savegame directory containing the soldier.dat file that you want to edit.
Select it, then click on the 'open binary' checkbox and then set the rows to 68. Now click on open.
Now every soldier in soldier.dat will be laid out in a nice table. The numbers are in ascii symbols, but you can move the cursor about and refer to the number in the lower right corner of the screen (the bit that says Value:)
The first and foremost rule of thumb is to switch on your cursor overwrite mode so that you overwrite anything you want to edit - or remember to delete the old value. If you add any extra information, everything will shift across and really get messed up.
To actually change any values, you have to use the alt + 3 numpad numbers combination. For a value of 32, you enter alt+032. For 128, alt+128, etc. This doesn't work for values 0 to 26. For these values, you need to hold down ctrl and then press p followed by a letter.
Letter a = 1, b = 2, c = 3 ... z = 26. So to enter a value of 13, ctrl+p then m. To get a value of 0, you need to enter ctrl+P+2 (No, I don't know why 2 gives a value of 0, but it does).
Alernately, you can just cut an paste existing numbers.
Note that most entries will be single bytes (or 8-bit values which can store values between 0 and 255) - these are represented by each letter. Some value are stored as short integers (or also known as a 'Word') (16-bit values, 0 to 65535 (halve this if you want negative values)) - it's stored as two bytes. These can be a bit tricky to work out, but never fear, MS-Calculator (scientific mode) can come to the rescue! (OR if you've got a scientific calculator with N-mode algebra on it)
Note If the following starts to mess with your head, don't worry too much about it. I just had to put it in because the recovery time is a short integer.
To figure out a short int, enter the value into MS-Calculator in 'Dec' (decimal mode), then switch over to hex (hexadecimal mode). In hexadecimal, make sure that the 'Word' radio button is checked. This forces the value into a short integer. Say I want to find out how to enter 65520. 65520 in Hex is FFF0. Split this value into FF and F0. Enter FF into the calculator while in Hex mode then switch over to decimal to get the decimal equivalent. In this case, 255. F0 gives 240. Now we know FF is 255 and F0 is 240. Now, flip this around so that F0 comes first and FF comes last. Then enter the values in that order. Don't ask me why, that's just how the computer stores its information.
(Always work with a four number hex value. If you get a value with only 1, 2 or 3 numbers, add 0's in front of it to make 4 values)
End possibly confusing bit
Now, to get right down to what you want to get done. The bed rest value is a short integer, so you're looking at editing two characters. Rest time is stored in column 13 and 14 (it's actually offsets 12 and 13 - MS-Edit's rows and columns start counting from 1 rather than 0).
Just set whatever values in these two columns (for that weird soldier of yours) to 0 (ctrl+p+2), then save the file. All done!
If anyone of that seemed confusing, just ask and I'll try to clarify.
For more information, Hatfarm's hacking information may be of some help.
P. S: Just the obligatory disclaimer. I will not be held responsible for anything odd that may happen to your computer should you fill your files with odd values and the game starts to behave oddly. When I did a few goof ups and entered invalid values, I have had the game lock up the computer or just simply crash after entering values well beyond the valid range in the data files. But whatever.
Edited by NKF, 05 April 2005 - 09:02 AM.
Number of members: 1
Posted 05 April 2005 - 12:29 PM
il just ask if i need some help... so yeh have msn?
EDIT: cant open ms-edit...
says my autoexec.nt istn working... help
Edited by Gurluas2000, 06 April 2005 - 06:28 AM.
Posted 08 April 2005 - 12:49 AM
Zombie: Empirical data's your only man, when formulating a research plan.
A soldier's death is never in vain if it makes the formula more plain.
A few dozen make a better case for refining that third decimal place.
They call me Zombie because I don't sleep, as I slowly struggle to climb this heap,
of corpses, data points, and trials, but from the top - I'll see for miles!
Posted 08 April 2005 - 02:15 AM
Number of members: 1
Posted 08 April 2005 - 07:06 AM
"The mind is like an umbrella, it functions best when open" - Walter Gropius
SNEKK BLOG U-LAR MEKHH! GAHGHH! RK!
GRRGH RGGHH SNORRTT GHACKHGG
Now presented in DoubleVision (where drunk)
Posted 08 April 2005 - 08:27 AM
Number of members: 1
Posted 08 April 2005 - 10:37 AM
we discovered the alien armors and added the
ufograph to them.
enjoy playing as aliens...
and read the readme it is important.
Posted 08 April 2005 - 11:01 AM
Armour value in soldier.dat file (offset +3Eh) tells the game what type of unit is used. If it is set higher than values of human armours, game uses data that is directly after normal armours.
- Unit sprites are aliens.
- Pictures in equipment screen are different files (easy to add)
- Names of armour in soldier screen and on crew list are just entries following armour names in english.dat file
- Armour stats (front/rear etc.) are data following normal armour stats.
Last two (names and stats) are screwed. I suppose stats are stored in .exe. I have no clue what will happen after they are modified to be proper alien stats. (Probably it will destroy some other data or code)
Edited by Quantifier, 08 April 2005 - 11:04 AM.
Posted 08 April 2005 - 11:08 AM
btw heres soldier.dat(to quantifier)
so we can make a tftd version
Posted 08 April 2005 - 11:57 AM
And one more thing. All soldier editors I used are foolproof and don't allow to set armour out of range 0-3. The only way to get alien as X-Com unit is to edit soldier.dat file with binary editor. But that's not really a problem.
Posted 09 April 2005 - 05:45 AM
Posted 09 April 2005 - 08:29 AM
Try turning yourself into a chryssalid and compare the heavy cannon's AP and HE shells on your soldier. AP shells should do almost twice as much damage as the HE shells on average.
Number of members: 1
Posted 09 April 2005 - 08:32 AM
ps. the alien effects are there!!
my biodrone died and exploded.
but there is one problem...
the bodies are wierd....
sectoid body is a plasmarifle...
anwyay il try damage modifiers.
Edited by Gurluas2000, 09 April 2005 - 08:42 AM.
Posted 09 April 2005 - 11:53 AM
Edited by Quantifier, 09 April 2005 - 11:55 AM.
Posted 10 April 2005 - 05:33 AM
in the game8 you must remove the armor from the first man or it will crash.
Posted 10 April 2005 - 09:30 AM
Actual armour levels, stats, flight ability, M. C. skills, rank, damage modifiers, what item to drop when unit is unconcious/dead, etc (basically all the stats that really matter) are not controlled by the image. I guess your units just start off as X-Com soldiers, but with a different look - and maybe different armour levels (do the armour levels correspond with the very first value in each unitref.dat entry? 4 being sectoids, 5 snakeman, 6 ethereal, 7 muton... 15 male civilian, 16 female civilian and 17 for zombie?
Number of members: 1
Posted 10 April 2005 - 10:07 AM
and closer to player controlled alien than i could ever immagine:)
beside if you look at the tftd pack game_7
the tasoth soldier is nearly a completely copy of an ordinary tasoth.
Posted 31 March 2006 - 12:10 PM
no...it just does so soldiers turns into aliens
Oooh! Good times! Does this mean you could have a Christopher Walken looking soldier? That would kick so much donkey.
Edited by Gurluas2000, 05 August 2006 - 07:04 AM.
Posted 04 April 2006 - 03:08 PM
Edited by Kratos, 04 April 2006 - 03:11 PM.
Posted 04 April 2006 - 05:13 PM
Posted 04 April 2006 - 08:58 PM
Posted 05 April 2006 - 10:14 AM
also do you know any open source x-com editor?
so me and quantifier could enable aliens by default...
Posted 05 August 2006 - 07:03 AM
Fixed garbled aliens in tftd pack
Posted 10 August 2008 - 06:43 AM
Just so nobody misses this as it quite old yet quite interesting.