Map Database  •  FAQ  •  RSS  •  Login

How to mod?

<<

Sir Feliks

Serf

Posts: 5

Joined: 03 Jan 2014, 14:44

KaM Skill Level: Average

Website: http://senrix.pl

Yahoo Messenger: Gadu Gadu 7541257

Location: Poznan, Poland

Post 15 Sep 2014, 00:06

How to mod?

Hi!
I wanna ask you, how to mod KAMR? I want to try modding. Maybe, add a some stupid house? :rolleyes:
What i should know & do? Maybe someboda can write for me a tut?
<<

Lewin

User avatar

KaM Remake Developer

Posts: 3822

Joined: 16 Sep 2007, 22:00

KaM Skill Level: Skilled

ICQ: 269127056

Website: http://lewin.hodgman.id.au

Yahoo Messenger: lewinlewinhodgman

Location: Australia

Post 15 Sep 2014, 03:07

Re: How to mod?

Hi!
I wanna ask you, how to mod KAMR? I want to try modding. Maybe, add a some stupid house? :rolleyes:
What i should know & do? Maybe someboda can write for me a tut?
KaM Remake was not designed to be extensively moddable beyond what you can do with dynamic scripts, which are not intended for stuff like adding houses. Games which can be extensively modded usually try to separate the "engine" and "game" code through an API (like dynamic scripts), or make it easy to add units and houses by editing resource files, without needing to touch any code. In KaM Remake we just have code which is both the engine and the game. It's easy/faster to code this way and in the first few years of development we didn't know if KaM Remake would be successful (we just wanted to get it playable, modding was very low on the priority list). Some stuff in KaM Remake can be changed by modifying resource files, but there is still a lot of hard coded stuff (e.g. you can't add a new house just by editing resource files, since the code needs to describe some aspects of how the house works).

However, the project is open source so you can recompile your own version of KaM Remake and make any changes you like. There's no limit to what you can mod by modifying the code. There is a rough tutorial for getting the game compiling here:
https://code.google.com/p/castlesand/wi ... ompilation

Beyond that, there's no tutorials for how to edit our code. Obviously you can read tutorials for the language/IDE, but you will need programming skill to understand and edit the code.
<<

Sir Feliks

Serf

Posts: 5

Joined: 03 Jan 2014, 14:44

KaM Skill Level: Average

Website: http://senrix.pl

Yahoo Messenger: Gadu Gadu 7541257

Location: Poznan, Poland

Post 15 Sep 2014, 15:45

Re: How to mod?

Okay. Lewin, please tell me.
What i can change/add? Its possible to edit every kamr version? I asking you, because here * instruction order to me compile game with original tpr files. :(



* (https://code.google.com/p/castlesand/wi ... ompilation)
<<

Lewin

User avatar

KaM Remake Developer

Posts: 3822

Joined: 16 Sep 2007, 22:00

KaM Skill Level: Skilled

ICQ: 269127056

Website: http://lewin.hodgman.id.au

Yahoo Messenger: lewinlewinhodgman

Location: Australia

Post 15 Sep 2014, 23:07

Re: How to mod?

Okay. Lewin, please tell me.
What i can change/add? Its possible to edit every kamr version? I asking you, because here * instruction order to me compile game with original tpr files. :(
You can change anything you like, you asked how to mod the game, what you mod is your choice. You need the data files from TPR because KaM Remake uses resources like images and sounds from TPR. Without copying those files from TPR it won't work properly. Yes, you can edit a specific KaM Remake version by using TortiseSVN to checkout a tagged version.

Return to “General / Questions”

Who is online

Users browsing this forum: No registered users and 3 guests