project reality header
Go Back   Project Reality Forums > PR:BF2 Mod Forums > PR:BF2 Community Modding
30 Nov 2022, 00:00:00 (PRT)
Register Developer Blogs Project Reality Members List Search Today's Posts Mark Forums Read
PR:BF2 Community Modding Making or wanting help making your own asset? Check in here

Reply
 
Thread Tools Display Modes
Old 2009-07-11, 18:40   #1
Redline.ss
Default [HELP] you must select another kit

Ive tried making a few maps following a few of Rhino and IronTaxi's guides. When you spawn in on any of my maps you die instantly and get the "you must select another kit" no matter what kit you select.

heres my init.con

Quote:
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\ORV2\
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\ORV2\
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_us.con
run ../../objects/common/spawners/spawners_ch.con

endIf

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

gameLogic.setTeamName 1 "CH"
gameLogic.setTeamName 2 "US"

gameLogic.setTeamLanguage 1 "Chinese"
gameLogic.setTeamLanguage 2 "English"

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

gameLogic.setKit 1 0 "ch_rifleman" "ch_light_soldier"
gameLogic.setKit 2 0 "us_rifleman" "us_light_soldier"

gameLogic.setKit 1 1 "ch_riflemanab" "ch_light_soldier"
gameLogic.setKit 2 1 "us_riflemanab" "us_light_soldier"

gameLogic.setKit 1 2 "ch_specialist" "ch_heavy_soldier"
gameLogic.setKit 2 2 "us_specialist" "us_heavy_soldier"

gameLogic.setKit 1 3 "ch_officer" "ch_heavy_soldier"
gameLogic.setKit 2 3 "us_officer" "us_heavy_soldier"

gameLogic.setKit 1 4 "ch_officerab" "ch_light_soldier"
gameLogic.setKit 2 4 "us_officerab" "us_light_soldier"

gameLogic.setKit 1 5 "ch_medic" "ch_light_soldier"
gameLogic.setKit 2 5 "us_medic" "us_light_soldier"

gameLogic.setKit 1 6 "ch_assault" "ch_heavy_soldier"
gameLogic.setKit 2 6 "us_assault" "us_heavy_soldier"

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

gameLogic.setBeforeSpawnCamera -101/31/-109 -109/6/0

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

GameLogic.MaximumLevelViewDistance 850

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

gameLogic.setDefaultNumberOfTicketsEx 16 1 50
gameLogic.setDefaultNumberOfTicketsEx 16 2 50
gameLogic.setDefaultNumberOfTicketsEx 32 1 200
gameLogic.setDefaultNumberOfTicketsEx 32 2 200
gameLogic.setDefaultNumberOfTicketsEx 64 1 400
gameLogic.setDefaultNumberOfTicketsEx 64 2 400
gameLogic.setDefaultNumberOfTicketsEx 128 1 50
gameLogic.setDefaultNumberOfTicketsEx 128 2 50
gameLogic.setDefaultTimeToNextAIWave 8
gameLogic.setTicketLossAtEndPerMin 1000
gameLogic.setTicketLossPerMin 1 10
gameLogic.setTicketLossPerMin 2 10

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

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

renderer.globalStaticMeshLodDistanceScale 1
renderer.globalBundleMeshLodDistanceScale 1
renderer.globalSkinnedMeshLodDistanceScale 1

gameLogic.setTeamDropVehicle 1 "mark_team1"
gameLogic.setTeamDropVehicle 2 "mark_team2"
here is my level settings in BF2editor

and here is my ingame kit selection screen.

Any tips would be appreciated. Thank You.
Redline.ss is offline
Last edited by Redline.ss; 2009-07-11 at 18:45..
Reply With Quote
Old 2009-07-11, 20:38   #2
FuzzySquirrel

FuzzySquirrel's Avatar
Default Re: you must select another kit

Put rifleman spec as first kit.

FuzzySquirrel is offline Reply With Quote
Old 2009-07-11, 21:19   #3
J.F.Leusch69
Retired PR Developer

J.F.Leusch69's Avatar
Arrow Re: you must select another kit

it should look like this:


Quote:
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\ORV2\
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\ORV2\
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_us.con
run ../../objects/common/spawners/spawners_ch.con

endIf


rem USMC VERSUS PLA
rem ------------------------------- LevelSettings -------------------------------
rem -----------------------------------------------------------------------------

gameLogic.setTeamName 1 "CH"
gameLogic.setTeamName 2 "US"

gameLogic.setTeamLanguage 1 "Chinese"
gameLogic.setTeamLanguage 2 "English"

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

gameLogic.setKit 1 0 "ch_specialist" "pr_ch_soldier1"
gameLogic.setKit 2 0 "us_specialist" "pr_us_soldier1"

gameLogic.setKit 1 1 "ch_riflemanab" "pr_ch_soldier2"
gameLogic.setKit 2 1 "us_riflemanab" "pr_us_soldier2"

gameLogic.setKit 1 2 "ch_rifleman" "pr_ch_soldier3"
gameLogic.setKit 2 2 "us_rifleman" "pr_us_soldier3"

gameLogic.setKit 1 3 "ch_medic" "pr_ch_soldier2"
gameLogic.setKit 2 3 "us_medic" "pr_us_soldier2"

gameLogic.setKit 1 4 "ch_support" "pr_ch_soldier3"
gameLogic.setKit 2 4 "us_support" "pr_us_soldier3"

gameLogic.setKit 1 5 "ch_officerab" "pr_ch_soldier1"
gameLogic.setKit 2 5 "us_officerab" "pr_us_soldier1"

gameLogic.setKit 1 6 "ch_officer" "pr_ch_soldier4"
gameLogic.setKit 2 6 "us_officer" "pr_us_soldier4"

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

gameLogic.setBeforeSpawnCamera -101/31/-109 -109/6/0

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

GameLogic.MaximumLevelViewDistance 850

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

gameLogic.setDefaultNumberOfTicketsEx 16 1 50
gameLogic.setDefaultNumberOfTicketsEx 16 2 50
gameLogic.setDefaultNumberOfTicketsEx 32 1 200
gameLogic.setDefaultNumberOfTicketsEx 32 2 200
gameLogic.setDefaultNumberOfTicketsEx 64 1 400
gameLogic.setDefaultNumberOfTicketsEx 64 2 400
gameLogic.setDefaultNumberOfTicketsEx 128 1 50
gameLogic.setDefaultNumberOfTicketsEx 128 2 50
gameLogic.setDefaultTimeToNextAIWave 8
gameLogic.setTicketLossAtEndPerMin 1000
gameLogic.setTicketLossPerMin 1 10
gameLogic.setTicketLossPerMin 2 10

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

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

spawnManager.setPlayerKit 2

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


gameLogic.setTeamDropVehicle 1 "mark_team1"
gameLogic.setTeamDropVehicle 2 "mark_team2"
cheers
J.F.Leusch69 is offline Reply With Quote
Old 2009-07-11, 23:11   #4
Redline.ss
Default Re: you must select another kit

Worked, Thank you.
Redline.ss is offline Reply With Quote
Reply


Tags
kit, select
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 00:09.