Soldier ODFs

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

MercuryNoodles
Jedi
Jedi
Posts: 1003
Joined: Sun Mar 12, 2006 7:16 pm
Projects :: Space - Boarding Action
xbox live or psn: No gamertag set

Re: Soldier ODFs

Post by MercuryNoodles »

Let me see if I can say it in a different way.

If you're loading a unit using the new rep_weap_inf_rifle (in a custom side), and you're loading say the rep_inf_rifleman from the stock rep side, you're loading two instances of rep_weap_inf_rifle into memory, so one gets overwritten or you get a weird combination of properties. That's why it doesn't appear to change. I can't remember if loading the actual rifleman/marine unit, or the side as a whole, loads the weapon, but that's pretty much how it goes.

So, technically, you should use a different name for the weapon and ord, unless you're making a full on side mod, which actually replaces the stock side files. In the long run, I'd say it's a lot better to use new names with custom sides that are included with a single map. Even if the custom side is just a remake of the stock sides, it should be done this way so there's never a conflict if you decide for any reason to use the new side with the stock side it's based on.
obiboba3po
2008 Most Technically Challenging Avatar
Posts: 2376
Joined: Tue Feb 12, 2008 7:46 pm
Projects :: No Mod project currently.
Games I'm Playing :: League of Legends
xbox live or psn: No gamertag set
Location: NJ, USA

Re: Soldier ODFs

Post by obiboba3po »

ok ill try it. i have another question, way more complicated: i want to make one of the astromech bots (i already have the msh and odf) into playable units. how do i do this? i konw its kinda complicated.
User avatar
SBF_Dann_Boeing
Groove Walrus
Groove Walrus
Posts: 1529
Joined: Wed Aug 31, 2005 11:33 pm
xbox live or psn: No gamertag set
Location: An Igloo High Upon a Mountain Top

Re: Soldier ODFs

Post by SBF_Dann_Boeing »

in the odf, you make it so the Geometry is the MSH of the astromech droid.. You may also want to make it so that the weapons it uses don't have geometry.

Btw, If you haven't looked at it already, I do have a tutorial on everything odfs, including weapon odfs, etc.
http://www.gametoast.com/forums/viewtop ... 27&t=13145
User avatar
elfie
Field Commander
Field Commander
Posts: 931
Joined: Fri Jan 25, 2008 8:26 pm
Games I'm Playing :: no games
xbox live or psn: no live
Location: Coruscant, Jedi Temple
Contact:

Re: Soldier ODFs

Post by elfie »

yeah obiboba, I really recommend using danns tutorial as a guide. It clears up a lot of questions you are asking. :D
Post Reply