Page 1 of 1
Teams collision
Posted: Tue Oct 07, 2014 12:17 pm
by chrome
Hello everyone,
For some reasons, I need to activate collisions (and hooking) between teams.
Is there a way to achieve that ?
Thanks
Re: Teams collision
Posted: Tue Oct 07, 2014 12:22 pm
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).
Re: Teams collision
Posted: Tue Oct 07, 2014 12:30 pm
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.
Re: Teams collision
Posted: Tue Oct 07, 2014 12:37 pm
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.
Re: Teams collision
Posted: Tue Oct 07, 2014 12:39 pm
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.
Re: Teams collision
Posted: Tue Oct 07, 2014 12:42 pm
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).
Re: Teams collision
Posted: Tue Oct 07, 2014 12:52 pm
by deen
That really won't work in standard ddnet client. Right now you just make zombies green, I think that's fine.
Re: Teams collision
Posted: Tue Oct 07, 2014 12:58 pm
by chrome
OK
Thanks for your answer. Good luck for next
