Doors

Post everything from general questions, to modding questions, to map WIPs to releases. (SWBF1 only)

Moderator: Moderators

Post Reply
User avatar
Frog
Lance Corporal
Posts: 96
Joined: Sat Apr 04, 2009 9:44 am

Doors

Post by Frog »

whenever i add doors to my mustafar map it crashes swbf so when me and jango looked at the classlabel it says "door" and swbf dont got those so wat would we make the classlabel?
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

Re: Doors

Post by AceMastermind »

Frog wrote:..wat would we make the classlabel?
Try:
animatedprop
it seems to support the same properties as "door" in SWBF2.
You may have to edit the AnimationTrigger line in the ODF as well.

EDIT
Well it turns out SWBF does indeed support the "door" classlabel as can be seen in Jabbas Palace assets.
tat3_prop_celldoor.odf:
Hidden/Spoiler:
[code][GameObjectClass]

ClassLabel = "door"
GeometryName = "tat3_prop_celldoor.msh"


[Properties]

GeometryName = "tat3_prop_celldoor"
AnimationName = "tat3_prop_celldoor"

Animation = "open"

AnimationTrigger = "hp_doorradius 2.0"

OrdnanceCollision = "p_door"

OpenSound = "door_open"
CloseSound = "door_close"
FoleyFXGroup = "stone_foley"

[/code]
tat3_prop_celldoor animations include a basepose, idle and open msh file whereas mus1_prop_door_tri only has a basepose and open msh file.
I assume SWBF needs an idle animation which the Mustafar door does not have, a new animation would have to be made to get the Mustafar door working properly in SWBF.
User avatar
Frog
Lance Corporal
Posts: 96
Joined: Sat Apr 04, 2009 9:44 am

Re: Doors

Post by Frog »

Hidden/Spoiler:
[GameObjectClass]

ClassLabel = "animatedprop"
GeometryName = "mus1_prop_door_tri.msh"


[Properties]

GeometryName = "mus1_prop_door_tri"
AnimationName = "mus1_prop_door_tri"

Animation = "open"

AnimationTrigger = "hp_door 4"

OrdnanceCollision = "p_door"

OpenSound = "door_open"
CloseSound = "door_close"
LockedSound = "vehicle_equip"
FoleyFXGroup = "metal_foley"
thats my mus1_prop_door_tri.odf file and animatedprop still crashed it
User avatar
jango
Command Sergeant Major
Command Sergeant Major
Posts: 272
Joined: Mon Jan 19, 2009 8:05 pm
Projects :: too many
Games I'm Playing :: Black Ops
Location: A galaxy far far away...

Re: Doors

Post by jango »

i tried that but it crashed so i just made it a normal prop
User avatar
Frog
Lance Corporal
Posts: 96
Joined: Sat Apr 04, 2009 9:44 am

Re: Doors

Post by Frog »

it still crahes even with prop label

EDIT: if u rename the classlabel "prop" and add the animation from your swbf2 map file
like "mus1_prop_door_tri.anims" or its zafbin file it should work
MasterFang1
Corporal
Corporal
Posts: 144
Joined: Sat Apr 05, 2008 4:30 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Re: Doors

Post by MasterFang1 »

why not just look at the animated doors from jabbas palace in SWBF1 and change what is necessary?
User avatar
Frog
Lance Corporal
Posts: 96
Joined: Sat Apr 04, 2009 9:44 am

Re: Doors

Post by Frog »

well i did that but the doors still needed there special animation i guess
Post Reply