Page 1 of 1

How can I make and ODF for a custom weapon?

Posted: Sat Jan 10, 2015 6:35 am
by superimperial11
Hello. I just wanted to replace the standard clone blaster with OOM-9's carbine variant but it doesn't come with an odf for the weapon for the game to read. So I was wondering, how do I make said odf for the DC-15S blaster carbine?

Re: How can I make and ODF for a custom weapon?

Posted: Sat Jan 10, 2015 6:46 am
by Indytotof
superimperial11 wrote:Hello. I just wanted to replace the standard clone blaster with OOM-9's carbine variant but it doesn't come with an odf for the weapon for the game to read. So I was wondering, how do I make said odf for the DC-15S blaster carbine?

Didn't there is an ODF for this weapon on the BFX's assets ?

Re: How can I make and ODF for a custom weapon?

Posted: Sat Jan 10, 2015 2:53 pm
by superimperial11
Indytotof wrote:
superimperial11 wrote:Hello. I just wanted to replace the standard clone blaster with OOM-9's carbine variant but it doesn't come with an odf for the weapon for the game to read. So I was wondering, how do I make said odf for the DC-15S blaster carbine?

Didn't there is an ODF for this weapon on the BFX's assets ?
I couldn't find BFX assets on these forums.
Edit: Found it. There is no weapon asset.

Re: How can I make and ODF for a custom weapon?

Posted: Sat Jan 10, 2015 3:07 pm
by AQT
A weapon ODF reads the GeometryName and HighResGeometry of a weapon MSH file name, not the other way around. The weapon MSH file is independent of how its ODF functions. Just because you have a carbine model doesn't mean its ODF should function like a carbine.

Re: How can I make and ODF for a custom weapon?

Posted: Sat Jan 10, 2015 3:18 pm
by Indytotof
superimperial11 wrote:
Indytotof wrote:
superimperial11 wrote:Hello. I just wanted to replace the standard clone blaster with OOM-9's carbine variant but it doesn't come with an odf for the weapon for the game to read. So I was wondering, how do I make said odf for the DC-15S blaster carbine?

Didn't there is an ODF for this weapon on the BFX's assets ?
I couldn't find BFX assets on these forums.
Right here: BFX's assets

Have fun !

Re: How can I make and ODF for a custom weapon?

Posted: Sat Jan 10, 2015 3:23 pm
by superimperial11
AQT wrote:A weapon ODF reads the GeometryName and HighResGeometry of a weapon MSH file name, not the other way around. The weapon MSH file is independent of how its ODF functions. Just because you have a carbine model doesn't mean its ODF should function like a carbine.
I just wanted to know how to create one so my clone trooper can use it.

Re: How can I make and ODF for a custom weapon?

Posted: Sat Jan 10, 2015 3:26 pm
by AQT
Have you simply tried taking a stock rifle ODF and editing it to your liking?

Re: How can I make and ODF for a custom weapon?

Posted: Sat Jan 10, 2015 3:30 pm
by superimperial11
AQT wrote:Have you simply tried taking a stock rifle ODF and editing it to your liking?
That is what I was thinking but I wouldn't know what to change.

Re: How can I make and ODF for a custom weapon?

Posted: Sat Jan 10, 2015 3:50 pm
by AnthonyBF2
Place the weapon model and textures in inside of side\msh, then edit the weapon odf of your choice to read the weapon model.

If your weapon model is named "super_duper_gun.msh", then at the top of the odf, you should change the msh it reads to super_duper_gun.msh

Re: How can I make and ODF for a custom weapon?

Posted: Sat Jan 10, 2015 3:52 pm
by superimperial11
anthonybf2 wrote:Place the weapon model and textures in inside of side\msh, then edit the weapon odf of your choice to read the weapon model.

If your weapon model is named "super_duper_gun.msh", then at the top of the odf, you should change the msh it reads to super_duper_gun.msh
Thanks for the help! :thumbs: :D
Edit: Okay, new problem. Game crashes with "FATAL" and "Could not find ONFc_con.lvl" BUT this has nothing to do with the weapon because I haven't done that yet. All I did was change a clone skin, which I had no problems with before.