[HELP] rallypoint_placeable_noexpire no show and "Unavailable for you"
Posted: 2014-02-13 21:58
I have created rallypoint files like they are with other factions. Textures are at place and meshes are valid.
This is what i have added to start of rallypoints.con:
rallypoints.con and meshes and textures are in folders "pr_fi\objects\objects_server_zip\common\rallypoints" and "pr_fi\objects\objects_clients_zip\common\rallypoints" as usual.
serverarchives.con:clientarchives.con:
Both files are naturally in map's folder in pr\levels as this a "minimod".
I can add fi-rallypoints in BFEditor and they are visible:

When i move GamePlayObjects.con from editor to FDF minimod, the rallypoint_fi_placeable_noexpire does not show at all.
Moreover, when i grab an Officer kit and try to deploy a rally point, i get an error "Unavailable for you". I have changed server settings for testing, eg.
Tried to search anything related to "rally_point" with no success. So i'm kinda stuck here :/
This is what i have added to start of rallypoints.con:
Code: Select all
CollisionManager.createTemplate rallypoint
rem ============================================================
rem ========================= FI ===============================
rem ============================================================
GeometryTemplate.create StaticMesh rallypoint_fi
ObjectTemplate.create Spawnpoint rallypoint_fi_spawnpoint
ObjectTemplate.setScatterSpawnPositions 1
ObjectTemplate.setSpawnPositionOffset 0/0/0
rem =================== FI Placeable ===========================
ObjectTemplate.create PlayerControlObject rallypoint_fi_placeable
ObjectTemplate.geometry rallypoint_fi
ObjectTemplate.collisionMesh rallypoint
ObjectTemplate.addTemplate rallypoint_fi_spawnpoint
ObjectTemplate.setPosition 0/1.0/0
include rallypoints_placeable_common.tweak
rem =================== FI Placeable No Expire =================
ObjectTemplate.create PlayerControlObject rallypoint_fi_placeable_noexpire
ObjectTemplate.geometry rallypoint_fi
ObjectTemplate.collisionMesh rallypoint
ObjectTemplate.addTemplate rallypoint_fi_spawnpoint
ObjectTemplate.setPosition 0/1.0/0
include rallypoints_placeable_common.tweak
rem =================== FI Placeable Random ===========================
ObjectTemplate.create PlayerControlObject rallypoint_fi_placeable_random
ObjectTemplate.geometry rallypoint_fi
ObjectTemplate.collisionMesh rallypoint
include rallypoints_placeable_common.tweak
rem =================== FI Placeable No Expire Random =================
ObjectTemplate.create PlayerControlObject rallypoint_fi_placeable_noexpire_random
ObjectTemplate.geometry rallypoint_fi
ObjectTemplate.collisionMesh rallypoint
include rallypoints_placeable_common.tweak
rem =================== FI Commander ===========================
ObjectTemplate.create PlayerControlObject rallypoint_fi_0
ObjectTemplate.geometry rallypoint_fi
ObjectTemplate.collisionMesh rallypoint
ObjectTemplate.addTemplate rallypoint_fi_spawnpoint
ObjectTemplate.setPosition 0/1.0/0
ObjectTemplate.createComponent StrategicObject
ObjectTemplate.StrategicObject.strategicObjectName rallypoint_fi_0
ObjectTemplate.StrategicObject.destroyedIcon Ingame\Minimap\RallyPoints\rallypoint_commander.dds
ObjectTemplate.StrategicObject.intactIcon Ingame\Minimap\RallyPoints\rallypoint_commander.dds
ObjectTemplate.StrategicObject.isOnePiece 1
ObjectTemplate.StrategicObject.3dMapIcon 0
include rallypoints_common.tweak
rem =================== FI squad 1 =============================
ObjectTemplate.create PlayerControlObject rallypoint_fi_1
ObjectTemplate.geometry rallypoint_fi
ObjectTemplate.collisionMesh rallypoint
ObjectTemplate.addTemplate rallypoint_fi_spawnpoint
ObjectTemplate.setPosition 0/1.0/0
ObjectTemplate.createComponent StrategicObject
ObjectTemplate.StrategicObject.strategicObjectName rallypoint_fi_1
ObjectTemplate.StrategicObject.destroyedIcon Ingame\Minimap\RallyPoints\rallypoint_1.dds
ObjectTemplate.StrategicObject.intactIcon Ingame\Minimap\RallyPoints\rallypoint_1.dds
ObjectTemplate.StrategicObject.isOnePiece 1
ObjectTemplate.StrategicObject.3dMapIcon 0
include rallypoints_common.tweak
rem =================== FI squad 2 =============================
ObjectTemplate.create PlayerControlObject rallypoint_fi_2
ObjectTemplate.geometry rallypoint_fi
ObjectTemplate.collisionMesh rallypoint
ObjectTemplate.addTemplate rallypoint_fi_spawnpoint
ObjectTemplate.setPosition 0/1.0/0
ObjectTemplate.createComponent StrategicObject
ObjectTemplate.StrategicObject.strategicObjectName rallypoint_fi_2
ObjectTemplate.StrategicObject.destroyedIcon Ingame\Minimap\RallyPoints\rallypoint_2.dds
ObjectTemplate.StrategicObject.intactIcon Ingame\Minimap\RallyPoints\rallypoint_2.dds
ObjectTemplate.StrategicObject.isOnePiece 1
ObjectTemplate.StrategicObject.3dMapIcon 0
include rallypoints_common.tweak
rem =================== FI squad 3 =============================
ObjectTemplate.create PlayerControlObject rallypoint_fi_3
ObjectTemplate.geometry rallypoint_fi
ObjectTemplate.collisionMesh rallypoint
ObjectTemplate.addTemplate rallypoint_fi_spawnpoint
ObjectTemplate.setPosition 0/1.0/0
ObjectTemplate.createComponent StrategicObject
ObjectTemplate.StrategicObject.strategicObjectName rallypoint_fi_3
ObjectTemplate.StrategicObject.destroyedIcon Ingame\Minimap\RallyPoints\rallypoint_3.dds
ObjectTemplate.StrategicObject.intactIcon Ingame\Minimap\RallyPoints\rallypoint_3.dds
ObjectTemplate.StrategicObject.isOnePiece 1
ObjectTemplate.StrategicObject.3dMapIcon 0
include rallypoints_common.tweak
rem =================== FI squad 4 =============================
ObjectTemplate.create PlayerControlObject rallypoint_fi_4
ObjectTemplate.geometry rallypoint_fi
ObjectTemplate.collisionMesh rallypoint
ObjectTemplate.addTemplate rallypoint_fi_spawnpoint
ObjectTemplate.setPosition 0/1.0/0
ObjectTemplate.createComponent StrategicObject
ObjectTemplate.StrategicObject.strategicObjectName rallypoint_fi_4
ObjectTemplate.StrategicObject.destroyedIcon Ingame\Minimap\RallyPoints\rallypoint_4.dds
ObjectTemplate.StrategicObject.intactIcon Ingame\Minimap\RallyPoints\rallypoint_4.dds
ObjectTemplate.StrategicObject.isOnePiece 1
ObjectTemplate.StrategicObject.3dMapIcon 0
include rallypoints_common.tweak
rem =================== FI squad 5 =============================
ObjectTemplate.create PlayerControlObject rallypoint_fi_5
ObjectTemplate.geometry rallypoint_fi
ObjectTemplate.collisionMesh rallypoint
ObjectTemplate.addTemplate rallypoint_fi_spawnpoint
ObjectTemplate.setPosition 0/1.0/0
ObjectTemplate.createComponent StrategicObject
ObjectTemplate.StrategicObject.strategicObjectName rallypoint_fi_5
ObjectTemplate.StrategicObject.destroyedIcon Ingame\Minimap\RallyPoints\rallypoint_5.dds
ObjectTemplate.StrategicObject.intactIcon Ingame\Minimap\RallyPoints\rallypoint_5.dds
ObjectTemplate.StrategicObject.isOnePiece 1
ObjectTemplate.StrategicObject.3dMapIcon 0
include rallypoints_common.tweak
rem =================== FI squad 6 =============================
ObjectTemplate.create PlayerControlObject rallypoint_fi_6
ObjectTemplate.geometry rallypoint_fi
ObjectTemplate.collisionMesh rallypoint
ObjectTemplate.addTemplate rallypoint_fi_spawnpoint
ObjectTemplate.setPosition 0/1.0/0
ObjectTemplate.createComponent StrategicObject
ObjectTemplate.StrategicObject.strategicObjectName rallypoint_fi_6
ObjectTemplate.StrategicObject.destroyedIcon Ingame\Minimap\RallyPoints\rallypoint_6.dds
ObjectTemplate.StrategicObject.intactIcon Ingame\Minimap\RallyPoints\rallypoint_6.dds
ObjectTemplate.StrategicObject.isOnePiece 1
ObjectTemplate.StrategicObject.3dMapIcon 0
include rallypoints_common.tweak
rem =================== FI squad 7 =============================
ObjectTemplate.create PlayerControlObject rallypoint_fi_7
ObjectTemplate.geometry rallypoint_fi
ObjectTemplate.collisionMesh rallypoint
ObjectTemplate.addTemplate rallypoint_fi_spawnpoint
ObjectTemplate.setPosition 0/1.0/0
ObjectTemplate.createComponent StrategicObject
ObjectTemplate.StrategicObject.strategicObjectName rallypoint_fi_7
ObjectTemplate.StrategicObject.destroyedIcon Ingame\Minimap\RallyPoints\rallypoint_7.dds
ObjectTemplate.StrategicObject.intactIcon Ingame\Minimap\RallyPoints\rallypoint_7.dds
ObjectTemplate.StrategicObject.isOnePiece 1
ObjectTemplate.StrategicObject.3dMapIcon 0
include rallypoints_common.tweak
rem =================== FI squad 8 =============================
ObjectTemplate.create PlayerControlObject rallypoint_fi_8
ObjectTemplate.geometry rallypoint_fi
ObjectTemplate.collisionMesh rallypoint
ObjectTemplate.addTemplate rallypoint_fi_spawnpoint
ObjectTemplate.setPosition 0/1.0/0
ObjectTemplate.createComponent StrategicObject
ObjectTemplate.StrategicObject.strategicObjectName rallypoint_fi_8
ObjectTemplate.StrategicObject.destroyedIcon Ingame\Minimap\RallyPoints\rallypoint_8.dds
ObjectTemplate.StrategicObject.intactIcon Ingame\Minimap\RallyPoints\rallypoint_8.dds
ObjectTemplate.StrategicObject.isOnePiece 1
ObjectTemplate.StrategicObject.3dMapIcon 0
include rallypoints_common.tweak
rem =================== FI squad 9 =============================
ObjectTemplate.create PlayerControlObject rallypoint_fi_9
ObjectTemplate.geometry rallypoint_fi
ObjectTemplate.collisionMesh rallypoint
ObjectTemplate.addTemplate rallypoint_fi_spawnpoint
ObjectTemplate.setPosition 0/1.0/0
ObjectTemplate.createComponent StrategicObject
ObjectTemplate.StrategicObject.strategicObjectName rallypoint_fi_9
ObjectTemplate.StrategicObject.destroyedIcon Ingame\Minimap\RallyPoints\rallypoint_9.dds
ObjectTemplate.StrategicObject.intactIcon Ingame\Minimap\RallyPoints\rallypoint_9.dds
ObjectTemplate.StrategicObject.isOnePiece 1
ObjectTemplate.StrategicObject.3dMapIcon 0
include rallypoints_common.tweakserverarchives.con:
Code: Select all
fileManager.mountArchive Levels/fi_test_bootcamp/objects_server.zip Objects
fileManager.mountArchive Levels/fi_base/menu/menu_server.zip Menu
fileManager.mountArchive Levels/fi_base/objects/objects_server.zip Objects
fileManager.mountArchive Levels/fi_base/faction_init.zip FactionsCode: Select all
fileManager.mountArchive Levels/fi_test_bootcamp/objects_client.zip Objects
fileManager.mountArchive Levels/fi_test_bootcamp/common_client.zip Common
fileManager.mountArchive Levels/fi_base/menu/menu_client.zip Menu
fileManager.mountArchive Levels/fi_base/objects/objects_client.zip ObjectsI can add fi-rallypoints in BFEditor and they are visible:
When i move GamePlayObjects.con from editor to FDF minimod, the rallypoint_fi_placeable_noexpire does not show at all.
Moreover, when i grab an Officer kit and try to deploy a rally point, i get an error "Unavailable for you". I have changed server settings for testing, eg.
Code: Select all
# Teams that use the squad rally point system
# Default is ch, gb, mec, us, usa, cf, chinsurgent, ru, arf, taliban, idf, hamas, ger, vnusa, vnusmc, vnnva, gb82, arg82, fr
C['RALLY_TEAMS'] = [ 'fi', 'ch', 'gb', 'mec', 'us', 'usa', 'cf', 'chinsurgent', 'ru', 'taliban', 'idf', 'hamas', 'ger', 'vnusa', 'vnusmc', 'vnnva', 'gb82', 'arg82', 'fr' ]Code: Select all
# Min number of players required in the squad to set a squad rally point
# Default is 2
C['RALLY_LIMIT_SQUAD'] = 0Code: Select all
# Min number of close by squad members when setting rally points (must be lower than RALLY_LIMIT_SQUAD)
# Default is 2
C['RALLY_CLOSE_SQUAD'] = 1