"Change skin" via game tile?
- 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?
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.
- 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?
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.
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.
- 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?
Is the map ddnet compatible then?
- deen
- Posts: 3576
- Joined: Mon May 05, 2014 2:30 pm
- Player profile: https://ddnet.org/players/deen/
- Discord: deen#5910
Re: "Change skin" via game tile?
No. You have to rewrite the server software to enable that, but then you can force any skin.
Who is online
Users browsing this forum: No registered users and 8 guests