The vast majority of cases you need change only movement vector and sum in the 14th, all other things are copied, but make attention for first miniblock and other miniblock because there are an extra 0.0
The vast majority of cases you need change only movement vector and sum in the 14th, all other things are copied, but make attention for first miniblock and other miniblock because there are an extra 0.0
Last edited by johnwhile; January 18, 2010 at 09:34 AM.
Forums:............freeforumzone - mtwitalia - twcenter
Works:.....worldcollision file - ModelReferencePoints files - MaxScript Building Editor
Other:.............siege-engine(video) - new-animations(video) - buildings
Have to take the money where it is: at the poor. They have little, but they are many. Alphonse Allais
Thanks for the datailed explanation and +rep!
I spent all of my modding time last night reading and re-reading through all the information and trying to understand.
I still have some problems understanding which value to look at in the data inspector, and I can't figure out properly where the co-ordinates are.
Example, in elephant_cannon_lod0.modelreferencepoints there is little data but still I can only guess that the y co_ordinate is EB C2 81 40 but how this translates into a standard number with a decimal place (0.1 etc.) I can't figure... Or how to know what value I'm imputting to replace it...
Also it would seem that some values other than 00 in the left window can be 'blank spaces' in the right window, does the 010 editor remove this seeming flaw?
Apologies if I've missed something glaringly obvious, but this really did truly make my head ache.
Edit2
A bit more of a re-read and I understand more each time, is there an easy way to understand where an 8 byte starts and ends? Or when letters are beign refered to...
Last edited by Eothese; January 19, 2010 at 02:47 PM.
to convert hex to floating or floating to hex utilize the number2hex.py.
To insert in the file the new floating point utilize a hex editor (with my editor i simply write with keyboard the new 8 char...)
When i return at home (next week, sorry) i teach you now insert a new miniblock and correct the xyz coordinate !
Forums:............freeforumzone - mtwitalia - twcenter
Works:.....worldcollision file - ModelReferencePoints files - MaxScript Building Editor
Other:.............siege-engine(video) - new-animations(video) - buildings
Have to take the money where it is: at the poor. They have little, but they are many. Alphonse Allais
Exemple now to analize the unknow structure of a binary data exemple modeltraversablenetwork files.
Download "010 Editor Portable", it's a fantastic hexadecimal editor but i make some tool to make more easy the work...
Open with this program the file "siege_ladder_small.modeltraversablenetwork".
Go to menu "Templates" > "Open Template.." > open "siege_ladder_small_temp.bt" > [F5] or "run template".
In the ispector menu there are [+]struct_FILE_file and inside my ipotetical structure.
With menu "Tool" > "Compare Files..." you can compare two .modeltraversablenetwork exemple : siege_ladder_small andsiege_ladder_medium and look now the two file mach (the same structure), if you campare with "siege_tower_small.modeltraversablenetwork" you find some new structure data.
I utilize this metod to analize unknow data:
- If there are comprensible string of chars like "serialization::archive" there are always a unsigned int for the sum of chars ( exemple 16:00:00:00 = 22 )
- The are a lot of (floating point) 00:00:80:3F = 1.0 and 00:00:80:BF = -1.0 in the game so you must find these number
- There aren't impossible numbers like 1.0e(-40) or e(+40) for the float and 1234567890 for unsigned int
- exemple FF:FF:FF:FF isn't a float or int but it's probable unsigned char so 255,255,255,255
- if you find a table or a recursive structure it's very probable to find an unsigned int to count them and some unsigned int at the start of the line
In the attachments i have put my work to understand these files, and i found a kind of structure for siege_ladder and siege_tower, in fact the tower has a structure similar to the ladders with the addition of other information that I think are the plans.
I make in the 010 Editor program a Bookmark list (see the screenshot), i exported to .csv, i convert it into template.bt and text conversion of .modeltraversablenet file to view clearer the numbers.
With template.bt you can find quickly the float numbers so you can cange it and see the effect in the game
Forums:............freeforumzone - mtwitalia - twcenter
Works:.....worldcollision file - ModelReferencePoints files - MaxScript Building Editor
Other:.............siege-engine(video) - new-animations(video) - buildings
Have to take the money where it is: at the poor. They have little, but they are many. Alphonse Allais
OK, finaly i make a procedure to analize the file and with the "010 editors" comparator tool i can understand many things.
The work is very long but possible.
At the moment i create only [MTN -> Text].
I created a table of possible and logical numbers, but i don't know the realation with the game's system, is possible the same realtion in this tutorial.
(Attachments uploaded 02/01/2010)
Last edited by johnwhile; February 04, 2010 at 09:05 AM.
Forums:............freeforumzone - mtwitalia - twcenter
Works:.....worldcollision file - ModelReferencePoints files - MaxScript Building Editor
Other:.............siege-engine(video) - new-animations(video) - buildings
Have to take the money where it is: at the poor. They have little, but they are many. Alphonse Allais
A little tool for fun... good for exercices with data structure
I add a small Normaltool.py to understand the normal vector formula...
Information get from:
MilkShape 3D 1.8.2 File Format Specification
by Mete Ciragan
Forums:............freeforumzone - mtwitalia - twcenter
Works:.....worldcollision file - ModelReferencePoints files - MaxScript Building Editor
Other:.............siege-engine(video) - new-animations(video) - buildings
Have to take the money where it is: at the poor. They have little, but they are many. Alphonse Allais
Thank you again, an example with before and after in the editor would be most helpful!
In this elephant_cannon_lod0.modelreferencepoints I see €? (or 80 3F) many times, yet the IEEE single value changes, is this the value that represents the co-ordinate, the value I must usse to make alterations?
PS. Good luck with the converter, it will be a great addition...
Forums:............freeforumzone - mtwitalia - twcenter
Works:.....worldcollision file - ModelReferencePoints files - MaxScript Building Editor
Other:.............siege-engine(video) - new-animations(video) - buildings
Have to take the money where it is: at the poor. They have little, but they are many. Alphonse Allais
Ah, now I've got it!!
At last I have been able to change the crew position and the position the projectile is fired from. You have my gratitude
Keep going with the converter, I for one will make some serious use of such a tool.
Forums:............freeforumzone - mtwitalia - twcenter
Works:.....worldcollision file - ModelReferencePoints files - MaxScript Building Editor
Other:.............siege-engine(video) - new-animations(video) - buildings
Have to take the money where it is: at the poor. They have little, but they are many. Alphonse Allais
Forums:............freeforumzone - mtwitalia - twcenter
Works:.....worldcollision file - ModelReferencePoints files - MaxScript Building Editor
Other:.............siege-engine(video) - new-animations(video) - buildings
Have to take the money where it is: at the poor. They have little, but they are many. Alphonse Allais
hi, infact for de bello mundi we have utilized completely new siege engine, only *.modeltraversablenetwork have a unknow structure. But i think the world files (building) are more interesting :-)
All this small file will be implemented in one script for 3dstudio because my dream is build only one way from Game to 3Dstudio.
Forums:............freeforumzone - mtwitalia - twcenter
Works:.....worldcollision file - ModelReferencePoints files - MaxScript Building Editor
Other:.............siege-engine(video) - new-animations(video) - buildings
Have to take the money where it is: at the poor. They have little, but they are many. Alphonse Allais