A missing jump animation? How to fix that?
Lightsabre Color
Moderator: Moderators
-
Coley
- Sergeant Major

- Posts: 249
- Joined: Sun Aug 09, 2009 11:27 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Germany
Lightsabre Color
I tried to change the color of a lightsaber, and It seems it works, but when I try to make a sprint attack, the characterbecomes very slow for a time and if I try to make a jumpattack the game crashs.
A missing jump animation? How to fix that?
A missing jump animation? How to fix that?
-
mswf
- Master Bounty Hunter

- Posts: 1674
- Joined: Tue Mar 31, 2009 3:40 pm
- Location: Twello, The Netherlands
- Contact:
Re: Lightsabre Color
Error log, please
My first guess is that you made a mistake in your lightsaber .odf, try using a new one and apply the changes to the colour. It'd be best if you'd give the error log first though.
My first guess is that you made a mistake in your lightsaber .odf, try using a new one and apply the changes to the colour. It'd be best if you'd give the error log first though.
- sampip
- General

- Posts: 792
- Joined: Mon Mar 16, 2009 12:08 pm
- Projects :: Something big. And exciting.
- xbox live or psn: masowner66
- Location: Zebra
Re: Lightsabre Color
What did you do to edit the colour of the lightsaber? All it requires is a change of skin and a different glow and trail colour in the odf.
-
computergeek
- General

- Posts: 770
- Joined: Thu Jun 07, 2007 6:26 pm
- Projects :: Halo Warthog vehicle for SWBF2
- xbox live or psn: No gamertag set
- Location: Far Far away....
Re: Lightsabre Color
Check the trail color and see if it is ok, my guess is that it was messed up, as the saber has a trail on the jump attack and sprint.sampip wrote:All it requires is a change of skin and a different glow and trail colour in the odf.
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Lightsabre Color
The color has nothing to do with the crash. Either you messed up and deleted a few reference lines in the saber's odf or your combo memory pools aren't high enough.
-
Coley
- Sergeant Major

- Posts: 249
- Joined: Sun Aug 09, 2009 11:27 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Germany
Re: Lightsabre Color
Erm. It´s a bit complicated.
If I play it in-game, it crashs.
If I run it in the errorlog, just the graphic of the jump is "crashed".
It looks like you jump between yourself.
So I don´t get an errorlog.
If I play it in-game, it crashs.
If I run it in the errorlog, just the graphic of the jump is "crashed".
It looks like you jump between yourself.
So I don´t get an errorlog.
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Lightsabre Color
I'm afraid I couldn't quite understand you. You did play the map in the debuging utility, right? As written in the FAQ? And the error log is BF2log.txt?
-
mswf
- Master Bounty Hunter

- Posts: 1674
- Joined: Tue Mar 31, 2009 3:40 pm
- Location: Twello, The Netherlands
- Contact:
Re: Lightsabre Color
I think hes's saying that when he plays as that unit with the normal .exe he crashes and when he plays it in the debug mode the unit doesn't crash, but freezes in movement when doing a jump-attack.
Did I understand that right Coley? If so, I suggest you try to reverse-engineer what you changed to the .odf and see when your unit starts working again. (or you could start with a fresh original from the assets and then redo your changes)
Did I understand that right Coley? If so, I suggest you try to reverse-engineer what you changed to the .odf and see when your unit starts working again. (or you could start with a fresh original from the assets and then redo your changes)
-
Coley
- Sergeant Major

- Posts: 249
- Joined: Sun Aug 09, 2009 11:27 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Germany
Re: Lightsabre Color
I don´t get an errorlog.
The game just crashes in the game.
With the thing where I get the errorlog it doesn´t crash....
there looks the person just annoying.
I try to make a pic. Can I make screenshots in the nomodtools?
EDIT
You understand it.
In the debug mode it doesn´t freeze it, it looks like a...big rubbish? xD
But let´s say it freezes... I copypasted the odf, req, mshs, tgas, options but it still doesn´t work...
EDIT
Maybe not a lightsabre fail.
I tried it with obiwan now and it happens the same.
With the cis hero everything works.
What could THAT be?
The game just crashes in the game.
With the thing where I get the errorlog it doesn´t crash....
there looks the person just annoying.
I try to make a pic. Can I make screenshots in the nomodtools?
EDIT
You understand it.
In the debug mode it doesn´t freeze it, it looks like a...big rubbish? xD
But let´s say it freezes... I copypasted the odf, req, mshs, tgas, options but it still doesn´t work...
EDIT
Maybe not a lightsabre fail.
I tried it with obiwan now and it happens the same.
With the cis hero everything works.
What could THAT be?
-
mswf
- Master Bounty Hunter

- Posts: 1674
- Joined: Tue Mar 31, 2009 3:40 pm
- Location: Twello, The Netherlands
- Contact:
Re: Lightsabre Color
Did you try raising the memorypools of your .lua and did you make sure you really included ALL of the necessary animations?
Oh and FYI, the "thing were you get the errorlog" is called the "modtools" or the "debug version of the game". (using those terms helps keeping away from misunderstandings, one of the most common things on the net
)
Oh and FYI, the "thing were you get the errorlog" is called the "modtools" or the "debug version of the game". (using those terms helps keeping away from misunderstandings, one of the most common things on the net
Last edited by mswf on Tue Jan 26, 2010 12:54 pm, edited 1 time in total.
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Lightsabre Color
Is the CIS hero a melee-user? It sounds like your memory pools aren't high enough. Memory pools being too low most certainly can hurt your map. Some don't cause a crash, some do, but it's better to be on the safe side and fill in even the memory pools that aren't supposed to cause crashes.
Last edited by Fiodis on Tue Jan 26, 2010 12:55 pm, edited 1 time in total.
-
Coley
- Sergeant Major

- Posts: 249
- Joined: Sun Aug 09, 2009 11:27 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Germany
Re: Lightsabre Color
What do you mean with included shouldn´t they be in?
And the memorypools:
I thought they doesn´t hurt anything?
(BF2 errorlogs explained)
But then I will search a way to raise
EDIT thanks mswf. debug, remember, debug...^^
so i raise like this?
SetMemoryPoolSize("SoldierAnimation", 500)
And the memorypools:
I thought they doesn´t hurt anything?
(BF2 errorlogs explained)
But then I will search a way to raise
EDIT thanks mswf. debug, remember, debug...^^
so i raise like this?
SetMemoryPoolSize("SoldierAnimation", 500)
Last edited by Coley on Tue Jan 26, 2010 12:56 pm, edited 1 time in total.
-
mswf
- Master Bounty Hunter

- Posts: 1674
- Joined: Tue Mar 31, 2009 3:40 pm
- Location: Twello, The Netherlands
- Contact:
Re: Lightsabre Color
In your mode .lua, you can find a part where it saying:
soldieranimationpool = number
comboanimationpool = number
etc. (I can't check if I used the right terms, just look for something similar)
Then, if you found the thingy with the "combo", try raising the number behind that one (from 50 to 200 for example, you wouldn't want to overdo it
)
EDIT:
Oh, you reply to quick
Yes, you're right, raise that one.
soldieranimationpool = number
comboanimationpool = number
etc. (I can't check if I used the right terms, just look for something similar)
Then, if you found the thingy with the "combo", try raising the number behind that one (from 50 to 200 for example, you wouldn't want to overdo it
EDIT:
Oh, you reply to quick
Yes, you're right, raise that one.
-
Coley
- Sergeant Major

- Posts: 249
- Joined: Sun Aug 09, 2009 11:27 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Germany
Re: Lightsabre Color
Okay, try.
Doesn´t work.
Should I put a higher number in?
Not 500....maybe 1000? xD
Doesn´t work.
Should I put a higher number in?
Not 500....maybe 1000? xD
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Lightsabre Color
Wrong memory pool. Check out a stock eli LUA (Hero assault). Look at the memory pool lines in the beginning of the ScriptInit section.
-
Coley
- Sergeant Major

- Posts: 249
- Joined: Sun Aug 09, 2009 11:27 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Germany
Re: Lightsabre Color
and?
Hidden/Spoiler:
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Lightsabre Color
Fiodis wrote:Look at the memory pool lines in the beginning of the ScriptInit section.
-
Coley
- Sergeant Major

- Posts: 249
- Joined: Sun Aug 09, 2009 11:27 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Germany
Re: Lightsabre Color
SOrry
EDIT
À la?
Hidden/Spoiler:
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Lightsabre Color
Yep; but only the ones with "combo" in them.
-
Coley
- Sergeant Major

- Posts: 249
- Joined: Sun Aug 09, 2009 11:27 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Germany
Re: Lightsabre Color
So I have to delete the clothes line? xD
