Page 1 of 1
Lightsaber Help...
Posted: Sun Apr 27, 2008 2:11 pm
by theultimat
Right. When I put some heros on my map, for some reason the lightsaber attack goes straight through the person I'm trying ot hit...? How do I fix that?
BTW, the weapon hits on saber throw, but not on close combat.
PLEASE HELP!!!
Re: Lightsaber Help...
Posted: Mon Apr 28, 2008 5:48 pm
by Master Fionwë
I wonder...
That is a wierd issue. Did you edit the lightsaber odfs for the heroes at all? It might also just be some munging glitch.
Re: Lightsaber Help...
Posted: Tue Apr 29, 2008 3:34 am
by MandeRek
Sounds like you're playing as them in a space map.. There's the issue at well. Paste some lines from a land-map lua, talking about ComboState, and paste these in your lua. I don't know them by heart, maybe someone else can post them..
Good luck

Re: Lightsaber Help...
Posted: Tue Apr 29, 2008 2:53 pm
by theultimat
Thanks, I will try that out
Edit
... it doesn't work...
EDIT2
Still no luck...
This is the code I copied:
Code: Select all
SetMemoryPoolSize ("ClothData",20)
SetMemoryPoolSize ("Combo",50) -- should be ~ 2x number of jedi classes
SetMemoryPoolSize ("Combo::State",650) -- should be ~12x #Combo
SetMemoryPoolSize ("Combo::Transition",650) -- should be a bit bigger than #Combo::State
SetMemoryPoolSize ("Combo::Condition",650) -- should be a bit bigger than #Combo::State
SetMemoryPoolSize ("Combo::Attack",550) -- should be ~8-12x #Combo
SetMemoryPoolSize ("Combo::DamageSample",6000) -- should be ~8-12x #Combo::Attack
SetMemoryPoolSize ("Combo::Deflect",100) -- should be ~1x #combo
EDIT3
Oh sorry - I fixed it

Re: Lightsaber Help...
Posted: Tue Apr 29, 2008 3:01 pm
by MandeRek
Please man, don't triple post we've got a nice edit button here
How did you fix it? This might help others

Re: Lightsaber Help...
Posted: Mon May 12, 2008 3:07 pm
by theultimat
Sorry about tripple post...
Anyway, here's how you do it. Open your ground maps lua (e.g. ABC*_con) and copy the lines below:
Code: Select all
SetMemoryPoolSize ("ClothData",20)
SetMemoryPoolSize ("Combo",50) -- should be ~ 2x number of jedi classes
SetMemoryPoolSize ("Combo::State",650) -- should be ~12x #Combo
SetMemoryPoolSize ("Combo::Transition",650) -- should be a bit bigger than #Combo::State
SetMemoryPoolSize ("Combo::Condition",650) -- should be a bit bigger than #Combo::State
SetMemoryPoolSize ("Combo::Attack",550) -- should be ~8-12x #Combo
SetMemoryPoolSize ("Combo::DamageSample",6000) -- should be ~8-12x #Combo::Attack
SetMemoryPoolSize ("Combo::Deflect",100) -- should be ~1x #combo
Now open your pace lua called ABC*_Diet Dr. Pepper.lua. Find the line below:
Paste the lines of code from above under that line. Your file should now look like this:
Code: Select all
DisableSmallMapMiniMap()
SetMemoryPoolSize ("ClothData",20)
SetMemoryPoolSize ("Combo",50) -- should be ~ 2x number of jedi classes
SetMemoryPoolSize ("Combo::State",650) -- should be ~12x #Combo
SetMemoryPoolSize ("Combo::Transition",650) -- should be a bit bigger than #Combo::State
SetMemoryPoolSize ("Combo::Condition",650) -- should be a bit bigger than #Combo::State
SetMemoryPoolSize ("Combo::Attack",550) -- should be ~8-12x #Combo
SetMemoryPoolSize ("Combo::DamageSample",6000) -- should be ~8-12x #Combo::Attack
SetMemoryPoolSize ("Combo::Deflect",100) -- should be ~1x #combo
end
Hope that help all you guys out there

.
Re: Lightsaber Help...
Posted: Mon May 12, 2008 4:28 pm
by Maveritchell
You can really put that almost anywhere in ScriptInit. It doesn't look like you did anything different than before, had you just pasted it into the very beginning of the .lua or something?
Re: Lightsaber Help...
Posted: Mon May 26, 2008 12:05 pm
by theultimat
Nope...I put all the combo code in the wrong lua. Stupid me...