Page 1 of 1
[Help] Exporting
Posted: 2012-05-20 08:35
by Hulabi
I'm trying to learn how to export/import stuff into the game and i thought i'd start with a knife.
So i exported the knife from 3ds max into the editor and i can open the knife in ObjectEditor just fine (i think..)
But when i try to open it in AnimationEditor (to check if the size is correct etcetc.) I get this error:
Could someone tell me what's wrong? Would be much appreciated.
Re: [Help] Exporting
Posted: 2012-05-20 09:42
by rPoXoTauJIo
itemIndex -1 ? "everywhere in kit" weapon
I think you need to fix this ^ line in .tweak file manually. X - position of weapon in kits.
Example:
All knifes have itemIndex=1, they all have first position in kits.
Re: [Help] Exporting
Posted: 2012-05-20 14:40
by Hulabi
It's in the animation editor now and the scale is good, but i can't turn it the right way? :/ I tried to turn it 180 degrees in 3ds max and re-export it to editor but that didn't work.

Re: [Help] Exporting
Posted: 2012-05-20 14:55
by Amok@ndy
you need to remove all those helpers, turn it and then rerun the script for the helpers
Re: [Help] Exporting
Posted: 2012-05-20 17:31
by Hulabi
I removed all of the helpers, turned the knife and its LODs 180 degrees, put all the helpers back and linked them correctly:
Then i exported it to editor but it still hasn't turned, what's wrong?
Re: [Help] Exporting
Posted: 2012-05-20 17:54
by temexter
Is it okay to take kni_knife / kni_kabar or gerkni_km2000 .tweak file and mofify the name and content in text editor? Or can it be done inside bf2editor?
Regarding animations, why does gerkni_km2000 use animations from two knives?
Code: Select all
ObjectTemplate.animationSystem1P Objects/Weapons/Handheld/KNI_Knife/AnimationSystem1p.inc
ObjectTemplate.animationSystem3P Objects/Weapons/Handheld/KNI_kabar/AnimationSystem3p.inc
How about correcting the texture file paths in bundlemesh, is it ok to use bfMeshView (as after export they point to exporters folder structure, not /objects/weapons/handheld/knifi_sissipuukko/textures...)?
Just asking as i have got no clue about procedures

Re: [Help] Exporting
Posted: 2012-05-20 18:54
by temexter
Another one: can i rely on reaload object / reload geometry or do i have to close bf2editor if bundlemesh is changed? What's the difference between those two?
e: btw, fikni_sissipuukko works ingame - upside down

Re: [Help] Exporting
Posted: 2012-05-20 20:07
by Amok@ndy
1. yeah you can use one of the knifes .tweaks as a base for your code
2. dunno about the animations
3. your exporter should setup his MAX Tools for export properly so the texture paths will automatically be right
4. Reload Geometry should be fine though after finishing everything check it twice
Re: [Help] Exporting
Posted: 2012-05-20 20:36
by temexter
Thanks again @ndy!
Re: [Help] Exporting
Posted: 2012-06-02 12:38
by Hauteclocque
Does it work now ?
I'm in LOA atm, but if you have questions regarding export, just ask me.

Re: [Help] Exporting
Posted: 2012-06-02 13:40
by Hulabi
Yes, the knife is ingame now and works great.
