Raised This Month: $51 Target: $400
 12% 

Ho to attach particle to model


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Indarello
Senior Member
Join Date: Nov 2015
Location: Russia
Old 06-23-2017 , 23:59   Ho to attach particle to model
Reply With Quote #1

I want to add particle like blade mail in Dota 2

I add in particle:
-Operator - Lock to Bone
-Intializer - Position on Model Random

In code:
SetVariantString("!activator");
AcceptEntityInput(particle, "SetParent", client);

And it dont work

If i teleport it to player, particle just follow him

Attached Thumbnails
Click image for larger version

Name:	240px-Blade_Mail_Damage_Return.png
Views:	783
Size:	96.9 KB
ID:	163702  
Attached Images
File Type: jpg 123.jpg (86.3 KB, 735 views)

Last edited by Indarello; 06-24-2017 at 00:00.
Indarello is offline
Indarello
Senior Member
Join Date: Nov 2015
Location: Russia
Old 06-24-2017 , 13:40   Re: Ho to attach particle to model
Reply With Quote #2

C_OP_RenderSprites::RenderUnsorted: Attempting to use an unimplemented sprite renderer for system "particle name"!
Maybe somebody know how to fix this ?
Fixed : Change particle texture (material)

Last edited by Indarello; 06-25-2017 at 05:34.
Indarello is offline
Indarello
Senior Member
Join Date: Nov 2015
Location: Russia
Old 06-28-2017 , 13:04   Re: Ho to attach particle to model
Reply With Quote #3

It is hard to do because of no attachment in cs go ?
I was searching forum and found only facemask working

SetVariantString("facemask");
AcceptEntityInput(particle, "SetParentAttachment", client);
Indarello is offline
Lux
Veteran Member
Join Date: Jan 2015
Location: Cat
Old 06-28-2017 , 13:17   Re: Ho to attach particle to model
Reply With Quote #4

Quote:
Originally Posted by Indarello View Post
It is hard to do because of no attachment in cs go ?
I was searching forum and found only facemask working

SetVariantString("facemask");
AcceptEntityInput(particle, "SetParentAttachment", client);
if there is not attach points you can't really attach it, you could just set parent and teleport it around the location you want, other than that, you could use thirdpart models on your server with attachpoints
__________________
Connect
My Plugins: KlickME
[My GitHub]

Commission me for L4D
Lux is offline
andi67
Veteran Member
Join Date: Mar 2007
Location: Somewhere near you!!!
Old 06-28-2017 , 17:35   Re: Ho to attach particle to model
Reply With Quote #5

Just load a playermodel into hlmv , click on the attachmenttab and you will see all avaible attachmentpoints.....
__________________
Waiting for HL3,Day of Defeat3 ,but will it ever come? So I'm gonna play COD WW2.>>>>SM_SKINCHOOSER<<<<
>>You need Models for DODS/CSS/CSGO , than click here!!!<<
andi67 is offline
Indarello
Senior Member
Join Date: Nov 2015
Location: Russia
Old 06-30-2017 , 04:57   Re: Ho to attach particle to model
Reply With Quote #6


Looks good?
Attached Images
File Type: jpg 23.jpg (87.9 KB, 672 views)

Last edited by Indarello; 06-30-2017 at 04:58.
Indarello is offline
8guawong
AlliedModders Donor
Join Date: Dec 2013
Location: BlackMarke7
Old 06-30-2017 , 09:40   Re: Ho to attach particle to model
Reply With Quote #7

Quote:
Originally Posted by Indarello View Post

Looks good?
thats for you to answer..
8guawong is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:48.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode