1

Topic: how to create modifications for teeworlds

Please explain the beginner how to create modifications for teeworlds.
thank you in advance

2 (edited by Dune 2012-03-16 14:15:40)

Re: how to create modifications for teeworlds

There is definitely currently no beginner-friendly way to create modifications for Teeworlds.
The information on how the server will behave are included in the binaries, and not in the map, so you will have to directly modify the Teeworlds source code, and this requires decent programming knowledge (Teeworlds being mainly written in C++).

Hope I've answered your question.

Not Luck, Just Magic.

3 (edited by Mo2 2012-03-17 02:09:46)

Re: how to create modifications for teeworlds

If you have to ask this question then you would most likely not be able to create a mod right now. Anyway everybody started at some basics. And starting with something you like (TW) is way better then starting without real reason just for some teacher. So for your first steps I would recommend: http://cplusplus.com/doc/tutorial/ ... read it up to Polymorphism ... and try again and again until you think you really understand what they are talking about there. But it would be just theory if you don't get a compiler (to try at your PC) so your first enemy would be find some IDE and compiler you like (it's not a question regarding money there are even free ones that does everything you need for TW modding - for example VC-Express 2008 or mingw as compiler and some gvim as code-editor). If you have no clue what IDE or compiler could mean search it. Do as much as possible without asking. It's important that you move from consumer to producer. Anyway if you really tried it hard and get stuck there might be somebody that remember at it's first steps and is willing to help you. If you already read at the c++ tutorial, got a compiler tried some "hello worlds" and think you are prepared for the next step go to this site: https://github.com/teeworlds  ...and download some zipball (or tarball) extract and open src/game/server/entities/character.cpp (which gives you controll over the "character" in TW - means that "tee" that is moving around... which even got some player (that is even there if you don't see any tee, ...)). If you already know what a constructor could be try to modify some values. Take a look at "Tick()" which is the function that would be called very often for all that entities and try to "mod"ify something (for exampe try that the tee would not die at death-tiles) there... and so on.

It's not impossible - but again - you are currently far away. If you know something regarding programming you would not ask this question here. So it's not some evil nature if you get some answers like Dune already gave. Lots of guys are coming in here and ask a question like that. And all of them are not able to mod right now but have to learn from scratch.

Greetings,
Mo(2)

4

Re: how to create modifications for teeworlds

How mod teeworlds for beginners:

1. Open a file that you like mod
2. Modify
3. Save changes
4. Execute bam to compile source
5. Enjoy!

If you lile know how programming.. read Mo2 post..

5

Re: how to create modifications for teeworlds

i learned like IDONOTKNOW said (with comparation method) [LoL]..., but had basement of other languages..., after, when found problems UNunderstandable, i had to go to read c++ for beginner {XD}, very interesting,
good luck