How to use optional plugins in teeworld
- Al_Chaponje
- Posts: 9
- Joined: Sun Jan 10, 2016 11:32 am
- Clan: B.k All
Re: How to use optional plugins in teeworld
look it doesn't really need to know all of c ++ just you must know the basics .......hi_leute_gll wrote:It really doesn't look like you know much about C++ and especially programming in general.
You might first start with some more simple programs and a good tutorial.
i know them and if one of you just tell me which one in src for editing i very appreciate . just which file is for edit and add optional plugins :\
- Ryozuki
- Posts: 1748
- Joined: Tue Feb 24, 2015 7:28 am
- Location: Catalonia
- Player profile: http://ddnet.tw/players/Ryozuki/
- Mapper profile: http://ddnet.tw/mappers/Ryozuki/
- Clan: Unique
- Website: https://edgarluque.com
- Discord: Ryozuki#2188
Re: How to use optional plugins in teeworld
Men you should firts try to understand that there are no plugins in open source.
- deen
- Posts: 3576
- Joined: Mon May 05, 2014 2:30 pm
- Player profile: https://ddnet.org/players/deen/
- Discord: deen#5910
Re: How to use optional plugins in teeworld
Well, generally there could well be plugins in Open Source games.
Anyway, in this case I suggest to you to figure out how to compile the source code on your own. Then you can search in the source code for similar features to the one you want to write, and look at how they're implemented.
Also, if you want to learn programming for Teeworlds, it's rather written as "C with classes" than modern C++.
Anyway, in this case I suggest to you to figure out how to compile the source code on your own. Then you can search in the source code for similar features to the one you want to write, and look at how they're implemented.
Also, if you want to learn programming for Teeworlds, it's rather written as "C with classes" than modern C++.
- Al_Chaponje
- Posts: 9
- Joined: Sun Jan 10, 2016 11:32 am
- Clan: B.k All
Re: How to use optional plugins in teeworld
well which file in data i should open to compile and use my own plugin ? can you tell me ?
- deen
- Posts: 3576
- Joined: Mon May 05, 2014 2:30 pm
- Player profile: https://ddnet.org/players/deen/
- Discord: deen#5910
Re: How to use optional plugins in teeworld
You will need to edit multiple files in the src directory. Compilation works like this: https://www.teeworlds.com/?page=docs&wi ... everything
Re: How to use optional plugins in teeworld
If you are on Windows, here is new tutorial: viewtopic.php?f=16&t=3061Al_Chaponje wrote:Aha. i know c++ programming but i don't know how to compile them for ddnet .
It's not that easy. I think first you have to try to compile sources and invest your time to understand the basics at least.Al_Chaponje wrote:well which file in data i should open to compile and use my own plugin ? can you tell me ?
- Al_Chaponje
- Posts: 9
- Joined: Sun Jan 10, 2016 11:32 am
- Clan: B.k All
Re: How to use optional plugins in teeworld
Thanks dude it was very useful .... i have some other questionsmilk wrote:If you are on Windows, here is new tutorial: viewtopic.php?f=16&t=3061Al_Chaponje wrote:Aha. i know c++ programming but i don't know how to compile them for ddnet .
It's not that easy. I think first you have to try to compile sources and invest your time to understand the basics at least.Al_Chaponje wrote:well which file in data i should open to compile and use my own plugin ? can you tell me ?
I want to create my own data for solo what should i do
second : look . for e.g. i want to a player go on e solo when he/She write /solo .... is this code write ?
char solo
cin>>solo
if( solo == /solo )
{
...............
}
i don't know how to write the player go on solo if you write me all of command AND which part called what i very appreciate
thanks dude
- Al_Chaponje
- Posts: 9
- Joined: Sun Jan 10, 2016 11:32 am
- Clan: B.k All
Re: How to use optional plugins in teeworld
e.g amxmodx (Use for Counter-Strike 1.6 ) has a website that named all commands and what ever that need http://amxmodx.org/api/ Does teeworld or ddnet have sth like this ?
- deen
- Posts: 3576
- Joined: Mon May 05, 2014 2:30 pm
- Player profile: https://ddnet.org/players/deen/
- Discord: deen#5910
Re: How to use optional plugins in teeworld
Only this: https://ddnet.tw/settingscommands/
Since Teeworlds and DDNet are open source you can just read the source code and edit it directly.
Since Teeworlds and DDNet are open source you can just read the source code and edit it directly.
- timakro
- Posts: 414
- Joined: Mon May 05, 2014 6:05 pm
- Location: Germany
- Player profile: http://ddnet.tw/players/timakro/
- Mapper profile: http://ddnet.tw/mappers/timakro/
- Clan: unique
Re: How to use optional plugins in teeworld
This could be my new signature!Al_Chaponje wrote: i want to a player go on e solo when he/She write /solo .... is this code write ?
char solo
cin>>solo
if( solo == /solo )
{
...............
}
Who is online
Users browsing this forum: No registered users and 54 guests