HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Spell causing WC3 Fatal

06-28-2007, 03:35 PM#1
Dr.Willy
Hello everybody,
I recently started playing around with mdls a bit and seemingly I ran into some serious problems:
Something about a custom spell keeps giving me wc3fatals.

Hmm, where to start...
I made a custom spell using breath of frost and removed any graphic related stuff.
Art - Caster: war3imported\HellsBreath.mdx
Art - Caster Attachment points: head

The Model is based on SludgeMissile.mdl, the particle emmitter is taken from FireTrapSide.
Hidden information:
Version {
FormatVersion 800,
}

Model "HellsBreath" {
NumParticleEmitters2 1,
BlendTime 150,
MinimumExtent { 3.40282e+038, 3.40282e+038, 3.40282e+038 },
MaximumExtent { -3.40282e+038, -3.40282e+038, -3.40282e+038 },
}

Sequences 1 {
Anim "Birth" {
Interval { 33, 3333 },
NonLooping,
}
}

Textures 1 {
Bitmap {
Image "ReplaceableTextures\Weather\Clouds8x8.blp",
}
}

Materials 1 {
Material {
Layer {
FilterMode Additive,
static Alpha 0.01,
static TextureID 1,
TwoSided,
Unshaded,
}
}
}

PivotPoints 1 {
{ 10, 0, -35 },
}

ParticleEmitter2 "Fire" {
ObjectId 0,
Rotation 1 {
Linear,
33: { 0, 0.843391, 0, 0.5373 },
}
Additive,
static Speed 560,
static Variation 0.33,
static Latitude 5,
static Gravity 0,
static EmissionRate 125,
static Width 5,
static Length 5,
Visibility 2 {
DontInterp,
33: 1,
833: 0,
}
SegmentColor {
Color { 0, 0.101961, 0.909804 },
Color { 0, 0.458824, 0.976471 },
Color { 0, 0.211765, 1 },
},
Alpha { 255, 255, 100 },
ParticleScaling { 30, 75, 85 },
LifeSpanUVAnim { 0, 31, 1 },
DecayUVAnim { 32, 63, 1 },
TailUVAnim { 0, 0, 1 },
TailDecayUVAnim { 0, 0, 1 },
Rows 8,
Columns 8,
TextureID 0,
Time 0.65,
LifeSpan 0.5,
TailLength 0.5,
Unshaded,
Unfogged,
Head,
}

The model seems to be all right as it shows in Magos ModelEditor aswell as in WEs small model-window. Still I dont really know what im doing there yet, so is there any obvious mistake I made?

There is no trigger directly related to this spell and when I remove the Model the spell doesnt cause any problems.
Creating an SFX using said model somewhere on the map crashes the map as expected.

Now the thing that really gives me a headache is that the very same model works fine in my testmap.
To make things even more confusing: When reimport the model into my map and hit "Test Map" theres like a 3/10 chance there will be no crash. In that case I can play the map without any problems.
When I then save the map and hit "test map" it crashes whenever I cast the spell.

So - thats it... Any ideas?
07-08-2007, 10:59 PM#2
Dr.Willy
Materials 1 {
Material {
Layer {
FilterMode Additive,
static Alpha 0.01,
static TextureID 1,
TwoSided,
Unshaded,
}
}
}

Solved, thanks for your attention.