Demo Map Abstract Player Colours

Azlier

Old World Ghost
Reaction score
461
Like spears. Some spears have team color.
 

lep

Active Member
Reaction score
8
>There's no overlap. That's just a texture with two colours?
Oh, i didn't meant the wisp in the screenshot.
I just attached the screenshot due to the awesomeness of the texture...
 

Romek

Super Moderator
Reaction score
963
This is a great find. I'm surprised I didn't stumble onto this myself, as I often use ConvertPlayerColor as a sort of 'playercolor array'.

[ljass]call SetUnitColor(u, ConvertPlayerColor(1337))[/ljass] Makes the unit colour whitish, and crashes occasionally. I'm guessing that all the very high ones will be white though. "Invalid Texture?" ^_^
 

Viikuna

No Marlo no game.
Reaction score
265
Cool shit.

I wanna know more.

How these Convert natives work anyways?
Has anyone tried to do some nice return bug typecasting from integer to playercolor and other way around?
 

UndeadDragon

Super Moderator
Reaction score
448
I wonder... Using this method, would it finally be possible to change a model's skin ingame?
 

Romek

Super Moderator
Reaction score
963
> I wonder... Using this method, would it finally be possible to change a model's skin ingame?
It's possible anyway, isn't it?
Using the Mountain Giants tree-club thing. :p

> Has anyone tried to do some nice return bug typecasting from integer to playercolor and other way around?
I'm pretty sure that H2I(ConvertPlayerColor(1)) == 1.
Untested though.

I wonder if anything neat could come from typecasting the other Convert... functions.
 

Viikuna

No Marlo no game.
Reaction score
265
Yea, Toadcop already released that one thigny that uses War Club ability to change models skin ingame.

I was just thinking that maybe those Convert thingies are fucked up, and return some random values and thats why this everything works only sometimes.

If someone could find some way to do this shit without crashing, it would be quite cool.
 

UndeadDragon

Super Moderator
Reaction score
448
Oh, I didn't realise there was already a method to change skins >.<
 

Narks

Vastly intelligent whale-like being from the stars
Reaction score
90
Can someone tell me where to find the War Club skin change thing?
 

Renendaru

(Evol)ution is nothing without love.
Reaction score
309
I edited the first post to be a bit more exact with the findings...
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top