Page 1 of 1

Placeable Mine Crash

Posted: Wed Aug 11, 2010 5:19 pm
by General_Nate
Ok guys, I've got another problem....

I did a search, and found THIS helpful post.

I did what it said, but my map crashed. I copied all the necessary files, (Mshs, and all the explosion files I need) and copied the odf shown into my own. I placed the mine in ZE, it showed up fine, and I assigned the mine to team 1. But I played it, (after munging, ah'course) and it crashed to desktop.

I would post my error log, but there is nothing there that relates to this at all. It was running correctly before I made the mines, too, so it's not that.

Is there anything else I need to do? Thanks for any replies! :thumbs:

Re: Placeable Mine Crash

Posted: Thu Aug 12, 2010 3:43 am
by lucasfart
Have you tried copying over the COMMON side folder? That way you definitely won't miss a file. If that fails, try removing your mine from the map and see if it still crashes.

Re: Placeable Mine Crash

Posted: Mon Aug 23, 2010 11:52 am
by General_Nate
Yep, copied the Common folder into my Worlds folder, and even after cleaning, it still crashed. I removed the mines, and it played fine. So they are defiantly the problem.

Re: Placeable Mine Crash

Posted: Mon Aug 23, 2010 3:54 pm
by destos
Could you post the ODF you made for the mines?

Re: Placeable Mine Crash

Posted: Sun Aug 29, 2010 12:42 am
by General_Nate
Hidden/Spoiler:
[GameObjectClass]
ClassLabel = "mine"
GeometryName = "com_weap_inf_landmine_placed.msh"

[Properties]
GeometryName = "com_weap_inf_landmine_placed"

ExplosionTrigger = "com_weap_inf_landmine_exp"
ExplosionDeath = "com_weap_inf_landmine_destroyed_exp"
ExplosionExpire = "com_weap_inf_landmine_destroyed_exp"

TriggerContact = "1"
TriggerRadius = "1.0"
//SuppressRadius = "1.0"

MaxHealth = "200"
Velocity = "0.0"
Gravity = "1.0"
Rebound = "0.0"
Friction = "1.0"

CollisionOtherSound = "com_weap_mine_land"
It's the exact same as the one in the post.

Re: Placeable Mine Crash

Posted: Sun Aug 29, 2010 12:48 am
by lucasfart
Do you need an ordnance file for mines? Normally you make one and that has all the damage stats and effects called. If you do, you forgot to link it into your mine odf.