Game Freezing [Solved]

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
bokkenblader56
Private First Class
Posts: 85
Joined: Mon Aug 04, 2008 7:20 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: South Carolina
Contact:

Game Freezing [Solved]

Post by bokkenblader56 »

Well, I finally got my map working and my unit in-game. Overall it's pretty bad, but for me that's an improvement. Anyway, the (new) problem that I have is that the game keeps freezing up temporarily. It's almost like lag. I've done some experimentation and it seems that it mostly happens when my reticule is somewhat aimed at the sky. I've added the following lines to the lua file after reading BFront2.log

Code: Select all

SetMemoryPool ("SoldierAnimation",200)
Thanks in advance for any help given.

EDIT
Anybody, please? I really need to resolve this.
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Game Freezing

Post by DarthD.U.C.K. »

can you post your bf2log?
NO doubleposts please
bokkenblader56
Private First Class
Posts: 85
Joined: Mon Aug 04, 2008 7:20 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: South Carolina
Contact:

Re: Game Freezing

Post by bokkenblader56 »

Hidden/Spoiler:
[code]Opened logfile BFront2.log 2008-10-30 1555
shell_interface: Entered
shell_interface: Reading in custom strings
ifs_era_handler - Entered
ifs_era_handler - Exited
custom_GetSPMissionList()
custom_GetMPMissionList()
custom_EraButtonList(): Building era button table
custom_EraButtonList(): Finished building era button table Known eras buttons: 28
custom_GetGMapEras(): Building era table
custom_GetGMapEras(): Finished building era table Known eras: 28
custom_GetGMapModes(): Building game mode table
custom_GetGMapModes(): Finished building game mode table Known Modes: 38
custom_GetMPGameModeList(): Building game mode list table
custom_GetMPGameModeList(): Finished building game mode list table List Length: 39
custom_SetMovieLocation()
custom_AddEraBoxes()
custom_SetMovieLocation()
custom_AddEraBoxes()
ingame stream movies\crawl.mvs
shell_interface: Opening movie: movies\shell.mvs
shell_interface: Leaving
prev = none iLastPage = nil
prev = texture iLastPage = 1
prev = texture iLastPage = 2
prev = texture iLastPage = 3
ifs_legal.Exit

ifs_saveop_DoOps LoadFileList
ifs_saveop_DoOps LoadFileList
ifs_saveop_DoOps LoadProfile
ifs_saveop_DoOps LoadProfile
ifs_missionselect_pcMulti_fnSetMapPreview(): Defaulting index to 1
Checkbox for check_era7 clicked
this.CurButton = check_era7
cur_button = nil
custom_AddMapNew()
custom_printTable(): table: 03CC116C
The key, value is: era_g 1
The key, value is: isModLevel 1
The key, value is: mode_con_g 1
The key, value is: bSelected 1
The key is mapluafile, the formated value is: 123<A>_<B>
custom_printTable(): Returning
custom_printTable(): table: 03CC66CC
The key, value is: key mode_con
The key, value is: subst con
The key, value is: showstr modename.name.con
The key, value is: descstr modename.description.con
The key, value is: icon mode_icon_con
custom_printTable(): Returning
gMapEras.key = era_g Era = era_g subst = g
Adding map: 123g_con idx: 1
this.CurButton = _map_add

Message Severity: 2
.\Memory\RedMemoryPool.cpp(317)
Memory pool "ClothData" set item count after being allocated

Message Severity: 2
.\Source\VOHelper.cpp(196)
unknown VO type: SpottedVO


Message Severity: 2
.\Source\VOHelper.cpp(196)
unknown VO type: NeedRepairVO


Message Severity: 2
.\Source\VOHelper.cpp(196)
unknown VO type: NeedPickupVO


Message Severity: 2
.\Source\VOHelper.cpp(196)
unknown VO type: NeedBackupVO


Message Severity: 2
.\Source\VOHelper.cpp(196)
unknown VO type: DefendPositionVO


Message Severity: 2
.\Source\VOHelper.cpp(196)
unknown VO type: SpottedVO


Message Severity: 2
.\Source\VOHelper.cpp(196)
unknown VO type: NeedRepairVO


Message Severity: 2
.\Source\VOHelper.cpp(196)
unknown VO type: NeedPickupVO


Message Severity: 2
.\Source\VOHelper.cpp(196)
unknown VO type: NeedBackupVO


Message Severity: 2
.\Source\VOHelper.cpp(196)
unknown VO type: DefendPositionVO


Message Severity: 2
.\Graphics\Pc\pcRedTexture.cpp(553)
Texture 'a295' [2dbb7264] uses 1.33 MB

Message Severity: 2
.\Graphics\Pc\pcRedTexture.cpp(553)
Texture 'a295' [2dbb7264] uses 1.33 MB

Message Severity: 2
.\Source\EntityGeometry.cpp(1058)
Entity "com_weap_veh_guided_rocket_ord" unknown terrain collision "p_front_sphere"

Message Severity: 2
.\Source\EntityGeometry.cpp(1073)
Entity "com_weap_veh_guided_rocket_ord" unknown vehicle collision "p_front_sphere"

Message Severity: 2
.\Source\EntityGeometry.cpp(1065)
Entity "com_weap_veh_guided_rocket_ord" unknown building collision "p_front_sphere"

Message Severity: 2
.\Source\EntityGeometry.cpp(1051)
Entity "com_weap_veh_guided_rocket_ord" unknown targetable collision "CollisionMesh"

Message Severity: 2
.\Source\EntityGeometry.cpp(1058)
Entity "com_weap_award_rocket_launcher_" unknown terrain collision "p_front_sphere"

Message Severity: 2
.\Source\EntityGeometry.cpp(1073)
Entity "com_weap_award_rocket_launcher_" unknown vehicle collision "p_front_sphere"

Message Severity: 2
.\Source\EntityGeometry.cpp(1065)
Entity "com_weap_award_rocket_launcher_" unknown building collision "p_front_sphere"

Message Severity: 2
.\Source\EntityGeometry.cpp(1051)
Entity "com_weap_award_rocket_launcher_" unknown targetable collision "CollisionMesh"


Message Severity: 2
.\Source\EntityGeometry.cpp(1065)
Entity "com_weap_inf_remotedroid_ord" unknown building collision "p_buildingsphere"

Message Severity: 2
.\Source\EntityGeometry.cpp(1073)
Entity "com_weap_inf_remotedroid_ord" unknown vehicle collision "p_buildingsphere"

Message Severity: 2
.\Source\EntityGeometry.cpp(1089)
Entity "com_weap_inf_remotedroid_ord" unknown ordnance collision "p_sphere"

Message Severity: 2
.\Source\EntityGeometry.cpp(1081)
Entity "com_weap_inf_remotedroid_ord" unknown soldier collision "p_sphere"

Message Severity: 2
.\Source\VOHelper.cpp(196)
unknown VO type: SpottedVO


Message Severity: 2
.\Source\VOHelper.cpp(196)
unknown VO type: NeedRepairVO


Message Severity: 2
.\Source\VOHelper.cpp(196)
unknown VO type: NeedPickupVO


Message Severity: 2
.\Source\VOHelper.cpp(196)
unknown VO type: NeedBackupVO


Message Severity: 2
.\Source\VOHelper.cpp(196)
unknown VO type: DefendPositionVO


Message Severity: 2
.\Source\VOHelper.cpp(196)
unknown VO type: SpottedVO


Message Severity: 2
.\Source\VOHelper.cpp(196)
unknown VO type: NeedRepairVO


Message Severity: 2
.\Source\VOHelper.cpp(196)
unknown VO type: NeedPickupVO


Message Severity: 2
.\Source\VOHelper.cpp(196)
unknown VO type: NeedBackupVO


Message Severity: 2
.\Source\VOHelper.cpp(196)
unknown VO type: DefendPositionVO

uf_updateClassIndex(): Added class: all_inf_rifleman
uf_updateClassIndex(): Added class: all_inf_rocketeer
uf_updateClassIndex(): Added class: all_inf_sniper
uf_updateClassIndex(): Added class: all_inf_engineer
uf_updateClassIndex(): Added class: all_inf_officer
uf_updateClassIndex(): Added class: all_inf_wookiee
uf_updateClassIndex(): Added class: ker_inf_kerubim

Message Severity: 2
.\Source\SkyManager.cpp(122)
Skyfile FarSceneRange is in old format
ifs_sideselect_fnEnter(): Map does not support custom era teams
ifs_sideselect_fnEnter: The award settings file does not exist[/code]


DarthD.U.C.K. wrote:NO doubleposts please


No offense, but you didn't notice it until I did...
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Game Freezing

Post by DarthD.U.C.K. »

you can also delete a post, if you notice that you have doubleposted :D
did you change the sky file?
bokkenblader56
Private First Class
Posts: 85
Joined: Mon Aug 04, 2008 7:20 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: South Carolina
Contact:

Re: Game Freezing

Post by bokkenblader56 »

Nope, it's the default Yavin sky. It only happens for the weapons that fire salvos, and they both have green ordnance.
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: Game Freezing

Post by Teancum »

That might be due to an effect. Make sure that your odfs can find all the effects they need, and that your .fx files have all the TGA files they need (they open with notepad)
Aman/Pinguin
Jedi
Jedi
Posts: 1104
Joined: Tue Jan 30, 2007 6:04 am
Projects :: Inactive
Location: Germany

Re: Game Freezing

Post by Aman/Pinguin »

Did you change the fire range for those weapons? If they are set too high the game starts lagging in some cases.
bokkenblader56
Private First Class
Posts: 85
Joined: Mon Aug 04, 2008 7:20 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: South Carolina
Contact:

Re: Game Freezing

Post by bokkenblader56 »

Teancum wrote:That might be due to an effect. Make sure that your odfs can find all the effects they need, and that your .fx files have all the TGA files they need (they open with notepad)
Yep, everything's there.

Aman/Pinguin wrote:Did you change the fire range for those weapons? If they are set too high the game starts lagging in some cases.
Yes, I changed one of those weapons to a very long range. I'll try halving it and see if the problem continues.

*EDIT* Ok, I've halved the range several times over, even to the point that the range was an eighth of its original value. No change. I also tried changing it so that there was only one one-shot salvo. Still nothing. Of course, all of this was changed in the main weapon ODF file. I haven't tried changing anything in the ordnance file. Should I change it so that the max range in the main ODF file is the same (Velocity)*(Lifespan) in the ordnance file? Or is there something else I need to do?
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Game Freezing

Post by DarthD.U.C.K. »

you can try to load the shipped side in your lua, if it still crashes/freezes then its not a side-related problem
bokkenblader56
Private First Class
Posts: 85
Joined: Mon Aug 04, 2008 7:20 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: South Carolina
Contact:

Re: Game Freezing

Post by bokkenblader56 »

It's not a shipped side, it's a completely new one...I think that's what you meant; please correct me if I'm wrong.
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Game Freezing

Post by DarthD.U.C.K. »

i mean: load a shipped side instead of your custom side in your lua
bokkenblader56
Private First Class
Posts: 85
Joined: Mon Aug 04, 2008 7:20 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: South Carolina
Contact:

Re: Game Freezing

Post by bokkenblader56 »

Alright, I finally solved this by reducing the Lifespan in the Ordnance ODF. I still can't use too many shots per salvo, but the weapon's working without lag. Thanks for the help.
Post Reply