[Help]...again

Making or wanting help making your own asset? Check in here
Durkie
Posts: 264
Joined: 2009-01-12 08:10

Re: [Help...again]

Post by Durkie »

what error do you get ??
"Goddam it, you'll never get the Purple Heart hiding in a foxhole! Follow me!"
Captain Henry P. Jim Crowe
jax
Posts: 355
Joined: 2011-08-07 02:47

Re: [Help...again]

Post by jax »

I dont get one, i just ctd at 15%

Off we fuck.
Rudd
Retired PR Developer
Posts: 21225
Joined: 2007-08-15 14:32

Re: [Help...again]

Post by Rudd »

others except for the exception of a few raws
perhaps thats the problem?
Image
jax
Posts: 355
Joined: 2011-08-07 02:47

Re: [Help...again]

Post by jax »

The raw files are just undergrowth ones and theres no undergrowth on my map yet

Off we fuck.
Rudd
Retired PR Developer
Posts: 21225
Joined: 2007-08-15 14:32

Re: [Help...again]

Post by Rudd »

take a screenshot of whats in your server.zip then post whats in your init.con

either your init.con is trying to load things that arent there, or you havent set up the teams right in the init.con
Image
jax
Posts: 355
Joined: 2011-08-07 02:47

Re: [Help...again]

Post by jax »

Here they are:

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\op_bushwacker\
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\op_bushwacker\
run Overgrowth/Overgrowth.con
run Overgrowth/OvergrowthCollision.con
run AmbientObjects.con
run Water.con
run TriggerableTemplates.con

endIf

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

gameLogic.setTeamName 1 "CF"
gameLogic.setTeamName 2 "CHinsurgent"

gameLogic.setTeamLanguage 1 "English"
gameLogic.setTeamLanguage 2 "rebels"

gameLogic.setTeamFlag 0 "flag_neutral"
gameLogic.setTeamFlag 1 "flag_cf"
gameLogic.setTeamFlag 2 "flag_re"

gameLogic.setKit 1 0 "cf_officer" "pr_cf_soldier2"
gameLogic.setKit 2 0 "chinsurgent_officer" "pr_chinsurgent_soldier4"

gameLogic.setKit 1 1 "cf_officer_alt" "pr_cf_soldier1"
gameLogic.setKit 2 1 "chinsurgent_officer_alt" "pr_chinsurgent_soldier5"

gameLogic.setKit 1 2 "cf_rifleman" "pr_cf_soldier3"
gameLogic.setKit 2 2 "chinsurgent_rifleman" "pr_chinsurgent_soldier2"

gameLogic.setKit 1 3 "cf_rifleman_alt" "pr_cf_soldier1"
gameLogic.setKit 2 3 "chinsurgent_rifleman_alt" "pr_chinsurgent_soldier3"

gameLogic.setKit 1 4 "cf_specialist" "pr_cf_soldier2"
gameLogic.setKit 2 4 "chinsurgent_specialist" "pr_chinsurgent_soldier1"

gameLogic.setKit 1 5 "cf_medic" "pr_cf_soldier4"
gameLogic.setKit 2 5 "chinsurgent_medic" "pr_chinsurgent_soldier3"

gameLogic.setKit 1 6 "cf_support" "pr_cf_soldier3"
gameLogic.setKit 2 6 "chinsurgent_support" "pr_chinsurgent_soldier6"

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

gameLogic.setBeforeSpawnCamera -647/91/488 -84/17/0

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

GameLogic.MaximumLevelViewDistance 700

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

gameLogic.setDefaultNumberOfTicketsEx 16 1 50
gameLogic.setDefaultNumberOfTicketsEx 16 2 50
gameLogic.setDefaultNumberOfTicketsEx 32 1 250
gameLogic.setDefaultNumberOfTicketsEx 32 2 250
gameLogic.setDefaultNumberOfTicketsEx 64 1 300
gameLogic.setDefaultNumberOfTicketsEx 64 2 300
gameLogic.setDefaultNumberOfTicketsEx 128 1 50
gameLogic.setDefaultNumberOfTicketsEx 128 2 50
gameLogic.setDefaultTimeToNextAIWave 8
gameLogic.setTicketLossAtEndPerMin 1000
gameLogic.setTicketLossPerMin 1 20
gameLogic.setTicketLossPerMin 2 20

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

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

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

Off we fuck.
Rudd
Retired PR Developer
Posts: 21225
Joined: 2007-08-15 14:32

Re: [Help...again]

Post by Rudd »

open the server.zip of another map and copy and past the team information from there, you are using teh vbf2 setup instead of what PR uses

and I'm willing to bet that once you fix that, you are going to crash because your init.con is gonna try and open your undergrowth files - which aren't there
Image
jax
Posts: 355
Joined: 2011-08-07 02:47

Re: [Help...again]

Post by jax »

You're right about the crash, and i do believe i have it set up correctly now. Do i need to remove all of the undergrowth lines because i dont have any undergrowth in my map?

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\op_bushwacker\
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\op_bushwacker\
run Overgrowth/Overgrowth.con
run Overgrowth/OvergrowthCollision.con
run AmbientObjects.con
run Water.con
run TriggerableTemplates.con

endIf

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

run ../../Factions/faction_init.con 1 "cf"
run ../../Factions/faction_init.con 2 "chinsurgent"

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

