Attach effect to player model?
Moderator: Moderators
- Snork
- Lieutenant General

- Posts: 669
- Joined: Thu Jun 07, 2007 3:34 pm
- xbox live or psn: No gamertag set
- Contact:
Attach effect to player model?
To attach an effect to a playermodel? Such as a light?
-
PsYcH0_]-[aMsT3r
- 2nd Lieutenant

- Posts: 405
- Joined: Fri Jan 25, 2008 3:11 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Location Location.
Re: Is it possible...
Lol ive been thinking about this as well like a light in a clones helmet so they can see in the dark. I think you'd have to attach a hard point ( whatever its called) or something and do a lot of FX work.
- Snork
- Lieutenant General

- Posts: 669
- Joined: Thu Jun 07, 2007 3:34 pm
- xbox live or psn: No gamertag set
- Contact:
Re: Is it possible...
It actually wouldn't be that much fx work, but I'm gonna try a little experimenting.
-
Caleb1117
- 2008 Most Original Avatar
- Posts: 3096
- Joined: Sun Aug 20, 2006 5:55 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: X-Fire: caleb1117 ಠ_ಠ
Re: Is it possible...
Not sure about player models, but...
Weapons can only support a light if they are a prop, not equipped.
Vehicles will support attached lights.
Weapons can only support a light if they are a prop, not equipped.
Vehicles will support attached lights.
-
jedimoose32
- Field Commander

- Posts: 938
- Joined: Thu Jan 24, 2008 12:41 am
- Projects :: Engineering Degree
- Location: The Flatlands of Canada
Re: Is it possible...
Suggestion: I'm no expert on the subject of hardpoints and fx, but would it be possible to fix a laser onto the clone's helmet and simply make higher glow settings? You are referring to making a device such as Master Chief's flashlight or the Republic Commando Nightvision thing right? All you would have to do is change some hardpoints, attach a laser to the helmet just above or beside the visor, make it invisible, and...sigh...do a lot of scripting so that it turns on and off when you want it to. Like I said, I'm no expert. But...worth a shot?
Heck, I don't even know if any of this is possible!
Heck, I don't even know if any of this is possible!
- Snork
- Lieutenant General

- Posts: 669
- Joined: Thu Jun 07, 2007 3:34 pm
- xbox live or psn: No gamertag set
- Contact:
Re: Is it possible...
I was actually thinking of attaching some kind of glow effect to a playermodel.
-
Grev
- Hoth Battle Chief

- Posts: 3132
- Joined: Sun Dec 09, 2007 11:45 pm
- Projects :: No Mod project currently.
- Location: A Certain Box Canyon
Re: Is it possible...
Would it be possible to add the mygeeto fire effect to a units head? Dont ask why.....
Ive seen someone do it to grevious's chest, so I wondered if the same went for wampas heads.
Ive seen someone do it to grevious's chest, so I wondered if the same went for wampas heads.
-
FragMe!
- Gametoast Staff

- Posts: 2244
- Joined: Sat May 13, 2006 12:34 am
- Projects :: Not sure keep changing my mind.
- xbox live or psn: No gamertag set
- Location: Origin name GT_FragMe
- Contact:
Re: Is it possible...
Caleb is correct about weapons and I can confirm it after many hours of trying.Caleb1117 wrote:Not sure about player models, but...
Weapons can only support a light if they are a prop, not equipped.
Vehicles will support attached lights.
Player models may be able to support an effect Dann's flaming Ewok (or was it a Jawa) is proof.
As for vehicles you can attach an effect via AttachEffect or AttachOdf the only problem being is when the vehicle is destroyed the effect stays. Once again voice of experience. Now there is a way around it by making the effect a damage effect which basically starts with zero damage to the vehicle. That way when the vehicle is destroyed the effect goes away.
-
Crazy_Ewok
- 2008 Best Amateur Avatar
- Posts: 256
- Joined: Wed Jan 23, 2008 6:49 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Somewhere in the Midwest
Re: Is it possible...
I've tried this before also and I know one way of attaching effects to player models. You could add the lines about damage effects that FragMe mentioned, but if you want your effect attached to a hand or wrist the effect will not move when the hand or wrist moved. You may be able to get them to move by using the code from psychofred's attached effects doc. I couldn't but that was when I was a noob, I haven't tried since.
-
Grev
- Hoth Battle Chief

- Posts: 3132
- Joined: Sun Dec 09, 2007 11:45 pm
- Projects :: No Mod project currently.
- Location: A Certain Box Canyon
Re: Is it possible...
Well, the fire not moving is fine, since wamaps heads just bob up and down. Can the fire be attached like an addon msh?
- Snork
- Lieutenant General

- Posts: 669
- Joined: Thu Jun 07, 2007 3:34 pm
- xbox live or psn: No gamertag set
- Contact:
Re: Is it possible...
That's exactly what I was wondering.Can the fire be attached like an addon msh?
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: Is it possible...
Didn't FragMe just answer this like 3 posts prior? Why is there still a question?Maveritchell wrote:You want to attach damage effects, like they have in vehicles. The difference is that these "damage effects" will start when the unit is at full health instead of, say, 20% health.
You'd want to add the following lines:
Code: Select all
DamageStartPercent = 100.0 DamageStopPercent = 0.0 DamageEffect = "com_sfx_inf_damage_electricity" DamageAttachPoint = "bone_l_hand" DamageStartPercent = 100.0 DamageStopPercent = 0.0 DamageEffect = "com_sfx_inf_damage_electricity" DamageAttachPoint = "bone_r_hand"
