Demo Map Abstract Player Colours

lep

Active Member
>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
Staff member
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.
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
Staff member
I wonder... Using this method, would it finally be possible to change a model's skin ingame?
 

Romek

Super Moderator
Staff member
> 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.
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
Staff member
Oh, I didn't realise there was already a method to change skins >.<
 

Narks

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

Renendaru

(Evol)ution is nothing without love.
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.
  • Ghan Ghan:
    The old shoutbox wasn't supported anymore. We updated xenForo, so it had to be replaced.
  • jonas jonas:
    let's see if everyone finds it... the nice thing about the shoutbox was I could check on it even while logged out, but the existence of this one is hidden when you're not logged in
  • Ghan Ghan:
    We can fix that.
  • Ghan Ghan:
    Chat should show on the sidebar when not logged in now.
  • Ghan Ghan:
    (You'll still need to log in to post messages)
  • Ghan Ghan:
    Test!
  • tom_mai78101 tom_mai78101:
    I must be in a test server.
  • tom_mai78101 tom_mai78101:
    Nice, Twitter tweets embedding now works
  • Wizard Wizard:
    Yup.
  • Ghan Ghan:
    Excellent.
  • Ghan Ghan:
    @tom_mai78101 Hello there.
  • Ghan Ghan:
    Tagging works in the chat too.
  • tom_mai78101 tom_mai78101:
    @Ghan Missed it.
  • Wizard Wizard:
    Still fixing things here and there. Added widgets to the portal, will make it match the ones here on the forum index tomorrow.
  • Ghan Ghan:
    The venerable World Editor Tutorials site has been converted to HTTPS at last.
  • jonas jonas:
    cool
  • jonas jonas:
    and I can even edit my messages, nice
  • seph ir oth seph ir oth:
    GENERAL CHIT CHAT, YOU ARE A BOLD ONE
  • Ghan Ghan:
    Hello there
  • The Helper The Helper:
    this new chatbox is great and the forum software update is great too
    +1
  • The Helper The Helper:
    upgrade has fixed forum registration spam problem
  • tom_mai78101 tom_mai78101:
    Something tells me we might be able to customize the chatbox a bit, considering that there's a gap under every message.
  • Wizard Wizard:
    Going to deploy a fix soon, just had to take some time for myself this weekend.
  • Varine Varine:
    Unbelievable. Time for yourself? How dare you!

    Members online

    No members online now.

    Affiliates

    Hive Workshop
    Top