gameLogic.setBeforeSpawnCamera -647/91/488 -84/17/0

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

GameLogic.MaximumLevelViewDistance 700

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

gameLogic.setDefaultNumberOfTicketsEx 16 1 50
gameLogic.setDefaultNumberOfTicketsEx 16 2 50
gameLogic.setDefaultNumberOfTicketsEx 32 1 250
gameLogic.setDefaultNumberOfTicketsEx 32 2 250
gameLogic.setDefaultNumberOfTicketsEx 64 1 300
gameLogic.setDefaultNumberOfTicketsEx 64 2 300
gameLogic.setDefaultNumberOfTicketsEx 128 1 50
gameLogic.setDefaultNumberOfTicketsEx 128 2 50
gameLogic.setDefaultTimeToNextAIWave 8
gameLogic.setTicketLossAtEndPerMin 1000
gameLogic.setTicketLossPerMin 1 20
gameLogic.setTicketLossPerMin 2 20

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

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

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

Off we fuck.
Rudd
Retired PR Developer
Posts: 21225
Joined: 2007-08-15 14:32

Re: [Help...again]

Post by Rudd »

You're right about the crash, and i do believe i have it set up correctly now. Do i need to remove all of the undergrowth lines because i dont have any undergrowth in my map?
I would expect so
Image
jax
Posts: 355
Joined: 2011-08-07 02:47

Re: [Help...again]

Post by jax »

Its still crashing at 15% :(

Off we fuck.
Durkie
Posts: 264
Joined: 2009-01-12 08:10

Re: [Help...again]

Post by Durkie »

try to run it in debug mode and see what error pops up
"Goddam it, you'll never get the Purple Heart hiding in a foxhole! Follow me!"
Captain Henry P. Jim Crowe
Rudd
Retired PR Developer
Posts: 21225
Joined: 2007-08-15 14:32

Re: [Help...again]

Post by Rudd »

what I do to figure this stuff out if I don't get messages is to just delete stuff from the init.con until it works
Image
jax
Posts: 355
Joined: 2011-08-07 02:47

Re: [Help...again]

Post by jax »

When you say delete stuff do you mean just randomly select stuff and delete it?

Off we fuck.
Rudd
Retired PR Developer
Posts: 21225
Joined: 2007-08-15 14:32

Re: [Help...again]

Post by Rudd »

no I mean deleting the lines in the init.con for the likely causes of problems, undergrowth and overgrowth for example, staticobjects, ambient affects etc

if it works after you've removed it from the init.con - you've found the cause of the problem.
Image
jax
Posts: 355
Joined: 2011-08-07 02:47

Re: [Help...again]

Post by jax »

Overgrowth is the problem, whats the max amount of objects via overgrowth you can have?

Off we fuck.
Rudd
Retired PR Developer
Posts: 21225
Joined: 2007-08-15 14:32

Re: [Help...again]

Post by Rudd »

well the wise plan is to go no more than 28000 imo, less is better, bether FPS for clients and too many tree collison meshes make servers lag.

However there are some 'problem' OG objects, please post your overgrowth.con
Image
jax
Posts: 355
Joined: 2011-08-07 02:47

Re: [Help...again]

Post by jax »

Code: Select all

Overgrowth.viewDistance 500
Overgrowth.viewDistanceScale 1
Overgrowth.closeDistPercentage 0.15

Overgrowth.addMaterial bushland 2
Overgrowth.setActiveMaterial bushland
Overgrowth.addType trees
Overgrowth.setActiveType trees
OvergrowthType.geometry fir10m
OvergrowthType.density 7
OvergrowthType.normalScale 1
OvergrowthType.rotationScale 0
OvergrowthType.minRadiusToSame 0
OvergrowthType.minRadiusToOthers 0
Overgrowth.addType trees2
Overgrowth.setActiveType trees2
OvergrowthType.geometry fir15m
OvergrowthType.density 7
OvergrowthType.normalScale 1
OvergrowthType.rotationScale 0
OvergrowthType.minRadiusToSame 0
OvergrowthType.minRadiusToOthers 0
Overgrowth.addType trees3
Overgrowth.setActiveType trees3
OvergrowthType.geometry fir20m_v2
OvergrowthType.density 5
OvergrowthType.normalScale 1
OvergrowthType.rotationScale 1
OvergrowthType.minRadiusToSame 0
OvergrowthType.minRadiusToOthers 0

Overgrowth.path levels\op_bushwacker\overgrowth\
Overgrowth.preLoad

Off we fuck.
Rudd
Retired PR Developer
Posts: 21225
Joined: 2007-08-15 14:32

Re: [Help...again]

Post by Rudd »

nothing leaps out at me, though the densities are very high...
Image
jax
Posts: 355
Joined: 2011-08-07 02:47

Re: [Help...again]

Post by jax »

whats the regular? btw thers about 42, 000 objects :D
Last edited by jax on 2011-08-12 00:46, edited 1 time in total.

Off we fuck.
jax
Posts: 355
Joined: 2011-08-07 02:47

Re: [Help...again]

Post by jax »

Ok so im ingame now, but theres another problem :l on the left where you select your kit doesnt show up, all i can do is select teams. :S

Off we fuck.
Post Reply

Return to “PR:BF2 Community Modding”