Game ending Problem
-
- Posts: 77
- Joined: Mon Jul 30, 2012 5:12 am
Game ending Problem
I have relocated spawns off floating destroyers and subs in serveral maps, but in 2 maps Britain and Coral game will not end even after all carriers are sunk and players dead, I have spawn point manager groups set for spawnPointManager.EnableToChangeTeam 0 and have tried spawnPointManager.groupEnableToChangeTeam 0 also have had soldier spawns set as parachutes, on ground, and even attached to apcs so when it is destroyed spawn disapears. Have sub dieing and set not to respawn before game ends by using travel distance settings so it floats to far. I have run out of ideas after months. any help would be appreciated
Re: Game ending Problem
Hi and welcome! It sounds to me that you have everything covered, however the problem you describe is indeed tied to the "groupEnableToChangeTeam" setting. It doesnt matter if the spawnpoint dissapears the tickets wont count down until the last soldier in that team is dead.
Have you copied the spawnPointManager settings for the sub etc in the game.rfa and put it directly in the map?
For Coral i have added this in the spawnPointManagerSettings.con
For Bob i used the botspawns and changed them to regular soldierspawns instead of using subs etc. That will however screw up the maps coop mode so dont use it if your planning on running it in coop.
edit: it may be possible to run coop mode to, it depends where you put the new values and witch file being read in last by the game, but i havent done any tests on that so i dont know in witch order they are read.
Have you copied the spawnPointManager settings for the sub etc in the game.rfa and put it directly in the map?
For Coral i have added this in the spawnPointManagerSettings.con
Code: Select all
rem *** Hatsuzuki Driver ***
spawnPointManager.group 70
spawnPointManager.groupTeam 1
spawnPointManager.groupEnableToChangeTeam 0
spawnPointManager.groupIcon test2.tga
rem spawnPointManager.groupStatus 0
rem *** Hatsuzuki ***
spawnPointManager.group 71
spawnPointManager.groupTeam 1
spawnPointManager.groupEnableToChangeTeam 0
spawnPointManager.groupIcon test2.tga
rem spawnPointManager.groupStatus 0
rem *** Fletcher Driver ***
spawnPointManager.group 68
spawnPointManager.groupTeam 2
spawnPointManager.groupEnableToChangeTeam 0
spawnPointManager.groupIcon test2.tga
rem spawnPointManager.groupStatus 0
rem *** Fletcher ***
spawnPointManager.group 69
spawnPointManager.groupTeam 2
spawnPointManager.groupEnableToChangeTeam 0
spawnPointManager.groupIcon test2.tga
rem spawnPointManager.groupStatus 0
rem *** Sub7c Driver ***
spawnPointManager.group 78
spawnPointManager.groupTeam 1
spawnPointManager.groupEnableToChangeTeam 0
spawnPointManager.groupIcon test2.tga
rem spawnPointManager.groupStatus 0
rem *** Gato Driver ***
spawnPointManager.group 79
spawnPointManager.groupTeam 2
spawnPointManager.groupEnableToChangeTeam 0
spawnPointManager.groupIcon test2.tga
rem spawnPointManager.groupStatus 0
Code: Select all
rem spawnPointManager.OnlyForAI 1
spawnPointManager.OnlyForHuman 1
-
- Posts: 77
- Joined: Mon Jul 30, 2012 5:12 am
Re: Game ending Problem
Here is the current attempt at coral, it worked fine with just second carrier with spawns off destroyers, but when I added sub to get spawns in islands game would not end, I thought it would work when I added the spawns to a apc but it didnt when it was destroyed, so I decided sub must have to die, so I made it die with travel distance, then only to spawn once, still no luck. You will notice alot remmed out as I had spawns offset from subs for a while before, just adding the to soldier spawn con as absolutes, second carrier has only fighters and I have increase carriers strength, also was chutes not ground spawns, when apcs were used
ObjectTemplate.active M3A1
ObjectTemplate.addTemplate gatoDriverSoldierSpawn
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.timeToLive CRD_NONE/60/0/0
I even added alternate groups, they are in Spawnpoint manager con at moment but had them in OST con also first, its like it isnt reading amended manager groups
ObjectTemplate.active M3A1
ObjectTemplate.addTemplate gatoDriverSoldierSpawn
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.timeToLive CRD_NONE/60/0/0
I even added alternate groups, they are in Spawnpoint manager con at moment but had them in OST con also first, its like it isnt reading amended manager groups
Code: Select all
ObjectTemplate.create ObjectSpawner willyspawner
ObjectTemplate.setObjectTemplate 2 Elco80
ObjectTemplate.setObjectTemplate 1 Type38
ObjectTemplate.SpawnDelay 21
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.TimeToLive 15
ObjectTemplate.Distance 10
ObjectTemplate.DamageWhenLost 20
ObjectTemplate.create ObjectSpawner DestroyerSpawner
ObjectTemplate.setObjectTemplate 2 fletcher
ObjectTemplate.setObjectTemplate 1 hatsuzuki
ObjectTemplate.SpawnDelay 90
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.TimeToLive 60
ObjectTemplate.Distance 200
ObjectTemplate.teamOnVehicle 1
ObjectTemplate.create ObjectSpawner carrierSpawner_1
ObjectTemplate.setObjectTemplate 1 Hiryu
ObjectTemplate.SpawnDelay 60
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.TimeToLive 120
ObjectTemplate.Distance 200
ObjectTemplate.teamOnVehicle 1
ObjectTemplate.nrOfObjectToSpawn 1
ObjectTemplate.create ObjectSpawner carrierSpawner_2
ObjectTemplate.setObjectTemplate 2 Hornet
ObjectTemplate.SpawnDelay 60
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.TimeToLive 120
ObjectTemplate.Distance 200
ObjectTemplate.teamOnVehicle 1
ObjectTemplate.nrOfObjectToSpawn 1
ObjectTemplate.create ObjectSpawner lighttankspawner
ObjectTemplate.setObjectTemplate 2 enterprise
ObjectTemplate.setObjectTemplate 1 shokaku
ObjectTemplate.SpawnDelay 60
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.TimeToLive 120
ObjectTemplate.Distance 200
ObjectTemplate.teamOnVehicle 1
ObjectTemplate.nrOfObjectToSpawn 1
rem -------------------------------------------------------------------
ObjectTemplate.create ObjectSpawner heavytankspawner
ObjectTemplate.setObjectTemplate 2 M3GMC
ObjectTemplate.setObjectTemplate 1 SturmGeschutz
ObjectTemplate.SpawnDelay 120
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.TimeToLive 120
ObjectTemplate.Distance 200
ObjectTemplate.create ObjectSpawner APCSpawner
ObjectTemplate.setObjectTemplate 2 M3A1
ObjectTemplate.setObjectTemplate 1 Hanomag
ObjectTemplate.SpawnDelay 30
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.TimeToLive 120
ObjectTemplate.Distance 200
ObjectTemplate.create ObjectSpawner ScoutCarSpawner
ObjectTemplate.setObjectTemplate 2 Gato
ObjectTemplate.setObjectTemplate 1 Sub7C
ObjectTemplate.MinSpawnDelay 1
ObjectTemplate.MaxSpawnDelay 2
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.TimeToLive 0
ObjectTemplate.Distance 70
ObjectTemplate.DamageWhenLost 200
ObjectTemplate.teamOnVehicle 1
ObjectTemplate.nrOfObjectToSpawn 1
ObjectTemplate.create ObjectSpawner AAGunSpawner
ObjectTemplate.setObjectTemplate 2 AA_allies
ObjectTemplate.setObjectTemplate 1 flak38
ObjectTemplate.SpawnDelay 60
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.TimeToLive 120
ObjectTemplate.Distance 200
ObjectTemplate.create ObjectSpawner FighterSpawner
ObjectTemplate.setObjectTemplate 2 Spitfire
ObjectTemplate.setObjectTemplate 1 bf109
ObjectTemplate.SpawnDelay 60
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.TimeToLive 120
ObjectTemplate.Distance 200
ObjectTemplate.create ObjectSpawner LevelBomberSpawner
ObjectTemplate.setObjectTemplate 2 Mosquito
ObjectTemplate.setObjectTemplate 1 bf110
ObjectTemplate.MinSpawnDelay 40
ObjectTemplate.MaxSpawnDelay 80
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.TimeToLive 45
ObjectTemplate.Distance 40
ObjectTemplate.DamageWhenLost 10
ObjectTemplate.create ObjectSpawner DiveBomberSpawner
ObjectTemplate.setObjectTemplate 2 mustang
ObjectTemplate.setObjectTemplate 1 stuka
ObjectTemplate.SpawnDelay 60
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.TimeToLive 120
ObjectTemplate.Distance 200
ObjectTemplate.create ObjectSpawner HeavyBomberSpawner
ObjectTemplate.setObjectTemplate 2 B17
ObjectTemplate.setObjectTemplate 1 B17
ObjectTemplate.SpawnDelay 180
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.TimeToLive 120
ObjectTemplate.Distance 200
ObjectTemplate.create ObjectSpawner MachinegunSpawner
ObjectTemplate.setObjectTemplate 2 Stationary_browning
ObjectTemplate.setObjectTemplate 1 Stationary_mg42
ObjectTemplate.SpawnDelay 60
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.TimeToLive 120
ObjectTemplate.Distance 200
ObjectTemplate.create ObjectSpawner ArtillerySpawner
ObjectTemplate.setObjectTemplate 2 Priest
ObjectTemplate.setObjectTemplate 1 Wespe
ObjectTemplate.SpawnDelay 60
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.TimeToLive 120
ObjectTemplate.Distance 200
ObjectTemplate.create ObjectSpawner lcvpSpawner
ObjectTemplate.setObjectTemplate 2 lcvp
ObjectTemplate.setObjectTemplate 1 daihatsu
ObjectTemplate.SpawnDelay 20
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.TimeToLive 30
ObjectTemplate.Distance 20
ObjectTemplate.create ObjectSpawner DefgunSpawner
ObjectTemplate.setObjectTemplate 2 Defgun
ObjectTemplate.setObjectTemplate 1 Defgun
ObjectTemplate.SpawnDelay 180
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.TimeToLive 120
ObjectTemplate.Distance 200
rem -------------------------------------------------------------------
rem tough carriers
ObjectTemplate.Active Enterprise
ObjectTemplate.hitpoints 1000
ObjectTemplate.maxhitpoints 1000
rem Removing all the soldier spawners of the enterprise
rem
ObjectTemplate.Active EnterpriseComplex
ObjectTemplate.removeTemplate 12
ObjectTemplate.removeTemplate 11
ObjectTemplate.removeTemplate 10
ObjectTemplate.removeTemplate 9
ObjectTemplate.removeTemplate 8
ObjectTemplate.removeTemplate 7
ObjectTemplate.removeTemplate 6
ObjectTemplate.removeTemplate 5
ObjectTemplate.removeTemplate 4
rem *** Making it immobile...
ObjectTemplate.Active Enterprise_Engine
ObjectTemplate.setAcceleration 0/0/0
rem *** Removing the spawnpoints from the fletcher ***
ObjectTemplate.Active Fletcher
ObjectTemplate.removeTemplate 11
ObjectTemplate.removeTemplate 10
ObjectTemplate.removeTemplate 9
rem *** Adding them to the Enterprise ***
ObjectTemplate.Active EnterpriseComplex
ObjectTemplate.addTemplate FletcherSoldierSpawn
ObjectTemplate.setPosition -1.5/20.4/-113.5
ObjectTemplate.addTemplate FletcherSoldierSpawn
ObjectTemplate.setPosition 3.9/20.4/-100.5
ObjectTemplate.addTemplate FletcherDriverSoldierSpawn
ObjectTemplate.setPosition -13.949/12.4/-67.999
ObjectTemplate.addTemplate FletcherDriverSoldierSpawn
ObjectTemplate.setPosition 13.95/12.4/-67.999
ObjectTemplate.addTemplate Enterprise_corsairSpawner
ObjectTemplate.setPosition -4.999/19.63/-110.999
ObjectTemplate.setRotation -3/-13/0
ObjectTemplate.addTemplate Enterprise_corsairSpawner
ObjectTemplate.setPosition 7.2/19.63/-94.999
ObjectTemplate.setRotation -15/-12.7/0
rem tough carriers
ObjectTemplate.Active Shokaku
ObjectTemplate.hitpoints 1000
ObjectTemplate.maxhitpoints 1000
rem Same for Axis
ObjectTemplate.Active ShokakuComplex
ObjectTemplate.removeTemplate 7
ObjectTemplate.removeTemplate 6
ObjectTemplate.removeTemplate 5
ObjectTemplate.removeTemplate 4
ObjectTemplate.removeTemplate 3
ObjectTemplate.removeTemplate 2
ObjectTemplate.removeTemplate 1
ObjectTemplate.removeTemplate 0
beginrem
ObjectTemplate.Active Shokaku_Engine
ObjectTemplate.setAcceleration 0/0/0
endrem
rem mw
ObjectTemplate.Active ShokakuEngine
ObjectTemplate.setAcceleration 0/0/0
rem *** Removing the spawnpoints from the hatz ***
ObjectTemplate.Active Hatsuzuki
ObjectTemplate.removeTemplate 11
ObjectTemplate.removeTemplate 10
ObjectTemplate.removeTemplate 9
ObjectTemplate.Active ShokakuComplex
ObjectTemplate.addTemplate HatsuzukiDriverSoldierSpawn
ObjectTemplate.setPosition 8.5/13/35
ObjectTemplate.addTemplate HatsuzukiDriverSoldierSpawn
ObjectTemplate.setPosition 8.5/13/38
ObjectTemplate.addTemplate HatsuzukiSoldierSpawn
ObjectTemplate.setPosition -6.779/13.5/-50
ObjectTemplate.addTemplate HatsuzukiSoldierSpawn
ObjectTemplate.setPosition 5.9/13.5/-33
ObjectTemplate.addTemplate ShokakuZeroSpawner
ObjectTemplate.setPosition -7.899/13.655/-47
ObjectTemplate.setRotation 0/-12.2/0
ObjectTemplate.addTemplate ShokakuZeroSpawner
ObjectTemplate.setPosition 7.2/13.655/-30
ObjectTemplate.setRotation -9.999/-11.499/0.02
rem *** floatin' in the sky! ***
ObjectTemplate.Active Hatsuzuki
ObjectTemplate.addTemplate HatsuzukiFloater
ObjectTemplate.setPosition -1.999/-1000/50
ObjectTemplate.addTemplate HatsuzukiFloater
ObjectTemplate.setPosition 2/-1000/50
ObjectTemplate.addTemplate HatsuzukiFloater
ObjectTemplate.setPosition -4.999/-1000/17
ObjectTemplate.addTemplate HatsuzukiFloater
ObjectTemplate.setPosition 5/-1000/17
ObjectTemplate.addTemplate HatsuzukiFloater
ObjectTemplate.setPosition -4.999/-1000/-16.999
ObjectTemplate.addTemplate HatsuzukiFloater
ObjectTemplate.setPosition 5/-1000/-16.999
ObjectTemplate.addTemplate HatsuzukiFloater
ObjectTemplate.setPosition -1.999/-1000/-49.999
ObjectTemplate.addTemplate HatsuzukiFloater
ObjectTemplate.setPosition 2/-1000/-49.999
rem *** floatin' in the sky! ***
ObjectTemplate.Active Fletcher
ObjectTemplate.addTemplate Fletcher_Floater
ObjectTemplate.setPosition -1.999/-1000/50
ObjectTemplate.addTemplate Fletcher_Floater
ObjectTemplate.setPosition 2/-1000/50
ObjectTemplate.addTemplate Fletcher_Floater
ObjectTemplate.setPosition -4.999/-1000/17
ObjectTemplate.addTemplate Fletcher_Floater
ObjectTemplate.setPosition 5/-1000/17
ObjectTemplate.addTemplate Fletcher_Floater
ObjectTemplate.setPosition -4.999/-1000/-16.999
ObjectTemplate.addTemplate Fletcher_Floater
ObjectTemplate.setPosition 5/-1000/-16.999
ObjectTemplate.addTemplate Fletcher_Floater
ObjectTemplate.setPosition -1.999/-1000/-49.999
ObjectTemplate.addTemplate Fletcher_Floater
ObjectTemplate.setPosition 2/-1000/-49.999
rem
rem *** Making the old carriers have quick respawning
rem *** planes like the new ones.
rem
rem *** Enterprise_corsairSpawner ***
ObjectTemplate.Active Enterprise_corsairSpawner
ObjectTemplate.setObjectTemplate 1 corsair
ObjectTemplate.setObjectTemplate 2 corsair
ObjectTemplate.minSpawnDelay 10
ObjectTemplate.maxSpawnDelay 10
ObjectTemplate.TimeToLive 120
ObjectTemplate.Distance 20
ObjectTemplate.spawnOffset 0/0/0
ObjectTemplate.holdObject 1
ObjectTemplate.MaxNrOfObjectSpawned 4
rem
rem *** Enterprise_sbdSpawner ***
ObjectTemplate.Active Enterprise_sbdSpawner
ObjectTemplate.setObjectTemplate 1 SBD
ObjectTemplate.setObjectTemplate 2 SBD
ObjectTemplate.minSpawnDelay 10
ObjectTemplate.maxSpawnDelay 10
ObjectTemplate.TimeToLive 120
ObjectTemplate.Distance 20
ObjectTemplate.spawnOffset 0/0/0
ObjectTemplate.holdObject 1
ObjectTemplate.MaxNrOfObjectSpawned 5
rem
rem *** ShokakuZeroSpawner ***
ObjectTemplate.Active ShokakuZeroSpawner
ObjectTemplate.setObjectTemplate 1 Zero
ObjectTemplate.setObjectTemplate 2 Zero
ObjectTemplate.holdObject 0
ObjectTemplate.minSpawnDelay 10
ObjectTemplate.maxSpawnDelay 10
ObjectTemplate.TimeToLive 120
ObjectTemplate.Distance 20
ObjectTemplate.spawnOffset 0/0/0
ObjectTemplate.MaxNrOfObjectSpawned 4
beginrem
rem
rem *** ShokakuAichiValSpawner ***
ObjectTemplate.Active ShokakuAichiValSpawner
ObjectTemplate.setObjectTemplate 1 AichiVal
ObjectTemplate.setObjectTemplate 2 AichiVal
ObjectTemplate.holdObject 1
ObjectTemplate.minSpawnDelay 10
ObjectTemplate.maxSpawnDelay 10
ObjectTemplate.TimeToLive 120
ObjectTemplate.Distance 20
ObjectTemplate.spawnOffset 0/0/0
ObjectTemplate.MaxNrOfObjectSpawned 5
endrem
rem islandspawns
ObjectTemplate.Active Sub7CComplex
ObjectTemplate.removeTemplate 4
rem Sub7c floating
ObjectTemplate.Active Sub7C
ObjectTemplate.addTemplate Sub7C_Floater
ObjectTemplate.setPosition 0/-1000/32
ObjectTemplate.addTemplate Sub7C_Floater
ObjectTemplate.setPosition -2.499/-1000/16
ObjectTemplate.addTemplate Sub7C_Floater
ObjectTemplate.setPosition 2.5/-1000/16
ObjectTemplate.addTemplate Sub7C_Floater
ObjectTemplate.setPosition -3.499/-1000/0
ObjectTemplate.addTemplate Sub7C_Floater
ObjectTemplate.setPosition 3.5/-1000/0
ObjectTemplate.addTemplate Sub7C_Floater
ObjectTemplate.setPosition -2.499/-1000/-15.999
ObjectTemplate.addTemplate Sub7C_Floater
ObjectTemplate.setPosition 2.5/-1000/-15.999
ObjectTemplate.addTemplate Sub7C_Floater
ObjectTemplate.setPosition 0/-1000/-31.999
rem island spawn offset920
beginrem
rem *** Sub7CComplex ***
ObjectTemplate.Active Bundle Sub7CComplex
rem ObjectTemplate.setNetworkableInfo Sub7cBodyInfo
ObjectTemplate.geometry SubVII_Hull_M1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate SubmarineSonar
ObjectTemplate.addTemplate Sub7C_Engine
ObjectTemplate.setPosition 0/0/-30
ObjectTemplate.addTemplate Sub7C_Rudder1
ObjectTemplate.setPosition 0/-3.0/-30
ObjectTemplate.setRotation 0/0/-90
ObjectTemplate.addTemplate Sub7C_HullWing
ObjectTemplate.setPosition 0/-3.0/30
ObjectTemplate.setRotation 0/0/-90
ObjectTemplate.addTemplate Sub7CDriverSoldierSpawn
ObjectTemplate.setPosition -1169.04/-850/0
ObjectTemplate.addTemplate Sub7C_Entry
ObjectTemplate.setPosition 5/1.8/-4.5
ObjectTemplate.addTemplate Sub7C_Entry
ObjectTemplate.setPosition 5/1.8/4.5
ObjectTemplate.addTemplate Sub7C_Entry
ObjectTemplate.setPosition -5/1.8/-4.5
ObjectTemplate.addTemplate Sub7C_Entry
ObjectTemplate.setPosition -5/1.8/4.5
beginrem
ObjectTemplate.addTemplate Sub7CDaiHatsuSpawner
ObjectTemplate.setPosition 0.6/2.16/-9.378
endrem
ObjectTemplate.addTemplate Sub7C_Camera
ObjectTemplate.setPosition 0/9/3.8
ObjectTemplate.addTemplate Sub7C_RudderFrontL
ObjectTemplate.setPosition -1.099/-1.499/25
ObjectTemplate.addTemplate Sub7C_RudderFrontR
ObjectTemplate.setPosition 1.1/-1.499/25
ObjectTemplate.addTemplate Sub7C_RudderBackUDLeft
ObjectTemplate.setPosition -1.099/-1.499/-24.999
ObjectTemplate.addTemplate Sub7C_RudderBackUDRight
ObjectTemplate.setPosition 1.1/-1.499/-24.999
ObjectTemplate.addTemplate TorpedTubBundle
ObjectTemplate.setPosition 0/0/35
rem ObjectTemplate.addTemplate TorpedTub
rem ObjectTemplate.setPosition 1/-0.499/33.5
rem ObjectTemplate.addTemplate TorpedTub
rem ObjectTemplate.setPosition -1/-0.499/33.5
rem -------------------------------------
endrem
ObjectTemplate.Active GatoComplex
ObjectTemplate.removeTemplate 4
rem Gato floating
ObjectTemplate.Active Gato
ObjectTemplate.addTemplate GatoFloater
ObjectTemplate.setPosition 0/-1000/32
ObjectTemplate.addTemplate GatoFloater
ObjectTemplate.setPosition -2.499/-1000/16
ObjectTemplate.addTemplate GatoFloater
ObjectTemplate.setPosition 2.5/-1000/16
ObjectTemplate.addTemplate GatoFloater
ObjectTemplate.setPosition -3.499/-1000/0
ObjectTemplate.addTemplate GatoFloater
ObjectTemplate.setPosition 3.5/-1000/0
ObjectTemplate.addTemplate GatoFloater
ObjectTemplate.setPosition -2.499/-1000/-15.999
ObjectTemplate.addTemplate GatoFloater
ObjectTemplate.setPosition 2.5/-1000/-15.999
ObjectTemplate.addTemplate GatoFloater
ObjectTemplate.setPosition 0/-1000/-31.999
rem island spawn offset920
beginrem
rem *** GatoComplex ***
ObjectTemplate.Active Bundle GatoComplex
ObjectTemplate.setNetworkableInfo GatoBodyInfo
ObjectTemplate.geometry Gato_Hull_m1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate SubmarineSonar
ObjectTemplate.addTemplate GatoEngine
ObjectTemplate.setPosition 0/0/-30
ObjectTemplate.addTemplate GatoRudder
ObjectTemplate.setPosition 0/-3/-30
ObjectTemplate.setRotation 0/0/-90
ObjectTemplate.addTemplate GatoHullWing
ObjectTemplate.setPosition 0/-3/30
ObjectTemplate.setRotation 0/0/-90
ObjectTemplate.addTemplate GatoDriverSoldierSpawn
ObjectTemplate.setPosition -1029/-850/0
ObjectTemplate.addTemplate GatoEntry
ObjectTemplate.setPosition 5/1.9/18.5
ObjectTemplate.addTemplate GatoEntry
ObjectTemplate.setPosition 5/1.9/10.5
ObjectTemplate.addTemplate GatoEntry
ObjectTemplate.setPosition -5/1.9/18.5
ObjectTemplate.addTemplate GatoEntry
ObjectTemplate.setPosition -5/1.9/10.5
beginrem
ObjectTemplate.addTemplate GatoDaiHatsuSpawner
ObjectTemplate.setPosition 1.54/2.55/5.44
endrem
ObjectTemplate.addTemplate GatoCamera
ObjectTemplate.setPosition 0/14.9/20.2
ObjectTemplate.addTemplate GatoRudderFrontL
ObjectTemplate.setPosition -1.358/-0.776/47.214
ObjectTemplate.addTemplate GatoRudderFrontR
ObjectTemplate.setPosition 1.359/-0.776/47.214
ObjectTemplate.addTemplate GatoRudderBackUD
ObjectTemplate.setPosition 0/-3.317/-33.502
ObjectTemplate.addTemplate TorpedTubBundle
ObjectTemplate.setPosition 0/0/60
rem ObjectTemplate.addTemplate TorpedTub
rem ObjectTemplate.setPosition 1.6/-0.499/57.7
rem ObjectTemplate.addTemplate TorpedTub
rem ObjectTemplate.setPosition -1.6/-0.499/57.7
ObjectTemplate.addTemplate GatoRadar
ObjectTemplate.setPosition 0/10.177/19.022
rem -------------------------------------
endrem
rem make auto chutes
ObjectTemplate.Active Sub7CDriverSoldierSpawn
rem Sub7c island spawn
rem *** Sub7CDriverSoldierSpawn ***
ObjectTemplate.Active SpawnPoint Sub7CDriverSoldierSpawn
ObjectTemplate.setSpawnRotation 0/0/0
ObjectTemplate.setSpawnPositionOffset 0/0/0
ObjectTemplate.setSpawnPreventionDelay 0
ObjectTemplate.setSpawnId 0
ObjectTemplate.setGroup 78
rem ObjectTemplate.setEnterOnSpawn 1
ObjectTemplate.setAIEnterOnSpawn 1
ObjectTemplate.setSpawnAsParaTroper 0
rem make auto chutes
ObjectTemplate.Active GatoDriverSoldierSpawn
rem Gato island spawn
rem *** GatoDriverSoldierSpawn ***
ObjectTemplate.Active SpawnPoint GatoDriverSoldierSpawn
ObjectTemplate.setSpawnRotation 0/0/0
ObjectTemplate.setSpawnPositionOffset 0/0/0
ObjectTemplate.setSpawnPreventionDelay 0
ObjectTemplate.setSpawnId 0
ObjectTemplate.setGroup 79
rem ObjectTemplate.setEnterOnSpawn 1
ObjectTemplate.setAIEnterOnSpawn 1
ObjectTemplate.setSpawnAsParaTroper 0
Code: Select all
spawnPointManager.group 1
spawnPointManager.groupTeam 1
spawnPointManager.EnableToChangeTeam 0
spawnPointManager.groupIcon test1.tga
rem spawnPointManager.groupStatus 0
spawnPointManager.group 2
spawnPointManager.groupTeam 2
spawnPointManager.EnableToChangeTeam 0
spawnPointManager.groupIcon test1.tga
rem spawnPointManager.groupStatus 0
rem -------------------------------------------------------------------
rem *** Enterprise Driver ***
spawnPointManager.group 72
spawnPointManager.groupTeam 2
spawnPointManager.groupIcon test2.tga
spawnPointManager.EnableToChangeTeam 0
spawnPointManager.onlyForHuman 1
rem spawnPointManager.groupStatus 0
rem *** Enterprise Lcvp ***
spawnPointManager.group 73
spawnPointManager.groupTeam 2
spawnPointManager.EnableToChangeTeam 0
spawnPointManager.groupIcon test2.tga
rem spawnPointManager.groupStatus 0
rem *** Enterprise AirCraft ***
spawnPointManager.group 74
spawnPointManager.groupTeam 2
spawnPointManager.EnableToChangeTeam 0
spawnPointManager.groupIcon test2.tga
rem spawnPointManager.groupStatus 0
rem -------------------------------------------------------------------
rem *** Shokaku Driver ***
spawnPointManager.group 75
spawnPointManager.groupTeam 1
spawnPointManager.EnableToChangeTeam 0
spawnPointManager.groupIcon test2.tga
spawnPointManager.onlyForHuman 1
rem spawnPointManager.groupStatus 0
rem *** Shokaku Lcvp ***
spawnPointManager.group 76
spawnPointManager.groupTeam 1
spawnPointManager.EnableToChangeTeam 0
spawnPointManager.groupIcon test2.tga
rem spawnPointManager.groupStatus 0
rem *** Shokaku AirCraft ***
spawnPointManager.group 77
spawnPointManager.groupTeam 1
spawnPointManager.EnableToChangeTeam 0
spawnPointManager.groupIcon test2.tga
rem spawnPointManager.groupStatus 0
rem -------------------------------------------------------------------
rem -------------------------------------------------------------------
rem *** Fletcher Driver ***
spawnPointManager.group 68
spawnPointManager.groupTeam 2
spawnPointManager.EnableToChangeTeam 0
spawnPointManager.groupIcon test2.tga
rem *** Fletcher ***
spawnPointManager.group 69
spawnPointManager.groupTeam 2
spawnPointManager.EnableToChangeTeam 0
spawnPointManager.groupIcon test2.tga
rem *** Fletcher Driver ***
spawnPointManager.group 80
spawnPointManager.groupTeam 2
spawnPointManager.EnableToChangeTeam 0
spawnPointManager.groupIcon test2.tga
rem *** Fletcher ***
spawnPointManager.group 81
spawnPointManager.groupTeam 2
spawnPointManager.EnableToChangeTeam 0
spawnPointManager.groupIcon test2.tga
rem -------------------------------------------------------------------
rem *** Hatsuzuki Driver ***
spawnPointManager.group 70
spawnPointManager.groupTeam 1
spawnPointManager.EnableToChangeTeam 0
rem *** Hatsuzuki ***
spawnPointManager.group 71
spawnPointManager.groupTeam 1
spawnPointManager.EnableToChangeTeam 0
rem *** Hatsuzuki Driver ***
spawnPointManager.group 82
spawnPointManager.groupTeam 1
spawnPointManager.EnableToChangeTeam 0
rem *** Hatsuzuki ***
spawnPointManager.group 83
spawnPointManager.groupTeam 1
spawnPointManager.EnableToChangeTeam 0
rem *** Sub7C ***
spawnPointManager.group 78
spawnPointManager.groupTeam 1
spawnPointManager.EnableToChangeTeam 0
rem spawnPointManager.groupStatus 0
rem *** Gato ***
spawnPointManager.group 79
spawnPointManager.groupTeam 2
spawnPointManager.EnableToChangeTeam 0
rem spawnPointManager.groupStatus 0
-
- Posts: 77
- Joined: Mon Jul 30, 2012 5:12 am
Re: Game ending Problem
With Britain have a quite a few versions that are variations with both sides having torpedo boats allies destroyer axis subs stukas etc (finshes fine with amended Spawgroup managers for ships) then added a Ju88a with a subs spawners attached to stuka version (ie like essens cargo plane), worked fine but when I did same for allies with a B17 game wouldnt end, B17 made to much of a mess of axis airfield anyway. I added the unused radar out of OST con and to get soldier spawn pinched them from a sub, same problem game would not end even with sub dieing, sat up there in god mode watching it die and respawn. Tickets should race down until sub respawns, this is what happens with allies desrtoyer. I did try using Bots spawns earlier and they turn on ok, but couldnt work out how to relocate them near airfields. Then decided to add a radar and move others instead, Have made towers stronger also like corals carriers, you just cant increase to much or allies players get kicked after joining
Have apc soldier spawners in Kharkov and gazala and they work fine, and use sub soldier spawns as parachute spawns or perminent ground spawns in a few maps
What ever I am missing it will be same reason it happens in both Coral and Britain am Im sure
Have apc soldier spawners in Kharkov and gazala and they work fine, and use sub soldier spawns as parachute spawns or perminent ground spawns in a few maps
What ever I am missing it will be same reason it happens in both Coral and Britain am Im sure
Re: Game ending Problem
Some doubble beginrems have sneaked into the code that you posted, but im not sure thats causing the problemOld Man River wrote:Here is the current attempt at coral, it worked fine with just second carrier with spawns off destroyers, but when I added sub to get spawns in islands game would not end
I have marked some in the code, i think maybe just lift out all sub related code except the one that removes the spawns for now until we can find the problem.
Code: Select all
ObjectTemplate.Active Sub7C <----- sub activated here
ObjectTemplate.addTemplate Sub7C_Floater
ObjectTemplate.setPosition 0/-1000/32
ObjectTemplate.addTemplate Sub7C_Floater
ObjectTemplate.setPosition -2.499/-1000/16
ObjectTemplate.addTemplate Sub7C_Floater
ObjectTemplate.setPosition 2.5/-1000/16
ObjectTemplate.addTemplate Sub7C_Floater
ObjectTemplate.setPosition -3.499/-1000/0
ObjectTemplate.addTemplate Sub7C_Floater
ObjectTemplate.setPosition 3.5/-1000/0
ObjectTemplate.addTemplate Sub7C_Floater
ObjectTemplate.setPosition -2.499/-1000/-15.999
ObjectTemplate.addTemplate Sub7C_Floater
ObjectTemplate.setPosition 2.5/-1000/-15.999
ObjectTemplate.addTemplate Sub7C_Floater
ObjectTemplate.setPosition 0/-1000/-31.999
rem island spawn offset920
beginrem < ---------------------------------------- first beginrem ok.
rem *** Sub7CComplex ***
ObjectTemplate.Active Bundle Sub7CComplex
rem ObjectTemplate.setNetworkableInfo Sub7cBodyInfo
ObjectTemplate.geometry SubVII_Hull_M1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate SubmarineSonar
ObjectTemplate.addTemplate Sub7C_Engine
ObjectTemplate.setPosition 0/0/-30
ObjectTemplate.addTemplate Sub7C_Rudder1
ObjectTemplate.setPosition 0/-3.0/-30
ObjectTemplate.setRotation 0/0/-90
ObjectTemplate.addTemplate Sub7C_HullWing
ObjectTemplate.setPosition 0/-3.0/30
ObjectTemplate.setRotation 0/0/-90
ObjectTemplate.addTemplate Sub7CDriverSoldierSpawn
ObjectTemplate.setPosition -1169.04/-850/0
ObjectTemplate.addTemplate Sub7C_Entry
ObjectTemplate.setPosition 5/1.8/-4.5
ObjectTemplate.addTemplate Sub7C_Entry
ObjectTemplate.setPosition 5/1.8/4.5
ObjectTemplate.addTemplate Sub7C_Entry
ObjectTemplate.setPosition -5/1.8/-4.5
ObjectTemplate.addTemplate Sub7C_Entry
ObjectTemplate.setPosition -5/1.8/4.5
beginrem <----------- here it messes up, no endrem between
ObjectTemplate.addTemplate Sub7CDaiHatsuSpawner
ObjectTemplate.setPosition 0.6/2.16/-9.378
endrem <--------------- first endrem, should mean read code that comes next
heres one problem, does it starts addtemplate things to the ObjectTemplate.Active Sub7C that was set longer up in the code?
ObjectTemplate.addTemplate Sub7C_Camera
ObjectTemplate.setPosition 0/9/3.8
ObjectTemplate.addTemplate Sub7C_RudderFrontL
ObjectTemplate.setPosition -1.099/-1.499/25
ObjectTemplate.addTemplate Sub7C_RudderFrontR
ObjectTemplate.setPosition 1.1/-1.499/25
ObjectTemplate.addTemplate Sub7C_RudderBackUDLeft
ObjectTemplate.setPosition -1.099/-1.499/-24.999
ObjectTemplate.addTemplate Sub7C_RudderBackUDRight
ObjectTemplate.setPosition 1.1/-1.499/-24.999
ObjectTemplate.addTemplate TorpedTubBundle
ObjectTemplate.setPosition 0/0/35
rem ObjectTemplate.addTemplate TorpedTub
rem ObjectTemplate.setPosition 1/-0.499/33.5
rem ObjectTemplate.addTemplate TorpedTub
rem ObjectTemplate.setPosition -1/-0.499/33.5
rem -------------------------------------
endrem <---- last endrem
ObjectTemplate.Active GatoComplex
ObjectTemplate.removeTemplate 4
rem Gato floating
ObjectTemplate.Active Gato <---------------
ObjectTemplate.addTemplate GatoFloater
ObjectTemplate.setPosition 0/-1000/32
ObjectTemplate.addTemplate GatoFloater
ObjectTemplate.setPosition -2.499/-1000/16
ObjectTemplate.addTemplate GatoFloater
ObjectTemplate.setPosition 2.5/-1000/16
ObjectTemplate.addTemplate GatoFloater
ObjectTemplate.setPosition -3.499/-1000/0
ObjectTemplate.addTemplate GatoFloater
ObjectTemplate.setPosition 3.5/-1000/0
ObjectTemplate.addTemplate GatoFloater
ObjectTemplate.setPosition -2.499/-1000/-15.999
ObjectTemplate.addTemplate GatoFloater
ObjectTemplate.setPosition 2.5/-1000/-15.999
ObjectTemplate.addTemplate GatoFloater
ObjectTemplate.setPosition 0/-1000/-31.999
rem island spawn offset920
beginrem <---------------------------------------
rem *** GatoComplex ***
ObjectTemplate.Active Bundle GatoComplex
ObjectTemplate.setNetworkableInfo GatoBodyInfo
ObjectTemplate.geometry Gato_Hull_m1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate SubmarineSonar
ObjectTemplate.addTemplate GatoEngine
ObjectTemplate.setPosition 0/0/-30
ObjectTemplate.addTemplate GatoRudder
ObjectTemplate.setPosition 0/-3/-30
ObjectTemplate.setRotation 0/0/-90
ObjectTemplate.addTemplate GatoHullWing
ObjectTemplate.setPosition 0/-3/30
ObjectTemplate.setRotation 0/0/-90
ObjectTemplate.addTemplate GatoDriverSoldierSpawn
ObjectTemplate.setPosition -1029/-850/0
ObjectTemplate.addTemplate GatoEntry
ObjectTemplate.setPosition 5/1.9/18.5
ObjectTemplate.addTemplate GatoEntry
ObjectTemplate.setPosition 5/1.9/10.5
ObjectTemplate.addTemplate GatoEntry
ObjectTemplate.setPosition -5/1.9/18.5
ObjectTemplate.addTemplate GatoEntry
ObjectTemplate.setPosition -5/1.9/10.5
beginrem <-------------------------------------------------
ObjectTemplate.addTemplate GatoDaiHatsuSpawner
ObjectTemplate.setPosition 1.54/2.55/5.44
endrem <---------------------------------------------------------
ObjectTemplate.addTemplate GatoCamera
ObjectTemplate.setPosition 0/14.9/20.2
ObjectTemplate.addTemplate GatoRudderFrontL
ObjectTemplate.setPosition -1.358/-0.776/47.214
ObjectTemplate.addTemplate GatoRudderFrontR
ObjectTemplate.setPosition 1.359/-0.776/47.214
ObjectTemplate.addTemplate GatoRudderBackUD
ObjectTemplate.setPosition 0/-3.317/-33.502
ObjectTemplate.addTemplate TorpedTubBundle
ObjectTemplate.setPosition 0/0/60
rem ObjectTemplate.addTemplate TorpedTub
rem ObjectTemplate.setPosition 1.6/-0.499/57.7
rem ObjectTemplate.addTemplate TorpedTub
rem ObjectTemplate.setPosition -1.6/-0.499/57.7
ObjectTemplate.addTemplate GatoRadar
ObjectTemplate.setPosition 0/10.177/19.022
rem -------------------------------------
endrem <------------------------------------------------------
rem make auto chutes
ObjectTemplate.Active Sub7CDriverSoldierSpawn <---------- just a comment on this, i cant see it doing anything in this form, maybe have been used before? perhaps just remove it for now.
rem Sub7c island spawn
rem *** Sub7CDriverSoldierSpawn ***
ObjectTemplate.Active SpawnPoint Sub7CDriverSoldierSpawn
ObjectTemplate.setSpawnRotation 0/0/0
ObjectTemplate.setSpawnPositionOffset 0/0/0
ObjectTemplate.setSpawnPreventionDelay 0
ObjectTemplate.setSpawnId 0
ObjectTemplate.setGroup 78
rem ObjectTemplate.setEnterOnSpawn 1
ObjectTemplate.setAIEnterOnSpawn 1
ObjectTemplate.setSpawnAsParaTroper 0
rem make auto chutes
ObjectTemplate.Active GatoDriverSoldierSpawn <---------- just a comment on this to, i cant see it doing anything in this form, maybe have been used before? perhaps just remove it for now.
rem Gato island spawn
rem *** GatoDriverSoldierSpawn ***
ObjectTemplate.Active SpawnPoint GatoDriverSoldierSpawn
ObjectTemplate.setSpawnRotation 0/0/0
ObjectTemplate.setSpawnPositionOffset 0/0/0
ObjectTemplate.setSpawnPreventionDelay 0
ObjectTemplate.setSpawnId 0
ObjectTemplate.setGroup 79
rem ObjectTemplate.setEnterOnSpawn 1
ObjectTemplate.setAIEnterOnSpawn 1
ObjectTemplate.setSpawnAsParaTroper 0
-
- Posts: 77
- Joined: Mon Jul 30, 2012 5:12 am
Re: Game ending Problem
Yes will fix it and test, but I doubt it is problem as that happened only in last test when I added the soldier spawns off sub directly into soldier spawn con, I just remmed out instead of removing the offset from sub location, the rem in middle was EAs original which I didnt notice. The ObjectTemplate.Active Sub7CDriverSoldierSpawn was for same as they were parachute spawns then, because they were not a absolute location, they would rise with sub, so it was ObjectTemplate.setSpawnAsParaTroper 1 because I was just testing trying to find problem I just left and changed back to 0
Will clean it up and try again to check
In the version with spawns linked to apcs on island that section isnt even there, and game would not end, however subs were set in fixed position and dont die because spawns die with apc, does sub have to die also ? It keeps coming back to spawn point manager, I even tried making ObjectTemplate.Active SpawnPoint gatoDriverSoldierSpawn set group for apc instead but it looks correct, code posted below
Will clean it up and try again to check
In the version with spawns linked to apcs on island that section isnt even there, and game would not end, however subs were set in fixed position and dont die because spawns die with apc, does sub have to die also ? It keeps coming back to spawn point manager, I even tried making ObjectTemplate.Active SpawnPoint gatoDriverSoldierSpawn set group for apc instead but it looks correct, code posted below
Code: Select all
spawnPointManager.group 1
spawnPointManager.groupTeam 1
spawnPointManager.EnableToChangeTeam 0
spawnPointManager.groupIcon test1.tga
rem spawnPointManager.groupStatus 0
spawnPointManager.group 2
spawnPointManager.groupTeam 2
spawnPointManager.EnableToChangeTeam 0
spawnPointManager.groupIcon test1.tga
rem spawnPointManager.groupStatus 0
rem -------------------------------------------------------------------
rem *** Enterprise Driver ***
spawnPointManager.group 72
spawnPointManager.groupTeam 2
spawnPointManager.groupIcon test2.tga
spawnPointManager.groupEnableToChangeTeam 0
spawnPointManager.onlyForHuman 1
rem spawnPointManager.groupStatus 0
rem *** Enterprise Lcvp ***
spawnPointManager.group 73
spawnPointManager.groupTeam 2
spawnPointManager.groupEnableToChangeTeam 0
spawnPointManager.groupIcon test2.tga
rem spawnPointManager.groupStatus 0
rem *** Enterprise AirCraft ***
spawnPointManager.group 74
spawnPointManager.groupTeam 2
spawnPointManager.groupEnableToChangeTeam 0
spawnPointManager.groupIcon test2.tga
rem spawnPointManager.groupStatus 0
rem -------------------------------------------------------------------
rem *** Shokaku Driver ***
spawnPointManager.group 75
spawnPointManager.groupTeam 1
spawnPointManager.groupEnableToChangeTeam 0
spawnPointManager.groupIcon test2.tga
spawnPointManager.onlyForHuman 1
rem spawnPointManager.groupStatus 0
rem *** Shokaku Lcvp ***
spawnPointManager.group 76
spawnPointManager.groupTeam 1
spawnPointManager.groupEnableToChangeTeam 0
spawnPointManager.groupIcon test2.tga
rem spawnPointManager.groupStatus 0
rem *** Shokaku AirCraft ***
spawnPointManager.group 77
spawnPointManager.groupTeam 1
spawnPointManager.groupEnableToChangeTeam 0
spawnPointManager.groupIcon test2.tga
rem spawnPointManager.groupStatus 0
rem -------------------------------------------------------------------
rem -------------------------------------------------------------------
rem *** Fletcher Driver ***
spawnPointManager.group 68
spawnPointManager.groupTeam 2
spawnPointManager.EnableToChangeTeam 0
rem *** Fletcher ***
spawnPointManager.group 69
spawnPointManager.groupTeam 2
spawnPointManager.EnableToChangeTeam 0
rem -------------------------------------------------------------------
rem *** Hatsuzuki Driver ***
spawnPointManager.group 70
spawnPointManager.groupTeam 1
spawnPointManager.EnableToChangeTeam 0
rem *** Hatsuzuki ***
spawnPointManager.group 71
spawnPointManager.groupTeam 1
spawnPointManager.EnableToChangeTeam 0
rem *** Sub7C ***
spawnPointManager.group 78
spawnPointManager.groupTeam 1
spawnPointManager.EnableToChangeTeam 0
rem *** Gato ***
spawnPointManager.group 79
spawnPointManager.groupTeam 2
spawnPointManager.EnableToChangeTeam 0
Code: Select all
ObjectTemplate.create ObjectSpawner willyspawner
ObjectTemplate.setObjectTemplate 2 Elco80
ObjectTemplate.setObjectTemplate 1 Type38
ObjectTemplate.SpawnDelay 21
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.TimeToLive 25
ObjectTemplate.Distance 10
ObjectTemplate.DamageWhenLost 20
ObjectTemplate.create ObjectSpawner DestroyerSpawner
ObjectTemplate.setObjectTemplate 2 fletcher
ObjectTemplate.setObjectTemplate 1 hatsuzuki
ObjectTemplate.SpawnDelay 90
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.TimeToLive 60
ObjectTemplate.Distance 200
ObjectTemplate.teamOnVehicle 1
ObjectTemplate.create ObjectSpawner carrierSpawner_1
ObjectTemplate.setObjectTemplate 1 Hiryu
ObjectTemplate.SpawnDelay 60
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.TimeToLive 120
ObjectTemplate.Distance 200
ObjectTemplate.teamOnVehicle 1
ObjectTemplate.nrOfObjectToSpawn 1
ObjectTemplate.create ObjectSpawner carrierSpawner_2
ObjectTemplate.setObjectTemplate 2 Hornet
ObjectTemplate.SpawnDelay 60
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.TimeToLive 120
ObjectTemplate.Distance 200
ObjectTemplate.teamOnVehicle 2
ObjectTemplate.nrOfObjectToSpawn 1
ObjectTemplate.create ObjectSpawner lighttankspawner
ObjectTemplate.setObjectTemplate 2 enterprise
ObjectTemplate.setObjectTemplate 1 shokaku
ObjectTemplate.SpawnDelay 60
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.TimeToLive 120
ObjectTemplate.Distance 200
ObjectTemplate.teamOnVehicle 1
ObjectTemplate.nrOfObjectToSpawn 1
rem -------------------------------------------------------------------
ObjectTemplate.create ObjectSpawner heavytankspawner
ObjectTemplate.setObjectTemplate 2 M3GMC
ObjectTemplate.setObjectTemplate 1 SturmGeschutz
ObjectTemplate.SpawnDelay 120
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.TimeToLive 120
ObjectTemplate.Distance 200
ObjectTemplate.create ObjectSpawner APCSpawner
ObjectTemplate.setObjectTemplate 2 M3A1
ObjectTemplate.setObjectTemplate 1 Hanomag
ObjectTemplate.SpawnDelay 60
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.TimeToLive 30
ObjectTemplate.Distance 50
ObjectTemplate.teamOnVehicle 1
ObjectTemplate.nrOfObjectToSpawn 2
ObjectTemplate.create ObjectSpawner ScoutCarSpawner
ObjectTemplate.setObjectTemplate 2 Gato
ObjectTemplate.setObjectTemplate 1 Sub7C
ObjectTemplate.MinSpawnDelay 60
ObjectTemplate.MaxSpawnDelay 60
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.TimeToLive 1
ObjectTemplate.Distance 40
ObjectTemplate.teamOnVehicle 1
ObjectTemplate.DamageWhenLost 100
rem ObjectTemplate.nrOfObjectToSpawn 2
ObjectTemplate.create ObjectSpawner AAGunSpawner
ObjectTemplate.setObjectTemplate 2 AA_allies
ObjectTemplate.setObjectTemplate 1 flak38
ObjectTemplate.SpawnDelay 60
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.TimeToLive 120
ObjectTemplate.Distance 200
ObjectTemplate.create ObjectSpawner FighterSpawner
ObjectTemplate.setObjectTemplate 2 Spitfire
ObjectTemplate.setObjectTemplate 1 bf109
ObjectTemplate.SpawnDelay 60
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.TimeToLive 120
ObjectTemplate.Distance 200
ObjectTemplate.create ObjectSpawner LevelBomberSpawner
ObjectTemplate.setObjectTemplate 2 Mosquito
ObjectTemplate.setObjectTemplate 1 bf110
ObjectTemplate.MinSpawnDelay 40
ObjectTemplate.MaxSpawnDelay 80
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.TimeToLive 45
ObjectTemplate.Distance 40
ObjectTemplate.DamageWhenLost 10
ObjectTemplate.create ObjectSpawner DiveBomberSpawner
ObjectTemplate.setObjectTemplate 2 mustang
ObjectTemplate.setObjectTemplate 1 stuka
ObjectTemplate.SpawnDelay 60
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.TimeToLive 120
ObjectTemplate.Distance 200
ObjectTemplate.create ObjectSpawner HeavyBomberSpawner
ObjectTemplate.setObjectTemplate 2 B17
ObjectTemplate.setObjectTemplate 1 B17
ObjectTemplate.SpawnDelay 180
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.TimeToLive 120
ObjectTemplate.Distance 200
ObjectTemplate.create ObjectSpawner MachinegunSpawner
ObjectTemplate.setObjectTemplate 2 Stationary_browning
ObjectTemplate.setObjectTemplate 1 Stationary_mg42
ObjectTemplate.SpawnDelay 60
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.TimeToLive 120
ObjectTemplate.Distance 200
ObjectTemplate.create ObjectSpawner ArtillerySpawner
ObjectTemplate.setObjectTemplate 2 Priest
ObjectTemplate.setObjectTemplate 1 Wespe
ObjectTemplate.SpawnDelay 60
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.TimeToLive 120
ObjectTemplate.Distance 200
ObjectTemplate.create ObjectSpawner lcvpSpawner
ObjectTemplate.setObjectTemplate 2 lcvp
ObjectTemplate.setObjectTemplate 1 daihatsu
ObjectTemplate.SpawnDelay 20
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.TimeToLive 30
ObjectTemplate.Distance 20
ObjectTemplate.create ObjectSpawner DefgunSpawner
ObjectTemplate.setObjectTemplate 2 Defgun
ObjectTemplate.setObjectTemplate 1 Defgun
ObjectTemplate.SpawnDelay 180
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.TimeToLive 120
ObjectTemplate.Distance 200
rem -------------------------------------------------------------------
rem tough carriers
ObjectTemplate.Active Enterprise
ObjectTemplate.hitpoints 1000
ObjectTemplate.maxhitpoints 1000
rem Removing all the soldier spawners of the enterprise
rem
ObjectTemplate.Active EnterpriseComplex
ObjectTemplate.removeTemplate 12
ObjectTemplate.removeTemplate 11
ObjectTemplate.removeTemplate 10
ObjectTemplate.removeTemplate 9
ObjectTemplate.removeTemplate 8
ObjectTemplate.removeTemplate 7
ObjectTemplate.removeTemplate 6
ObjectTemplate.removeTemplate 5
ObjectTemplate.removeTemplate 4
rem *** Making it immobile...
ObjectTemplate.Active Enterprise_Engine
ObjectTemplate.setAcceleration 0/0/0
rem *** Removing the spawnpoints from the fletcher ***
ObjectTemplate.Active Fletcher
ObjectTemplate.removeTemplate 11
ObjectTemplate.removeTemplate 10
ObjectTemplate.removeTemplate 9
rem *** Adding them to the Enterprise ***
ObjectTemplate.Active EnterpriseComplex
ObjectTemplate.addTemplate FletcherSoldierSpawn
ObjectTemplate.setPosition -1.5/20.4/-113.5
ObjectTemplate.addTemplate FletcherSoldierSpawn
ObjectTemplate.setPosition 3.9/20.4/-100.5
ObjectTemplate.addTemplate FletcherDriverSoldierSpawn
ObjectTemplate.setPosition -13.949/12.4/-67.999
ObjectTemplate.addTemplate FletcherDriverSoldierSpawn
ObjectTemplate.setPosition 13.95/12.4/-67.999
ObjectTemplate.addTemplate Enterprise_corsairSpawner
ObjectTemplate.setPosition -4.999/19.63/-110.999
ObjectTemplate.setRotation -3/-13/0
ObjectTemplate.addTemplate Enterprise_corsairSpawner
ObjectTemplate.setPosition 7.2/19.63/-94.999
ObjectTemplate.setRotation -15/-12.7/0
rem tough carriers
ObjectTemplate.Active Shokaku
ObjectTemplate.hitpoints 1000
ObjectTemplate.maxhitpoints 1000
rem Same for Axis
ObjectTemplate.Active ShokakuComplex
ObjectTemplate.removeTemplate 7
ObjectTemplate.removeTemplate 6
ObjectTemplate.removeTemplate 5
ObjectTemplate.removeTemplate 4
ObjectTemplate.removeTemplate 3
ObjectTemplate.removeTemplate 2
ObjectTemplate.removeTemplate 1
ObjectTemplate.removeTemplate 0
ObjectTemplate.Active ShokakuEngine
ObjectTemplate.setAcceleration 0/0/0
rem *** Removing the spawnpoints from the hatz ***
ObjectTemplate.Active Hatsuzuki
ObjectTemplate.removeTemplate 11
ObjectTemplate.removeTemplate 10
ObjectTemplate.removeTemplate 9
ObjectTemplate.Active ShokakuComplex
ObjectTemplate.addTemplate HatsuzukiDriverSoldierSpawn
ObjectTemplate.setPosition 8.5/13/35
ObjectTemplate.addTemplate HatsuzukiDriverSoldierSpawn
ObjectTemplate.setPosition 8.5/13/38
ObjectTemplate.addTemplate HatsuzukiSoldierSpawn
ObjectTemplate.setPosition -6.779/13.5/-50
ObjectTemplate.addTemplate HatsuzukiSoldierSpawn
ObjectTemplate.setPosition 5.9/13.5/-33
ObjectTemplate.addTemplate ShokakuZeroSpawner
ObjectTemplate.setPosition -7.899/13.655/-47
ObjectTemplate.setRotation 0/-12.2/0
ObjectTemplate.addTemplate ShokakuZeroSpawner
ObjectTemplate.setPosition 7.2/13.655/-30
ObjectTemplate.setRotation -9.999/-11.499/0.02
rem *** floatin' in the sky! ***
ObjectTemplate.Active Hatsuzuki
ObjectTemplate.addTemplate HatsuzukiFloater
ObjectTemplate.setPosition -1.999/-1000/50
ObjectTemplate.addTemplate HatsuzukiFloater
ObjectTemplate.setPosition 2/-1000/50
ObjectTemplate.addTemplate HatsuzukiFloater
ObjectTemplate.setPosition -4.999/-1000/17
ObjectTemplate.addTemplate HatsuzukiFloater
ObjectTemplate.setPosition 5/-1000/17
ObjectTemplate.addTemplate HatsuzukiFloater
ObjectTemplate.setPosition -4.999/-1000/-16.999
ObjectTemplate.addTemplate HatsuzukiFloater
ObjectTemplate.setPosition 5/-1000/-16.999
ObjectTemplate.addTemplate HatsuzukiFloater
ObjectTemplate.setPosition -1.999/-1000/-49.999
ObjectTemplate.addTemplate HatsuzukiFloater
ObjectTemplate.setPosition 2/-1000/-49.999
rem *** floatin' in the sky! ***
ObjectTemplate.Active Fletcher
ObjectTemplate.addTemplate Fletcher_Floater
ObjectTemplate.setPosition -1.999/-1000/50
ObjectTemplate.addTemplate Fletcher_Floater
ObjectTemplate.setPosition 2/-1000/50
ObjectTemplate.addTemplate Fletcher_Floater
ObjectTemplate.setPosition -4.999/-1000/17
ObjectTemplate.addTemplate Fletcher_Floater
ObjectTemplate.setPosition 5/-1000/17
ObjectTemplate.addTemplate Fletcher_Floater
ObjectTemplate.setPosition -4.999/-1000/-16.999
ObjectTemplate.addTemplate Fletcher_Floater
ObjectTemplate.setPosition 5/-1000/-16.999
ObjectTemplate.addTemplate Fletcher_Floater
ObjectTemplate.setPosition -1.999/-1000/-49.999
ObjectTemplate.addTemplate Fletcher_Floater
ObjectTemplate.setPosition 2/-1000/-49.999
rem
rem *** Making the old carriers have quick respawning
rem *** planes like the new ones.
rem
rem *** Enterprise_corsairSpawner ***
ObjectTemplate.Active Enterprise_corsairSpawner
ObjectTemplate.setObjectTemplate 1 corsair
ObjectTemplate.setObjectTemplate 2 corsair
ObjectTemplate.minSpawnDelay 10
ObjectTemplate.maxSpawnDelay 10
ObjectTemplate.TimeToLive 120
ObjectTemplate.Distance 20
ObjectTemplate.spawnOffset 0/0/0
ObjectTemplate.holdObject 1
ObjectTemplate.MaxNrOfObjectSpawned 4
rem
rem *** Enterprise_sbdSpawner ***
ObjectTemplate.Active Enterprise_sbdSpawner
ObjectTemplate.setObjectTemplate 1 SBD
ObjectTemplate.setObjectTemplate 2 SBD
ObjectTemplate.minSpawnDelay 10
ObjectTemplate.maxSpawnDelay 10
ObjectTemplate.TimeToLive 120
ObjectTemplate.Distance 20
ObjectTemplate.spawnOffset 0/0/0
ObjectTemplate.holdObject 1
ObjectTemplate.MaxNrOfObjectSpawned 6
rem
rem *** ShokakuZeroSpawner ***
ObjectTemplate.Active ShokakuZeroSpawner
ObjectTemplate.setObjectTemplate 1 Zero
ObjectTemplate.setObjectTemplate 2 Zero
ObjectTemplate.holdObject 0
ObjectTemplate.minSpawnDelay 10
ObjectTemplate.maxSpawnDelay 10
ObjectTemplate.TimeToLive 120
ObjectTemplate.Distance 20
ObjectTemplate.spawnOffset 0/0/0
ObjectTemplate.MaxNrOfObjectSpawned 4
beginrem
rem
rem *** ShokakuAichiValSpawner ***
ObjectTemplate.Active ShokakuAichiValSpawner
ObjectTemplate.setObjectTemplate 1 AichiVal
ObjectTemplate.setObjectTemplate 2 AichiVal
ObjectTemplate.holdObject 1
ObjectTemplate.minSpawnDelay 10
ObjectTemplate.maxSpawnDelay 10
ObjectTemplate.TimeToLive 120
ObjectTemplate.Distance 20
ObjectTemplate.spawnOffset 0/0/0
ObjectTemplate.MaxNrOfObjectSpawned 6
endrem
rem -------------------------------------------------------------------
rem islandspawns
ObjectTemplate.Active Sub7CComplex
ObjectTemplate.removeTemplate 4
rem Sub7c floating
ObjectTemplate.Active Sub7C
ObjectTemplate.addTemplate Sub7C_Floater
ObjectTemplate.setPosition 0/-1000/32
ObjectTemplate.addTemplate Sub7C_Floater
ObjectTemplate.setPosition -2.499/-1000/16
ObjectTemplate.addTemplate Sub7C_Floater
ObjectTemplate.setPosition 2.5/-1000/16
ObjectTemplate.addTemplate Sub7C_Floater
ObjectTemplate.setPosition -3.499/-1000/0
ObjectTemplate.addTemplate Sub7C_Floater
ObjectTemplate.setPosition 3.5/-1000/0
ObjectTemplate.addTemplate Sub7C_Floater
ObjectTemplate.setPosition -2.499/-1000/-15.999
ObjectTemplate.addTemplate Sub7C_Floater
ObjectTemplate.setPosition 2.5/-1000/-15.999
ObjectTemplate.addTemplate Sub7C_Floater
ObjectTemplate.setPosition 0/-1000/-31.999
rem apcspawns
ObjectTemplate.active hanomag
ObjectTemplate.addTemplate Sub7CDriverSoldierSpawn
ObjectTemplate.setPosition 0/0/-2
ObjectTemplate.timeToLive CRD_NONE/60/0/0
ObjectTemplate.Active Sub7CDriverSoldierSpawn
rem *** Sub7CDriverSoldierSpawn ***
ObjectTemplate.Active SpawnPoint Sub7CDriverSoldierSpawn
ObjectTemplate.setSpawnRotation 0/0/0
ObjectTemplate.setSpawnPositionOffset 0/0/0
ObjectTemplate.setSpawnPreventionDelay 0
ObjectTemplate.setSpawnId 0
ObjectTemplate.setGroup 78
rem ObjectTemplate.setEnterOnSpawn 1
ObjectTemplate.setAIEnterOnSpawn 1
ObjectTemplate.setSpawnAsParaTroper 0
ObjectTemplate.Active GatoComplex
ObjectTemplate.removeTemplate 4
rem Gato floating
ObjectTemplate.Active Gato
ObjectTemplate.addTemplate GatoFloater
ObjectTemplate.setPosition 0/-1000/32
ObjectTemplate.addTemplate GatoFloater
ObjectTemplate.setPosition -2.499/-1000/16
ObjectTemplate.addTemplate GatoFloater
ObjectTemplate.setPosition 2.5/-1000/16
ObjectTemplate.addTemplate GatoFloater
ObjectTemplate.setPosition -3.499/-1000/0
ObjectTemplate.addTemplate GatoFloater
ObjectTemplate.setPosition 3.5/-1000/0
ObjectTemplate.addTemplate GatoFloater
ObjectTemplate.setPosition -2.499/-1000/-15.999
ObjectTemplate.addTemplate GatoFloater
ObjectTemplate.setPosition 2.5/-1000/-15.999
ObjectTemplate.addTemplate GatoFloater
ObjectTemplate.setPosition 0/-1000/-31.999
rem apcspawns
ObjectTemplate.active M3A1
ObjectTemplate.addTemplate gatoDriverSoldierSpawn
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.timeToLive CRD_NONE/60/0/0
ObjectTemplate.Active gatoDriverSoldierSpawn
rem *** GatoDriverSoldierSpawn ***
ObjectTemplate.Active SpawnPoint gatoDriverSoldierSpawn
ObjectTemplate.setSpawnRotation 0/0/0
ObjectTemplate.setSpawnPositionOffset 0/0/0
ObjectTemplate.setSpawnPreventionDelay 0
ObjectTemplate.setSpawnId 0
ObjectTemplate.setGroup 79
rem ObjectTemplate.setEnterOnSpawn 1
ObjectTemplate.setAIEnterOnSpawn 1
ObjectTemplate.setSpawnAsParaTroper 0
Last edited by Old Man River on Thu Aug 02, 2012 1:26 pm, edited 1 time in total.
Re: Game ending Problem
In the latest Coral mod i used i only had one axis sub spawned for extra spawnpoint and i just put it 1000 meters up with the holdobject code, and that worked fine.Old Man River wrote: does sub have to die also ?
I know sometime in the past i addtemplated the subspawner directly to the carrier and gave the sub a high SpeedMod value, that way when the carrier is sunk the sub will fall down and be destroyed.
I also had a four carrier mod with about the same vehicles that you use, i will see if i still have it somewhere and check the code.
-
- Posts: 77
- Joined: Mon Jul 30, 2012 5:12 am
Re: Game ending Problem
I ran the mod directly above twice tonight, with subs in fixed position with their spawns added to a apc on islands, first time I destroyed the apc the twice it is allowed to spawn before both carriers were sunk, game ended fine as there were few players and they were all dead with no where to spawn, In second trial with full server carriers were sunk first then apc destroyed the 2 times, game did not end even with no where to spawn, as there was players still alive.
So it has to be something with spawnPointManager.EnableToChangeTeam 0 in the spms con, but I cant find it, cant see a typo or anything else grrrrrr
So it has to be something with spawnPointManager.EnableToChangeTeam 0 in the spms con, but I cant find it, cant see a typo or anything else grrrrrr
Re: Game ending Problem
I couldn´t find my four carriers mod so i cant compare codes. Its a bit tricky to know when the game reads the different files, for example if i put in codes to change the damage system in ost.con it doesnt work , witch must mean that the game.rfa or some of the files in game.rfa is read after the maps ost.con.
I looked at the new code you posted an i think some lines shouldnt need to be in ost.con, i dont know they apllies at all, but if you look at them they havent the line "spawnPointManager.EnableToChangeTeam 0" in them
I looked at the new code you posted an i think some lines shouldnt need to be in ost.con, i dont know they apllies at all, but if you look at them they havent the line "spawnPointManager.EnableToChangeTeam 0" in them
Code: Select all
ObjectTemplate.Active Sub7CDriverSoldierSpawn
rem *** Sub7CDriverSoldierSpawn ***
ObjectTemplate.Active SpawnPoint Sub7CDriverSoldierSpawn
ObjectTemplate.setSpawnRotation 0/0/0
ObjectTemplate.setSpawnPositionOffset 0/0/0
ObjectTemplate.setSpawnPreventionDelay 0
ObjectTemplate.setSpawnId 0
ObjectTemplate.setGroup 78
rem ObjectTemplate.setEnterOnSpawn 1
ObjectTemplate.setAIEnterOnSpawn 1
ObjectTemplate.setSpawnAsParaTroper 0
ObjectTemplate.Active gatoDriverSoldierSpawn
rem *** GatoDriverSoldierSpawn ***
ObjectTemplate.Active SpawnPoint gatoDriverSoldierSpawn
ObjectTemplate.setSpawnRotation 0/0/0
ObjectTemplate.setSpawnPositionOffset 0/0/0
ObjectTemplate.setSpawnPreventionDelay 0
ObjectTemplate.setSpawnId 0
ObjectTemplate.setGroup 79
rem ObjectTemplate.setEnterOnSpawn 1
ObjectTemplate.setAIEnterOnSpawn 1
ObjectTemplate.setSpawnAsParaTroper 0
Re: Game ending Problem
I think i may have found the problem, i hope so anyway.
i ran some commands throw the serverconsole and it wouldnt recognize some of it

So i started looking more carefully at the code and i found a difference
yours
the one i use
can you spot the difference?
i will hold my thumbs in hope that this is what causing the problems 
i ran some commands throw the serverconsole and it wouldnt recognize some of it

So i started looking more carefully at the code and i found a difference
yours
Code: Select all
rem *** Sub7C ***
spawnPointManager.group 78
spawnPointManager.groupTeam 1
spawnPointManager.EnableToChangeTeam 0 <------ hint
rem spawnPointManager.groupStatus 0
Code: Select all
rem *** Sub7c Driver ***
spawnPointManager.group 78
spawnPointManager.groupTeam 1
spawnPointManager.groupEnableToChangeTeam 0 <----- hint
spawnPointManager.groupIcon test2.tga
rem spawnPointManager.groupStatus 0

