[HELP] USA FLag causing CTD

Making or wanting help making your own asset? Check in here
Post Reply
DeltaFart
Posts: 2409
Joined: 2008-02-12 20:36

[HELP] USA FLag causing CTD

Post by DeltaFart »

Ok, since I been playing PRSP for awhile I have been wanting to play Basrah with the US Army on it. Well I've modified it as much as I wish to but I still have some issues here. My screenshot is what shows up when I try to play the game out. IF you want my init.con or anything else to see what can be done I'll look for it


(BTW its the old basrah, the one with teh gas station instead of VCP)
You do not have the required permissions to view the files attached to this post.
HughJass
Posts: 2599
Joined: 2007-10-14 03:55

Re: [HELP]USA FLag causing CTD

Post by HughJass »

first of all, tell us what you did to try and get the army in. it would be easier to point out whats going on
Image
CodeRedFox
Retired PR Developer
Posts: 5919
Joined: 2005-11-08 00:47

Re: [HELP]USA FLag causing CTD

Post by CodeRedFox »

Look like your flag doesn't match the team set up in the init.con file. We would have to know which team the maps for and which team is set up in the init.con
Image
"apcs, like dogs can't look up" - Dr2B Rudd
Rhino
Retired PR Developer
Posts: 47909
Joined: 2005-12-13 20:00

Re: [HELP]USA FLag causing CTD

Post by Rhino »

na he needs to including the extra loading lines in the init.con
Image
DeltaFart
Posts: 2409
Joined: 2008-02-12 20:36

Re: [HELP]USA FLag causing CTD

Post by DeltaFart »

