| 11-22-2004, 04:03 AM | #1 |
Ok i'm using a from scratch model, one bone no parrent (which is probably the problem), assigned a particle emiter to the right coordinates (-13.125, -16.875, 0) but the particle emitter is appearing in the center of the model, appears in the right position on wc3 viewer though, putting .mdl file up for anaylis, any help would be appreciated. |
| 11-22-2004, 01:59 PM | #2 |
The problem is that the model you started with didn't have an ObjectId for its bone (You don't need ObjectIds if you only have one), which made it so the particle emitter's ObjectId was 0 (as opposed to 1), which made it read the first pivot point instead of the second for its position, which made it it the wrong location. Change the follow chunk in the underlined areas: Code:
Bone "Sphere01" {
[u] ObjectId 0,[/u]
GeosetId 0,
GeosetAnimId None,
}
PivotPoints 2 {
{ -13, -16, 0 },
{ 20, 0, 0 },
}
ParticleEmitter2 "BlizPart5795" {
ObjectId [u]1[/u],
Parent 0,
SortPrimsFarZ,Remember that the viewer does a very bad job of displaying most particles and it's best to test those in game instead. |
| 11-22-2004, 02:41 PM | #3 |
Yobgul File Convert won't let me covert it into an mdx when i set the object id to 1, says theres a gap in object id's :\ I tried setting them both to 0 but the particle always defaults to 1 after being converted. |
| 11-22-2004, 11:27 PM | #4 |
Did you add the ObjectId 0 line I underlined as well, in the bone? |
| 11-22-2004, 11:41 PM | #5 | |
Quote:
Yes I tried that, it will automatically change it when its converted to a mdx. |
| 11-26-2004, 03:34 AM | #6 |
so is there anyway to stop the mdl coverter from changing this when it coverts it? |
| 11-26-2004, 03:57 AM | #7 |
Can you post the MDL you changed? Everything seemed to work fine for me. |
| 11-26-2004, 01:42 PM | #8 | |
Quote:
There you go, from before i add the particle to the mdl, after i add the particle, the coverted mdx, and the mdx converted back into an mdl. It auto changes the object id of the particle emitter to 1. Btw whats the latest version of Yobguls? It might be a bug cause i'm using a very old version :\ |
| 12-19-2004, 10:53 PM | #9 |
Oink do you use Yobgul's Mdl->Mdx program or someone elses? Only thing i can think to explain why it works for you and not me :\ |
