Hello there!
I have a question - How to add new models to map editor? I've downloaded map editor that is injected to game. It have own folder like unpacked zone.epk but with files.prb (something like information files) that can be edit with notepad. Here is what We can find in it:
YPRT
1702987641
buildingfile "d:/ymir work/zone/a/building/a1-middledam-03.gr2"
propertyname "a1-middledam-03"
propertytype "Building"
shadowflag "1"
As You see, We got direct to game files with obiects. And now I want to add there my own model. I've copied one of these .prb files and changed code to this:
YPRT
2032024185
buildingfile "d:/ymir work/zone/c/building/palac.gr2"
propertyname "palac"
propertytype "Building"
shadowflag "1"
And now there's a problem. Map editor see there is a new model added on list, but it is still importing another one - from that .prb I've copied to change.
I've got an idea. Look at second line in code. I think that number is something like model's ID, cuz every file got another number. So... I've not changed that number and I think this is the problem.... So. My question is - How to add this number to game source and attach it to my model?
P.S. Sorry for my english.