yeah nickbond sent me a new init to try out.
Basically I tryed swapping out the old USMC for the new USA
Now the game just crashes no error window within the first screen :-( All I cahnged were the objects and the army....
Here is what he sent me, I'll post the GPO ocne I save this reply
Had to zip the file ina rar to get it up I just think its too long to post that and the init.con


I might have a hypothesis as to why the map crashes. Are there any errors with the CROWS HMMWV? I have one of those on there to play with just for kicks.

Code: Select all

rem *** Generated by BF2Editor ***
if v_arg1 == BF2Editor

run Heightdata.con
LevelSettings.InitWorld
run Terrain.con BF2Editor
run StaticObjects.con BF2Editor
run Sounds.con
run Sky.con BF2Editor
run Editor/GamePlayObjects.con host
UndergrowthEditable.create
Undergrowth.load Levels\albasrah\
run Overgrowth/Overgrowth.con
Overgrowth.editorEnable 1
run AmbientObjects.con BF2Editor
run Water.con
run TriggerableTemplates.con BF2Editor

else

run Heightdata.con
run Terrain.con v_arg2
run Sky.con v_arg2
run CompiledRoads.con
run Sounds.con
run tmp.con v_arg1
Undergrowth.load Levels\albasrah\
run Overgrowth/Overgrowth.con
run Overgrowth/OvergrowthCollision.con
run AmbientObjects.con
run Water.con
run TriggerableTemplates.con
run ../../objects/common/spawners/spawners_common.con
run ../../objects/common/spawners/spawners_usa_ziptie.con
run ../../objects/common/spawners/spawners_meinsurgent.con


endIf

rem ------------------------------- LevelSettings -------------------------------
rem -----------------------------------------------------------------------------

gameLogic.setTeamName 1 "MEINSURGENT"
gameLogic.setTeamName 2 "USARMY"

gameLogic.setTeamLanguage 1 "MEC"
gameLogic.setTeamLanguage 2 "English"

gameLogic.setTeamFlag 0 "flag_neutral"
gameLogic.setTeamFlag 1 "flag_in"
gameLogic.setTeamFlag 2 "flag_us"

gameLogic.setKit 1 0 "SP_meinsurgent_insurgent" "meinsurgent_soldier"
gameLogic.setKit 2 0 "SP_usa_specops_ziptie" "usa_lightarmor_soldier"

gameLogic.setKit 1 1 "SP_meinsurgent_warveteran" "meinsurgent_heavy_soldier"
gameLogic.setKit 2 1 "SP_usa_assault_ziptie" "usa_heavy_soldier"

gameLogic.setKit 1 2 "SP_MEInsurgent_Engineer" "meinsurgent_heavy_soldier"
gameLogic.setKit 2 2 "SP_usa_riflemanab_ziptie" "usa_lightarmor_soldier"

gameLogic.setKit 1 3 "SP_MEInsurgent_Medic" "meinsurgent_soldier"
gameLogic.setKit 2 3 "SP_usa_rifleman" "usa_lightarmor_soldier"

gameLogic.setKit 1 4 "SP_meinsurgent_officer" "meinsurgent_soldier"
gameLogic.setKit 2 4 "SP_usa_engineer_mntn" "usa_lightarmor_soldier"

gameLogic.setKit 1 5 "SP_MEInsurgent_Medic" "meinsurgent_soldier"
gameLogic.setKit 2 5 "SP_usa_medic_ziptie" "usa_lightarmor_soldier"

gameLogic.setKit 1 6 "SP_MEInsurgent_MachineGunner" "meinsurgent_heavy_soldier"
gameLogic.setKit 2 6 "SP_usa_support_ziptie" "usa_heavy_soldier"

rem -----------------------------------------------------------------------------

gameLogic.setBeforeSpawnCamera 253/26/-331 76/-11/0

if v_arg1 == BF2Editor
LevelSettings.CustomTextureSuffix "ab"
else
texturemanager.customTextureSuffix "ab"
endIf
rem -----------------------------------------------------------------------------

GameLogic.MaximumLevelViewDistance 350

rem -----------------------------------------------------------------------------

gameLogic.setDefaultNumberOfTicketsEx 16 1 225
gameLogic.setDefaultNumberOfTicketsEx 16 2 150
gameLogic.setDefaultNumberOfTicketsEx 32 1 800
gameLogic.setDefaultNumberOfTicketsEx 32 2 675
gameLogic.setDefaultNumberOfTicketsEx 64 1 800
gameLogic.setDefaultNumberOfTicketsEx 64 2 675
gameLogic.setDefaultNumberOfTicketsEx 128 1 50
gameLogic.setDefaultNumberOfTicketsEx 128 2 50
gameLogic.setDefaultTimeToNextAIWave 8
gameLogic.setTicketLossAtEndPerMin 1000
gameLogic.setTicketLossPerMin 1 5
gameLogic.setTicketLossPerMin 2 5

rem -----------------------------------------------------------------------------

rem -----------------------------------------------------------------------------
renderer.tweakfarplane1p 10000001
renderer.tweaknearplane 0.08
renderer.globalStaticMeshLodDistanceScale 1
renderer.globalBundleMeshLodDistanceScale 1
renderer.globalSkinnedMeshLodDistanceScale 1

gameLogic.setTeamDropVehicle 1 "mark_team1"
gameLogic.setTeamDropVehicle 2 "mark_team2"
You do not have the required permissions to view the files attached to this post.
Last edited by DeltaFart on 2008-10-19 18:28, edited 3 times in total.
DeltaFart
Posts: 2409
Joined: 2008-02-12 20:36

Re: [HELP]USA FLag causing CTD

Post by DeltaFart »

updated the above post with Init.con and my GPO.con in a .rar
Will put the screenshots showing what I changed in this post.
1st thing is I put a burning wreck of a T62 that had been pushed off the side of the road after it had been destroyed. I just thought it needed something there :D
Image
The next thing is the two M35 trucks in the parking garage so they don't get mortared out in the open. Really should consider the upper levels, but I'm not sure they would make the turns :D
Image
ONce at the parkign lot you see the many HMMWVs I have given the US Army for playing with. ALong with 2 stykers.
Image
Could someone identify this, it looks like a stryker rubix cube in the stryker :D
Image
Also hidden in one of the hangers, are some private contractors. 2 SUVs with non pickupable(I hope i didn't chose pickup kits) M82A1, M95, Mk12, Javelin and RPG26, How they got a javelin is beyond me so don't ask :D those weapons are just statics in the hangar. The SUVs you can drive though
Image
Lastly the Bradley with its 25MM Bushmaster is set up to support the Vehicle Checkpoint(I had to figure out where to put something with a cannon) unforetunatly the editor crashed when I was positioning my soldier camera for a screenshot, and I dont feel like waiting 10 minutes just to take one shot
Last edited by DeltaFart on 2008-10-19 19:30, edited 1 time in total.
Post Reply

Return to “PR:BF2 Community Modding”