HomePortalFAQSearchMemberlistUsergroupsRegisterLog in
Meet the new KITO admins & hear their plans here.
You can use google search to find threads and posts here now. Example

Share | 
 

 Attaching the admin/mod auras to other bones?

View previous topic View next topic Go down 
AuthorMessage
Nefadozone

avatar

Game username : Nefadozone
Server : Fucko McShitpo
Male Posts : 176
Join date : 2011-11-11
Age : 23
Location : Satan's Asshole

PostSubject: Attaching the admin/mod auras to other bones?   Sat Mar 15, 2014 2:04 pm

I am not quite sure how to phrase it in the source, but how would I get the game to attach a particle to the Head2 bone of a player unit?

MagixUnitManager.h | Line 1371 (*approx since my source has been modified)
Code:
void createAdminAura(MagixUnit *unit, const ColourValue &colour)
 {
 ParticleSystem *aura = createParticleOnUnit(unit,"AdminAura",-1,true);
 if(aura)aura->getEmitter(0)->setColour(ColourValue(colour.r,colour.g,colour.b,0));
 }
Back to top Go down
http://wildmidnight.boards.net/
RedEye
Retired
avatar

Game username : -redeye-
Server : KITO
Male Posts : 2577
Join date : 2011-07-24
Age : 30

PostSubject: Re: Attaching the admin/mod auras to other bones?   Sat Mar 15, 2014 4:04 pm

The admin aura is attached to the entire unit and not a specific bone

________________________________
Retired
Back to top Go down
Nefadozone

avatar

Game username : Nefadozone
Server : Fucko McShitpo
Male Posts : 176
Join date : 2011-11-11
Age : 23
Location : Satan's Asshole

PostSubject: Re: Attaching the admin/mod auras to other bones?   Sat Mar 15, 2014 4:35 pm

Yeah, can I make it attach to unit's Head2 bone on the skeleton though? That's what I'm trying to figure out but I haven't been able to get it right. I was making halos and it looks a little awkward when it doesn't track along with the character's head.
Back to top Go down
http://wildmidnight.boards.net/
Sponsored content




PostSubject: Re: Attaching the admin/mod auras to other bones?   

Back to top Go down
 
Attaching the admin/mod auras to other bones?
View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Keeping I.T. Open :: SUPPORT :: Support-
Jump to: