Teams collision

Request help for teeworlds-related subjects (mapping, servers, ..).
For client issues, see our repositories (https://github.com/ddnet/ddnet/issues).
Post Reply
chrome
Posts: 7
Joined: Mon Aug 18, 2014 6:01 am

Teams collision

Post by chrome »

Hello everyone,

For some reasons, I need to activate collisions (and hooking) between teams.
Is there a way to achieve that ?

Thanks
chrome
Posts: 7
Joined: Mon Aug 18, 2014 6:01 am

Re: Teams collision

Post by chrome »

It needs some code modification in the client and the server, I guess.
The teams colors can be useful for Blocker's Server or another kind of server (catch colors).
User avatar
deen
TECHNICAL Team
Posts: 3576
Joined: Mon May 05, 2014 2:30 pm
Player profile: https://ddnet.org/players/deen/
Discord: deen#5910

Re: Teams collision

Post by deen »

For what reason? I don't see an easy way to do that since the independence of teams is hardcoded in server and client.
chrome
Posts: 7
Joined: Mon Aug 18, 2014 6:01 am

Re: Teams collision

Post by chrome »

Thanks, Deen.

I am working on a custom mod.

And I've just modified CGameTeams::SendTeamsState(int ClientID) (file teams.cpp) to make colors in scoreboard.

It works fine, but the ddnet client provides logical results:
Although the interactions between players are working, the client doesn't seem to "consider" interactions between players.
User avatar
laxa
Posts: 226
Joined: Mon Aug 04, 2014 11:08 am
Player profile: http://ddnet.tw/players/laxa/

Re: Teams collision

Post by laxa »

chrome wrote:Hello everyone,

For some reasons, I need to activate collisions (and hooking) between teams.
Is there a way to achieve that ?

Thanks
You need something different than team then I guess.
Otherwise I don't really understand what you are trying to do.
Maybe explain us more about this thing than you are trying to make.
chrome
Posts: 7
Joined: Mon Aug 18, 2014 6:01 am

Re: Teams collision

Post by chrome »

Ok, I try but my english is approximate.

I made a mod which combines Zombies and DDNet tiles. It is just a fun mod.
The colors in scoreboard could be really useful to differentiate people (zombies and humans).
User avatar
deen
TECHNICAL Team
Posts: 3576
Joined: Mon May 05, 2014 2:30 pm
Player profile: https://ddnet.org/players/deen/
Discord: deen#5910

Re: Teams collision

Post by deen »

That really won't work in standard ddnet client. Right now you just make zombies green, I think that's fine.
chrome
Posts: 7
Joined: Mon Aug 18, 2014 6:01 am

Re: Teams collision

Post by chrome »

OK
Thanks for your answer. Good luck for next :)
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests