SP Mod help... -1 reply

Please wait...

JaedenRuiner

Crazy Coding SP Guy...

50 XP

27th December 2002

0 Uploads

168 Posts

0 Threads

#1 14 years ago

Well,

This has been a long arduous process that is seemingly neverending, however, I do see the light at the end of the tunnel. (If only JKA would stop @#$@#$ with me, i'd have it done. :chuckle: )

Anyway, I have the MOD pretty much wrapped up, i'm just tying off the final loose ends when I am starting to get these really strange errors, which of course crash the game, and I get a "send error report to microsoft" in XP. *blah*. So what I have here is the list of MENU files i have added/changed:

character.menu ingame.menu ingameforceLightDark.menu (added) ingameforceneutral.menu (added) ingameforcestatus.menu ingamegototier.menu ingamemissionselect1.menu ingamemissionselect2.menu ingamemissionselect3.menu ingamemissionselect.menu ingamewpnselect.menu missionfailed.menu newgame.menu mewgame_first.menu saber.menu saberstyle.menu ingame.txt

Okay, yes a lot of MENU hacking has been going on, but I think some SP players might really enjoy what i've done, and how it all works. And then suddenly I get this: Loading... jedi_19 ------ Server Initialization ------ JA: v1.0.1.0 win-x86 Oct 24 2003 Server: hoth3 Loading shader text ..... ..... 3621 shader definitions loaded ------- Game Initialization ------- gamename: base gamedate: Oct 24 2003 WARNING: Event out of range on BOTH_DUAL_TAUNT in models/players/_humanoid/animevents.cfg ----------------------------------- ----------------------------------- R_LoadMDXM: converting jk2 model models/players/jedi_dv/model.glm Done. R_LoadMDXM: converting jk2 model models/players/jedi_dv/model.glm ...loaded 12462 faces, 365 meshes, 30 trisurfs, 54 flares Skipping cinematic... Skipping cinematic... ------ Server Initialization ------ JA: v1.0.1.0 win-x86 Oct 24 2003 Server: academy3 ------- Game Initialization ------- gamename: base gamedate: Oct 24 2003 WARNING: Event out of range on BOTH_DUAL_TAUNT in models/players/_humanoid/animevents.cfg ----------------------------------- ----------------------------------- R_LoadMDXM: converting jk2 model models/players/jedi_dv/model.glm ...loaded 432 faces, 0 meshes, 0 trisurfs, 0 flares Skipping cinematic... UI_Alloc: Failure. Out of memory! UI_Alloc: Failure. Out of memory! WARNING: Couldn't parse item keyword 'lineHeight' Line #1293 of File 'ui/ingameMissionSelect2.menu' WARNING: Couldn't parse menu keyword lineHeight as itemDef Line #1293 of File 'ui/ingameMissionSelect2.menu' WARNING: Invalid keyword '18' Line #1293 of File 'ui/ingameMissionSelect2.menu' WARNING: Invalid keyword 'visible' Line #1294 of File 'ui/ingameMissionSelect2.menu' WARNING: Invalid keyword '0' Line #1294 of File 'ui/ingameMissionSelect2.menu' WARNING: Invalid keyword 'autowrapped' Line #1295 of File 'ui/ingameMissionSelect2.menu' ]condump MenuError.txt Dumped console text to MenuError.txt.

JEDI_19 is the savegame at the door just before you Fight Alora on Hoth3. After she is defeated Academy3 map is loaded up, where you are promoted to Jedi Apprentice (And originally got level 2 Neutral Powers). When the cinematic is over the first menu you see, is the: SaberStyle.menu file, where you could add a new saber style. This is the same, i've just made modifications to it. When you select OKAY in that menu, you proceed to the ingameGotoTier.menu file whish shows C3PO talking to you about your next set of missions found in the ingameMissionSelect2.menu file. As you can see from my condump above, I am suddenly (upon the load of ingameGotoTier.menu) recieving this UI_Alloc: Failure. Out of memory! message, and the next menu that "would" be loaded (ingamemissionselect2.menu) is nolonger "parsed" correctly.

However, when I remove my most recently added "menu" (that is scripted correctly, just adds several more "itemDefs" to the script) the Mod works fine with no errors. Is there a user interface memory cap or something? (i know that you have to have less than 150 itemDefs per menu, but that is a different warning message alltogether in the console).

I'm not sure if anyone can help, i'm just posting on the off chance other SP Total Conversion modders have dealt with this issue before.

Thanks

Jaeden "Sifo Dyas" al'Reac Ruiner




GothiX

No Time to Cry

50 XP

18th September 2003

0 Uploads

1,290 Posts

0 Threads

#2 14 years ago

You're getting a failed UI_Alloc error, meaning you've ran out of physical memory. Did you do something extremely complex to the menu's?




JaedenRuiner

Crazy Coding SP Guy...

50 XP

27th December 2002

0 Uploads

168 Posts

0 Threads

#3 14 years ago

GothiXYou're getting a failed UI_Alloc error, meaning you've ran out of physical memory. Did you do something extremely complex to the menu's?[/QUOTE]

Well, Yea.

The question is what specifically is causing the error. I can do a run down of what I've basically done here, so it might be easier to understand my glitch. My question is, how could i run out of physical memory when:

1GB physical System RAM com_hunkmegs 384 r_modelpoolmegs 96 s_soundmegs 48

Anyway, this is what I did

character.menu -> Added handling, so that this menu could be called from the "ingame" ESC menu. Allowing the player to change skin (not model), as well as adding a scripting function to ingame (while playing) toggle between robed and non-robed skins.

ingame.menu -> Added the Menu Item to call the character.menu from ingame.

ingameforceLightDark.menu (added) -> Set up functionality to handle multiple-force-point distribution of ONLY Light and Dark powers. (split from the original ingameForceSelect.menu)

ingameforceneutral.menu (added) -> Set up functionality to handle multipl-force-point distribution of ONLY Neutral powers. (split from original ingameForceSelect.menu) Also added functionality to maniuplate the SaberOffense increment for adding additional Styles ingame (ie: Tavion & Desann handled from ingameWpnSelect.menu)

Both Force menus have added item to toggle between them, and the ForcePoints are linked. ingamegototier.menu ingamemissionselect.menu -> These menus are called at the "end" of a mission, through which my force point distribution system is affected by "secret areas found" (cvar: ui_stats_secretsfound)

ingamemissionselect1.menu ingamemissionselect2.menu ingamemissionselect3.menu -> Set up force point distribution code, so that upon calling the "forceSelect" menus the appropriate points are set in advance.

ingamewpnselect.menu -> Added additional menu items for calling SaberStyle.menu for updated Style information. Upon increase of SaberOffense in ingameForceNeutral.menu this item is available to add a new style to the player.

missionfailed.menu -> Added code to make sure my force point distribution is set to the appropriate point set up for the "decremented" force point. (just one line of code added is all).

newgame.menu mewgame_first.menu -> updated so when calling the Character.menu system knows it is running a "new game" not the "ingame" calling.

saber.menu -> Updated to handle Multiple additional Saber Hilts, as well as Additional Styles.

saberstyle.menu -> updated to handle pre-mission selection of additional style (upon saber offense increase) as well as handling the added style information. This is completely rewritten instead of using original cvar: ui_fightingstylesallowed new styles information: // SABER STYLE MENU - called from in game - allows player to change saber fighting style // Styles Available Sytles Currently Posessed // 0 - none // 1 - Forced to take Fast (Medium, Heavy, Tavion, Desann) // 2 - Forced to take Medium (Fast, Heavy, Tavion, Desann) // 3 - Forced to take Strong (Fast, Medium, Tavion, Desann) // 4 - Forced to take Tavion (Fast, Medium, Heavy, Desann) // 5 - Forced to take Desann (Fast, Tavion, Medium, Heavy) // 6 - Medium & Heavy (Fast, Tavion, Desann) // 7 - Fast & Heavy (Medium, Tavion, Desann) // 8 - Fast & Medium (Heavy, Tavion, Desann) // 9 - Tavion & Fast (Medium, Heavy, Desann) // 10- Tavion & Medium (Fast, Heavy, Desann) // 11- Tavion & Heavy (Fast, Medium, Desann) // 12- Tavion & Desann (Fast, Medium, Heavy) // 13- Desann & Fast (Tavion, Medium, Heavy) // 14- Desann & Medium (Fast, Tavion, Heavy) // 15- Desann & Heavy (Fast, Tavion, Medium) // 16- Fast & Medium & Heavy (Tavion, Desann) // 17- Tavion & Desann & Fast (Medium, Heavy) // 18- Tavion & Fast & Heavy (Medium, Desann) // 19- Desann & Fast & Heavy (Tavion, Medium) // 20- Tavion & Desann & Heavy (Fast, Medium) // 21- Tavion & Medium & Heavy (Fast, Desann) // 22- Desann & Medium & Heavy (Fast, Tavion) // 23- Tavion & Desann & Medium (Fast, Heavy) // 24- Tavion & Fast & Medium (Heavy, Desann) // 25- Desann & Fast & Medium (Tavion, Heavy) // 26- Tavion & Desann & Fast & Heavy (Medium) // 27- Tavion & Desann & Medium & Heavy (Fast) // 28- Tavion & Desann & Fast & Medium (Heavy) // 29- Desann & Fast & Medium & Heavy (Tavion) // 30- Tavion & Fast & Medium & Heavy (Desann)

ingame.txt -> simple addition of new menus for the INGAME menu list.

All of this works. It has worked off and on, and I've had to tweak it MANY times. However, in all recent tests I have found it to be completely functional, with no errors or bugs.

Then i just recently added: ingameforcestatus.menu

This is called Before you return the academy at Hoth and Vjun and Taspir etc, where luke or kyle call you "darkside mo-fo" or "Light-side brother" and i added functionality to:

-Stop current Dialog channel. (cmd: stopVoice) New Buttons based on cvar: ui_forcestatus vdl,vdk - Very Dark luke/kyle sdl,sdk - Semi Dark Luke/Kyle ntl,ntk - Neutral Luke/Kyle sll,slk - Semi Light Luke/Kyle vll,vlk - Very Light Luke/Kyle These buttons affect: Force Sense(Light) and Saber Throw(Dark) Start Dialog. (cmd: playvoice "sound/chars/kyle/misc/mkyk_01.mp3" etc) Display Subtitle Text. Show StoryInfo "Okay" buttons

OkayButtons - Start appropriate Academy# map (Academy2 - Hoth, Academy4 - Vjun, Academy6 - Taspir)

This funcitonality I've used before in different settings, so The only really complex thing i've done is add quite a few ItemDefs {} to the menu structures, with a lot of show/hide commands based upon Cvars. I would have expected it to handle them as long as I didn't over run the 150 itemdefs per menu. *shrug*.

lemme know if this helps narrow down the possibility of me doing: [Quote=GothiX] ...something extremely complex to the menu's?

:chuckle:

thanks Jaeden "Sifo Dyas" al'Raec Ruiner