About sfx on item

02/19/2017 12:15 elitemember21#16
Quote:
Originally Posted by Professor Linebeck View Post
Uhm that is actually the entire code. The other thing is to choose/create an Item you wanna use for the SFX.
I simply used Butterfly Mask.

Thanks a lot for the fast response, by any chance can you tell me where to put the code please? Thanks again.

It means a lot to me.
02/21/2017 16:29 69BOLT69#17
thanks Professor Linebeck for this!, altho im still not able to make it work atm i wanna ask if ever u added sfx on mask and cloak would it show both sfx or just the 1st one u equipped? thanks in advance!
02/28/2017 18:29 NickHough#18
Just wish to state for all, anyone using this code it is severly lacking the ability to use the cupid wings and an item SFX now. It is easy to add this sort of code to make it so that you can add sfx to all items without much difficulty
02/28/2017 18:44 Mike Oxmaul#19
make subclass of sfx
give it an index of bone
multiplicate bone matrix with worldmatrix to get the bone position in the world
get the Positiondata of the matrix
maybe rotation / scale too
hf
02/28/2017 18:48 pedala1#20
The code is functional, however it is not very secure because it is inside a loop "void CMover :: Process ()"

Quote:
Originally Posted by Professor Linebeck View Post
Hey prof.
If a make this on cs pet, how to work ? without use this func " void CMover::Process() "
03/01/2017 16:19 Professor Linebeck#21
There is something missing Anyway. And if you want to do that on CS pets, you should use __BS_EFFECT_LUA. That works on CS pets too.
03/01/2017 17:06 pedala1#22
There is this structure "void CMover :: ProcessPetAvail (void)" which I can add, I think. __BS_EFFECT_LUA is not work, cause new source use new effect environment =/
03/02/2017 00:48 banktakung#23
Quote:
Originally Posted by pedala1 View Post
There is this structure "void CMover :: ProcessPetAvail (void)" which I can add, I think. __BS_EFFECT_LUA is not work, cause new source use new effect environment =/
i use __BS_EFFECT_LUA and effect environment as normal.
03/02/2017 13:37 pedala1#24
Really ? My code base is v15 on vs 2003. My scripts from bs_effect_lua dont run =/
03/03/2017 19:12 alfredico#25
Quote:
Originally Posted by pedala1 View Post
Really ? My code base is v15 on vs 2003. My scripts from bs_effect_lua dont run =/
Scripts are located on SFX/scripts and the visual studio version doesn't matter.
03/03/2017 20:07 pedala1#26
I know where are located the scripts lol, i said they not work on my source...
03/07/2017 23:23 69BOLT69#27
totally can't figure this out on which file the code should be added ^ ^ anyone can point me to the right file really appreciate ^ ^ thanks in advance :)
03/08/2017 05:47 banktakung#28
Quote:
Originally Posted by 69BOLT69 View Post
totally can't figure this out on which file the code should be added ^ ^ anyone can point me to the right file really appreciate ^ ^ thanks in advance :)
if( g_tmCurrent - m_dwWingTime > 1100 )
02/18/2018 13:18 Kakerou#29
Hi Sir Professor, I tried to follow but when I compile I got this error. Hope you can help me sir. This is the screenshot. I just use the buterflyf mask and the cupid wing sfx
[Only registered and activated users can see links. Click Here To Register...]