• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[OTCv8] Auras and wings

Consegui colocar na minha fonte otx2, mas tem que ser reposicionado. Eu uso sprites 8.60, terei que fazer isso dentro do OTCv8, não é? mesmo quando você tem montarias você tem que subir um pouco mais.


image.png
Pode ser útil.

 
I managed to put it in my otx2 source, but it has to be repositioned. I use 8.60 sprites, I'll have to do this within OTCv8, won't I? even when you have mounts you have to go a little higher.


image.png
Could you share it with the community?
 
I still don't know why I haven't announced it yet or made a release, but Mehah does have "attachedeffects"

1.- need this in your server
by mehah

2.- edit this in client
by mehah

3.- and Enable Feature

Lua:
g_game.enableFeature(GameItemShader)
g_game.enableFeature(GameCreatureShader)
g_game.enableFeature(GameCreatureAttachedEffect)

mehah have :
  • attachEffect (Apng(ThingExternalTexture) // dat effect(ThingCategoryEffect) // dat outfit (ThingCategoryCreature) WITH OFFSET
  • shader (map // creature // item // widget )
4.- Edit
A] Client
edit this .lua game_attachedeffects/effects.lua with these functions

Code:
--[[
    register(id, name, thingId, thingType, config)
    config = {
        speed, disableWalkAnimation, shader, drawOnUI, opacity
        duration, loop, transform, hideOwner, size{width, height}
        offset{x, y, onTop}, dirOffset[dir]{x, y, onTop},
        onAttach, onDetach
    }
]] --

B] Server
Example :
Lua:
        player:setShader("Outfit - Rainbow")
        player:attachEffectById(7) -- id is game_attachedeffects/effects.lua
        player:attachEffectById(8) -- id is game_attachedeffects/effects.lua
        player:attachEffectById(9, true) -- Temporary Effect -- id is game_attachedeffects/effects.lua
        player:setMapShader('Map - Heat', true)
Lua:
        item:setShader(<shader name>)
I test in 1.5 nekiro 8.00 and work perfectly


View attachment 75449
Could you make this aura available?
 
Very good this wings system it will help many projects. Blessed be the one who invented the bone system and the wing positioning system through otclient, everything is working perfectly ;)

@frenzy02 @Vagnerking
Take this aura here, I'm kind :)
I exported it in versions 8.0, 8.60, and 10.98.
outfit_1492_.png
______________________________________________________
 

Attachments

Very good this wings system it will help many projects. Blessed be the one who invented the bone system and the wing positioning system through otclient, everything is working perfectly ;)

@frenzy02 @Vagnerking
Take this aura here, I'm kind :)
I exported it in versions 8.0, 8.60, and 10.98.
View attachment 84693
______________________________________________________
How did you reposition these wings? Can you help me?
 

Similar threads

Replies
6
Views
379
Back
Top