Placeable Mine Crash

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
General_Nate
Lieutenant General
Lieutenant General
Posts: 689
Joined: Sun Jun 28, 2009 4:01 pm
Projects :: None because BFII is not working
Games I'm Playing :: Minecraft
xbox live or psn: No gamertag set
Location: 127.0.0.1

Placeable Mine Crash

Post 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:
User avatar
lucasfart
Sith
Sith
Posts: 1440
Joined: Tue Feb 24, 2009 5:32 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Australia

Re: Placeable Mine Crash

Post 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.
User avatar
General_Nate
Lieutenant General
Lieutenant General
Posts: 689
Joined: Sun Jun 28, 2009 4:01 pm
Projects :: None because BFII is not working
Games I'm Playing :: Minecraft
xbox live or psn: No gamertag set
Location: 127.0.0.1

Re: Placeable Mine Crash

Post 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.
User avatar
destos
Chief Warrant Officer
Chief Warrant Officer
Posts: 349
Joined: Sat Sep 22, 2007 10:37 pm

Re: Placeable Mine Crash

Post by destos »

Could you post the ODF you made for the mines?
User avatar
General_Nate
Lieutenant General
Lieutenant General
Posts: 689
Joined: Sun Jun 28, 2009 4:01 pm
Projects :: None because BFII is not working
Games I'm Playing :: Minecraft
xbox live or psn: No gamertag set
Location: 127.0.0.1

Re: Placeable Mine Crash

Post 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.
User avatar
lucasfart
Sith
Sith
Posts: 1440
Joined: Tue Feb 24, 2009 5:32 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Australia

Re: Placeable Mine Crash

Post 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.
Post Reply