Page 1 of 1

Light sabers not working in space

Posted: Wed Jul 23, 2014 1:04 am
by jojo3450
So when i put a jedi or a lightsaber unit in space they do no harm why is this and what is the solution

Re: Light sabers not working in space

Posted: Wed Jul 23, 2014 5:47 am
by AQT
You need the memory pool lines for combos. Just take them from a stock conquest script. It's generally the following section of the lua:
Hidden/Spoiler:
[code]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 [/code]

Re: Light sabers not working in space

Posted: Wed Jul 23, 2014 3:52 pm
by jojo3450
Where do I paste this

Re: Light sabers not working in space

Posted: Wed Jul 23, 2014 4:11 pm
by thelegend
In your main lua file: XXXc_cmn for spave above the ReadDataFile lines.