Page 1 of 1

Custom Saber issue [Solved]

Posted: Wed Sep 17, 2008 10:32 pm
by jedimoose32
now that I have learned some xsi i am trying to make some custom models and learn the ropes a bit
now i made a reverse hilt lightsaber today and gave it to obi-wan
but the only thing that works about it is block and saber throw
all the anims are fine, but no damage is happening or any spark effects
i'm guessing there is something in the combo file that needs tweaking?

Re: Custom Saber issue

Posted: Thu Sep 18, 2008 8:44 am
by woner11
Someone else made a reverse lightsaber, I beleive Fragme or Ace, but I'm not sure. Anyways, I bet you could find that in the released asests forum and compare your odf to that one and your combo to his.

Re: Custom Saber issue

Posted: Thu Sep 18, 2008 1:03 pm
by MetalcoreRancor
Did you give the lightsaber a firepoint or hardpoint for the deflect coding and damage to be dealt with? it's got nothing to do with Combo, its all about your lightsabre odf.

Re: Custom Saber issue

Posted: Thu Sep 18, 2008 1:58 pm
by FragMe!
You will have to rotate the hp_fire (or whatever you called it) so it lines up with way you have the saber pointing.
If you find it too hard to tell using the default cross for nulls you can change it by selecting the null in XSI tree, press enter and a pop up will allow you to change how the null is displayed. The one arrow on is good as, if I remember correctly it points down the Z axis which is what you want for the hp

Re: Custom Saber issue

Posted: Wed Sep 24, 2008 10:57 am
by jedimoose32
yeah, i'll try comparing to the released one
firepoints should be fine, and the rotation is good
the blade shows up and swings but no damage
do i need to change something in the parent odf? so far i've only changed the rep_weap_lightsabre_obiwan.odf file.

Re: Custom Saber issue

Posted: Wed Sep 24, 2008 2:15 pm
by Frisbeetarian
Anything in the child ODF will override the parent ODF. Thus if you put a modifier in the child ODF, it will overwrite the same modifier in the parent ODF, making it so that you should not need to edit the parent ODF.

Re: Custom Saber issue

Posted: Wed Sep 24, 2008 10:42 pm
by jedimoose32
okay, so what line must i add?

Re: Custom Saber issue

Posted: Thu Sep 25, 2008 7:43 am
by MercuryNoodles
Look at your lua.

Code: Select all

SetMemoryPoolSize("Combo::DamageSample", 0)
You need to give that a non-zero value for the saber to do damage. I knew there was a reason I made note of that in the other thread. O_o

Code: Select all

 SetMemoryPoolSize ("Combo",20)              -- should be ~ 2x number of jedi classes
    SetMemoryPoolSize ("Combo::State",300)      -- should be ~12x #Combo
    SetMemoryPoolSize ("Combo::Transition",300) -- should be a bit bigger than #Combo::State
    SetMemoryPoolSize ("Combo::Condition",300)  -- should be a bit bigger than #Combo::State
    SetMemoryPoolSize ("Combo::Attack",150)     -- should be ~8-12x #Combo
    SetMemoryPoolSize ("Combo::DamageSample",1800)  -- should be ~8-12x #Combo::Attack
    SetMemoryPoolSize ("Combo::Deflect",50)
That's straight out of the mission lua guide. You'll need those, though you might want to refer to one of the game's luas to see how they set the values.

Re: Custom Saber issue

Posted: Sun Sep 28, 2008 6:18 pm
by jedimoose32
yay it worked!! :shock:
thanks
**LOCK PLEASE**