Page 1 of 1

"Change skin" via game tile?

Posted: Mon Sep 26, 2016 11:59 am
by imp
Hi, is it possible to change the skin of a player via game tiles permanentely while that player is still able to move? The only way I found out is via Jetpack and Ninjajetpack, which is not the best solution. Is there a way to increase Ninja duration time? I didn't find a command that would do that.

Re: "Change skin" via game tile?

Posted: Tue Sep 27, 2016 9:25 pm
by Ryozuki
https://github.com/ddnet/ddnet/blob/mas ... r.cpp#L191

You need to find g_pData->m_Weapons.m_Ninja.m_Duration
To lazy to do it xD.
Then modify it to your need i guess, and compile.

Re: "Change skin" via game tile?

Posted: Wed Sep 28, 2016 10:49 am
by imp
Is the map ddnet compatible then?

Re: "Change skin" via game tile?

Posted: Wed Sep 28, 2016 11:00 am
by deen
No. You have to rewrite the server software to enable that, but then you can force any skin.