1

Topic: [MOD] Tee Defence, 1-4 player co-op mod

Hi!

Here's my year old co-op mod Tee Defence.

Point of the mod is to prevent enemy tees from getting to death tiles. Enemies will spawn wave after wave. After each boss wave all players gets 1 upgrade point, which can be used to upgrade weapons.

Have a look on the gameplay demo (http://youtu.be/FMuYadmnYT4) and you'll get the idea.

Works with vanilla client, but I recommend trying with BouncyClient (which is included).

Questions & feedback?


Ingame commands:
/upgrade or /upg


Gameplay demo:
http://youtu.be/FMuYadmnYT4


Download (win32, includes server & BouncyClient & 2 maps & zombie skins):
http://randomlogosoft.com/download/teedefence.zip


I never got the server fully stabilized, so it will crash usually after couple of games. Also spectator mode doesn't work well, so better not to try it.

Enjoy!

2

Re: [MOD] Tee Defence, 1-4 player co-op mod

Linux ?

3

Re: [MOD] Tee Defence, 1-4 player co-op mod

babak2010 wrote:

Linux ?

If you want to compile it, I can send you the source (if you promise not to read it, it's horribly written).

4

Re: [MOD] Tee Defence, 1-4 player co-op mod

Would be really nice if you could post the source. Mods stay accessible a lot longer if they're released in this form.

5 (edited by sjhz10 2015-01-23 06:25:06)

Re: [MOD] Tee Defence, 1-4 player co-op mod

as myself , will not run any mods in my server untill , i compile it myself !
dont wanna run mods with master password !
who know , this mod got master password or not !?

send source to me too plz or share in here ...

6 (edited by Siile 2015-01-23 19:41:14)

Re: [MOD] Tee Defence, 1-4 player co-op mod

The source is so badly written that I'm ashamed to release it. Ai & other logic is written directly to the engine files...

But I'll upload the source later today.

Edit:
http://randomlogosoft.com/download/teed … source.zip

7 (edited by Deepfinder 2015-01-23 21:01:49)

Re: [MOD] Tee Defence, 1-4 player co-op mod

~ my fault

I will be banned if I troll again ...

8 (edited by [pieLover] 2015-01-24 03:35:38)

Re: [MOD] Tee Defence, 1-4 player co-op mod

No bam.lua included? I'll try compiling for linux with some I have laying around.

EDIT: Yeah, probably gonna need your lua config/bam files to compile this.

Clan: Riot (I'm one of three leaders: Mile, Deku, pie)
Host teeworlds maps on a fng/ctf/dm/ddrace server for testing:http://riotproductions.tk/teewo/ broken-need reinstall nginx http://riotproductions.tk/bounce?whatEven, Teeworlds NA Discord chat

9

Re: [MOD] Tee Defence, 1-4 player co-op mod

pielover88888 wrote:

No bam.lua included? I'll try compiling for linux with some I have laying around.

EDIT: Yeah, probably gonna need your lua config/bam files to compile this.


Updated the package with more files. You can also find the client's source here: http://randomlogosoft.com/download/

10

Re: [MOD] Tee Defence, 1-4 player co-op mod

Played half a year ago, a great mod.

E' un Sole Nero!

11

Re: [MOD] Tee Defence, 1-4 player co-op mod

Running into issues trying to compile for linux

[32/70] #1 c++ src/engine/server/server.cpp
src/engine/server/server.cpp: In member function ‘void CServer::ControlAI(int)’:
src/engine/server/server.cpp:1429:76: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
      GameServer()->SendAllChat("You gained an upgrade point (use /upgrade)");
                                                                            ^

[54/70] #1 c++ src/game/server/entities/character.cpp
src/game/server/entities/character.cpp: In member function ‘void CCharacter::InitAI(int)’:
src/game/server/entities/character.cpp:1314:42: warning: statement has no effect [-Wunused-value]
   AI.m_HasFeature[AIFEATURE_SUICIDEBOMBER];
                                          ^
src/game/server/entities/character.cpp:1359:6: warning: unused variable ‘TeeSkin’ [-Wunused-variable]
  int TeeSkin = frandom()*16.0f;
      ^
[55/70] #1 c++ src/game/server/entities/flag.cpp
[56/70] #1 c++ src/game/server/gamecontext.cpp
src/game/server/gamecontext.cpp: In member function ‘virtual void CGameContext::OnMessage(int, CUnpacker*, int)’:
src/game/server/gamecontext.cpp:739:41: error: ‘strcmp’ was not declared in this scope
    if ( strcmp(pMsg->m_pMessage, "/help") == 0 )
                                         ^
bam: 'objs/game/server/gamecontext.o' error 256

12

Re: [MOD] Tee Defence, 1-4 player co-op mod

AtheistCat, add

#include <cstring>

in gamecontext.cpp and try again.

13

Re: [MOD] Tee Defence, 1-4 player co-op mod

AtheistCat wrote:

Running into issues trying to compile for linux

...
[56/70] #1 c++ src/game/server/gamecontext.cpp
src/game/server/gamecontext.cpp: In member function ‘virtual void CGameContext::OnMessage(int, CUnpacker*, int)’:
src/game/server/gamecontext.cpp:739:41: error: ‘strcmp’ was not declared in this scope
    if ( strcmp(pMsg->m_pMessage, "/help") == 0 )
...

You could try adding line #include <string.h> at the beginning of the file (src/game/server/gamecontext.cpp).

If that doesn't work I'm out of ideas. tongue

14

Re: [MOD] Tee Defence, 1-4 player co-op mod

unsigned char* wrote:

AtheistCat, add

#include <cstring>

in gamecontext.cpp and try again.

Thanks now it compiles!
Linux 32bit: https://downloads.teeworlds.com/solidfi … worlds_srv