[Question] New models for World Editor.

08/01/2014 15:46 Minomike#1
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.
08/02/2014 15:50 Minomike#2
Refresh
08/02/2014 15:56 PDDS™#3
You use a Python based Map editor?
Why dont you use WorldEditor... ?
08/03/2014 12:59 Minomike#4
Well... I just found first better map editor to test if it works. I know that many ppl have problem with running it. Yes, it is editor based on Python.

Hmm... WorldEditor You say... Is it works on XP sys? Or I need any concrete version?

Ok, I've another question now. Is there any good tutorial for WorldEditor? I have a problem with load one of game map (invalid file type error).
08/03/2014 19:48 PDDS™#5
Take a look here, its more easier then using python map editors.
[Only registered and activated users can see links. Click Here To Register...]
08/04/2014 09:56 Minomike#6
Hmm... Deutsch... I don't know it very much, but... I think it'll be very helpful anyway. Thank You for help :)
08/04/2014 13:37 PDDS™#7
Quote:
Originally Posted by Minomike View Post
Hmm... Deutsch... I don't know it very much, but... I think it'll be very helpful anyway. Thank You for help :)
No problem, you may also press it ;) If you want english tutorials just look on google. This is just a help for you, now you can decide what you need and can look up for it.

Regards
08/04/2014 13:52 Minomike#8
Erm... Alright. I've got new problem. I've loaded my model to WorldEditor,

Here is render:

[Only registered and activated users can see links. Click Here To Register...]

but WorldEditor is playing in Picasso...:

[Only registered and activated users can see links. Click Here To Register...]

How can I repair it? Have I to interfere into game source?

Hmm... I didn't found any tutorials, so I've tried to fix it myself. Well... I see some progress. There must be some problem with this model cuz it looks like this now:

[Only registered and activated users can see links. Click Here To Register...]

I noticed I didn't attach all elements. Well, I notice model have some dummy in 3d max too, so I removed it. And... Model had Z on -, so I fixed it to 0. I don't know what is wrong yet... I'll try more things.

And hm... Look how it looks before placing...:

[Only registered and activated users can see links. Click Here To Register...]

Ok, here is the lastest effect of my fix...:

[Only registered and activated users can see links. Click Here To Register...]

I don't know what can I do yet...