Finding ODF values

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
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

Finding ODF values

Post by [RDH]Zerted »

Has anyone seen any of the following ODF variables in use before? And if so, in which files?
1) DisableTime
2) HideHealthBar
3) AvailableForAnyTeam
4) RemoveFromMapWhenDead
User avatar
Challenger33
Lieutenant General
Lieutenant General
Posts: 726
Joined: Wed Aug 23, 2006 3:44 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: Building a legion of papercraft models.
Contact:

Re: Finding ODF values

Post by Challenger33 »

I don't know if this helps or not, but I know that "AvailableForAnyTeam = 1" is in rep_hover_barcspeeder.odf. It's commented out though. Although I'm not sure if you meant if anyone has seen those lines in an odf where they weren't commented out.
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

Re: Finding ODF values

Post by [RDH]Zerted »

Its sort of helps. It tells me its a boolean value of 0 or 1. That it may mean the object can only be used by its team members. And that its not useful as a FakeConsole command as its makes no sense to use it on a unit, and I can't get vehicle references ingame.

Edit: Ahh, for command vehicles. That makes sense.
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: Finding ODF values

Post by Maveritchell »

If I had to guess, that was probably a value created with command vehicles in mind that was discarded when they made it part of the command vehicle's intrinsic properties to only be available to one team.
-_-
Gametoast Staff
Gametoast Staff
Posts: 2678
Joined: Sat May 07, 2005 1:22 pm

Re: Finding ODF values

Post by -_- »

[RDH]Zerted wrote:Has anyone seen any of the following ODF variables in use before? And if so, in which files?
1) DisableTime
2) HideHealthBar
3) AvailableForAnyTeam
4) RemoveFromMapWhenDead
DisableTime ="Insert time value" is used by the Haywire Classlabel. It functions the same as a grenade, but ejects the occupants of the targeted vehicle, and locks up all vehicles in range of the explosion until "insert time value" is over.

AvailableForAnyTeam "0 or 1" Used by any vehicles, this allows the AI to commandeer vehicles when they have the chance, and not restrict them to team-based vehicles. Ex: CIS using Republic Speeder, Alliance using ATST, etc.

I'm stumped by the other two.
Post Reply