Map Database  •  FAQ  •  RSS  •  Login

Mission files document released!

<<

Litude

User avatar

King Karolus

Posts: 1233

Joined: 01 May 2006, 22:00

Website: http://www.knightsandmerchants.net

Location: Finland

Post 04 Jan 2007, 09:30

Editing the unit.dat would allow used to extend the fights, which would make the game more realistic. We could also create almost new units by replacing an old one (doubt it's easy to add data), but we also need to know how the graphic storage system in Knights and Merchants works.
<<

Merchator

Sword Fighter

Posts: 336

Joined: 27 Dec 2006, 23:00

Location: Germany

Post 04 Jan 2007, 10:20

Has free_sms_km decrypted the unit.dat , too?
Would help us much.
Ive looked at kroms' editor, and i hadnt tought, that it is soo difficult.
So i cannot finish it, sorry. I ll ask somebody, who know KAM and Delphi, maybe he can help me.


-----
For me it is most important to get the unit.dat files too
-----
<<

Litude

User avatar

King Karolus

Posts: 1233

Joined: 01 May 2006, 22:00

Website: http://www.knightsandmerchants.net

Location: Finland

Post 04 Jan 2007, 11:57

No, free_sms_km decoded buildings.dat, missionx.dat and the graphic files.
<<

olegasole

Knight

Posts: 418

Joined: 12 Aug 2006, 22:00

Website: http://olegaasole.wetpaint.com/

Location: Canada, Toronto, Ontario

Post 04 Jan 2007, 18:20

wow why did he now show them to the public?
<<

Merchator

Sword Fighter

Posts: 336

Joined: 27 Dec 2006, 23:00

Location: Germany

Post 04 Jan 2007, 18:32

wow why did he now show them to the public?
??
Not yet.
But maybe he ll tell it to real_hotdog, so he can post them in this forum!
<<

olegasole

Knight

Posts: 418

Joined: 12 Aug 2006, 22:00

Website: http://olegaasole.wetpaint.com/

Location: Canada, Toronto, Ontario

Post 04 Jan 2007, 22:26

ohhh okay merchantor!
<<

Merchator

Sword Fighter

Posts: 336

Joined: 27 Dec 2006, 23:00

Location: Germany

Post 04 Jan 2007, 22:29

:D
Okay, im working on a little tool for decode .dat files.
U dont really need it, but it will speed up ur work on mission.dat files.
U can open, read and save them!

Here is a screenshot:
Image

And, what do u think?
Im not sure if i can finish this, because its very hard to do this for me :oops:
I try to finish it (if i could do it) before monday!

By the Way, thanks to Krom for his editor, and no i know, how to use XOR in Delphi^^
<<

Merchator

Sword Fighter

Posts: 336

Joined: 27 Dec 2006, 23:00

Location: Germany

Post 05 Jan 2007, 00:00

By the way:
Ive figured out how to control the AI in KaM!!!!!
Victory^^
There are ONLY 2 more things in the whole mission.dat, that i dont understand:
!ADD_GOAL (or !ADD_LOST_GOAL)

and

!CLEAR_UP ( i know what this means, ive tried it out and it works, but i dunno all about this!)

So, if u want i can write down all u have to know. Would be no problem :D
See u!

Its late and im tired^^
<<

olegasole

Knight

Posts: 418

Joined: 12 Aug 2006, 22:00

Website: http://olegaasole.wetpaint.com/

Location: Canada, Toronto, Ontario

Post 05 Jan 2007, 03:47

WOW NICE DECODER!!!! can i try it?
<<

olegasole

Knight

Posts: 418

Joined: 12 Aug 2006, 22:00

Website: http://olegaasole.wetpaint.com/

Location: Canada, Toronto, Ontario

Post 05 Jan 2007, 03:49

also i think that !ADD_GOAL is the goal of the mission for example kill blue
and the!ADD_LOST_GOAL is what has to happen if u lose for example ur ally dies

hope this helps
<<

Litude

User avatar

King Karolus

Posts: 1233

Joined: 01 May 2006, 22:00

Website: http://www.knightsandmerchants.net

Location: Finland

Post 05 Jan 2007, 08:33

Merchator, that tool could probably be more useful than you imagine. You might think that decoding the files are no trouble at all, but actually I'm quite sure that some people who don't know how to do it might not bother enough to try learning it. If that tool would exist almost everyone would be able to create their own missions.
Also it would be useful if you could write everything that you haven't told yet about the AI. :)

olegasole, we know what !ADD_GOAL does, but not what exactly the values do.
<<

Merchator

Sword Fighter

Posts: 336

Joined: 27 Dec 2006, 23:00

Location: Germany

Post 05 Jan 2007, 10:13

WOW NICE DECODER!!!! can i try it?
No, not yet. I try hard to finish it ( again, its not easy )!
U can only decode the files in txt a save them. And there are bugs, too ...

So, wait please :D
<<

Hitandrun

Lance Carrier

Posts: 68

Joined: 25 Nov 2006, 23:00

Location: England, st helens

Post 05 Jan 2007, 13:09

what values are possible?
<<

nick

Post 05 Jan 2007, 13:57

ok i just wanna say u guys arent alone with thos projects, we on dutch forums also working on it.
There is an decoder made by one of us. Place in KAM/Data/Mission
w;freewebs;com%1knightsandmerchants%1downloads%1MissionDecode.exe
**replace %1 with / and w with www and ; with .(im guest and im not allowed to give urls)
Syntax: in DOS! so execute, cmd, then go to Mission dir and typ: MissionDecode 'map'.dat 'map'.txt

It will decode the map in txt file
It also works: MissionDecode 'map'.txt 'map'.dat. To decode.

Also we found alot of things regarding the mission files explenation. But its in ducht. I maybe gonna translate it but pfff :p.
Link in dutch:

Nick

O yea, erm could one of u guys tell me what !ADD_GOAL 2 0 511 1200 does?? the others like !ADD_GOAL 2 1 0 2 i figured out but not that one
<<

Merchator

Sword Fighter

Posts: 336

Joined: 27 Dec 2006, 23:00

Location: Germany

Post 05 Jan 2007, 14:24

Really?
U know, i dont know !ADD_GOAL . . . .
Could u explain it to me, please?
Im going to make a Programm with delphi for everybody. Without dos.
U could help me, please explain me !ADD_GOALD :D

The rest i know, of course! :)

Return to “Map Design”

Who is online

Users browsing this forum: No registered users and 14 guests