"Change skin" via game tile?

Request help for teeworlds-related subjects (mapping, servers, ..).
For client issues, see our repositories (https://github.com/ddnet/ddnet/issues).
Post Reply
User avatar
imp
Posts: 788
Joined: Mon May 05, 2014 5:56 pm
Player profile: http://ddnet.tw/players/imp/
Mapper profile: http://ddnet.tw/mappers/imp/

"Change skin" via game tile?

Post 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.
User avatar
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: "Change skin" via game tile?

Post 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.
User avatar
imp
Posts: 788
Joined: Mon May 05, 2014 5:56 pm
Player profile: http://ddnet.tw/players/imp/
Mapper profile: http://ddnet.tw/mappers/imp/

Re: "Change skin" via game tile?

Post by imp »

Is the map ddnet compatible then?
User avatar
deen
TECHNICAL Team
Posts: 3575
Joined: Mon May 05, 2014 2:30 pm
Player profile: https://ddnet.org/players/deen/
Discord: deen#5910

Re: "Change skin" via game tile?

Post by deen »

No. You have to rewrite the server software to enable that, but then you can force any skin.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest