Page 1 of 1
Creating new weapons by using ONLY the odfs?
Posted: Sun Nov 30, 2014 6:54 am
by Jawa26
As the title already says I want to create a weapon by only using the odf.
I want to do that with a lightsabre so I dont want to change any texture.
I have tried copying a lightsabres odf and just changed the name and context inside the odf.
Now when I start the game and select the unit then it says jed_weap_lightsabre_green2 instead of
the original name and I cannot change the combo animations otherwise the game crashes.
It that actually possible or would I have to a completely new texture msh and all the other files?
Jawa 26
Re: Creating new weapons by using ONLY the odfs?
Posted: Sun Nov 30, 2014 2:09 pm
by commanderawesome
Umm...
Outside of localization, there shouldn't be anything else you need to do outside of the ODF stuff. Unless if you want to make some radical change to it's appearance.
Re: Creating new weapons by using ONLY the odfs?
Posted: Sun Nov 30, 2014 3:20 pm
by Noobasaurus
Jawa26 wrote:I have tried copying a lightsabres odf and just changed the name and context inside the odf.
Now when I start the game and select the unit then it says jed_weap_lightsabre_green2 instead of
the original name and I cannot change the combo animations otherwise the game crashes.
This is a very vague explanation of what you did. Please explain what you did in further detail. What parameters did you change exactly in the lightsaber odf and how did you attempt to change the combo animations? Also, what was the error message in the log when the game crashed?
Re: Creating new weapons by using ONLY the odfs?
Posted: Mon Dec 01, 2014 10:24 am
by Jawa26
Lightsabre:
[WeaponClass]
ClassLabel = "melee"
ClassParent = "com_weap_inf_lightsaber"
[Properties]
GeometryName = "rep_weap_inf_lightsabre"
ComboAnimationBank = "human_sabre melee rep_hero_ep3obiwan"
FirePointName = "hp_fire"
LightSaberLength = "1.0"
LightSaberWidth = "0.08"
LightSaberTexture = "violetlightsaber"
LightSaberTrailColor = "189 7 255 128"
That is what I have done inside the odf.
I just copied the normal lightsabre and renamed it.
With these Animations:ComboAnimationBank = "human_sabre melee rep_hero_ep3obiwan"
the game works perfectly and all movements look like the original obiwan animation but when I
change the animations then the game either crashes or the animations look broken (I forgot to mention that).
I thought that maybe the character using the lightsabre has a different animation ,or that he was not designed for some animations.
Now the problem with the error log is that I can't find it. Where can I find the error log?
That is basically all I did.
Jawa 26