Florida_Guardsmen 0 Posted December 30, 2006 I am very new to scripting, and am just now starting to figure it out. However, the CoC CE engine is very difficult (to me...) to work out. Could someone here help me? First of all: I've gone through the explaination of it in the documentation, yet for some reason, though I've done exactly what it says, it doesn't work. Here is my userinit.sqs information: Quote[/b] ];Initialization file for mission designer input;groupcolor definitions, do not edit------------------------------- _none = "Groupcolor0"; _black = "Groupcolor1"; _red = "Groupcolor2"; _green = "Groupcolor3" _blue = "Groupcolor4"; _yellow = "Groupcolor5"; _orange = "Groupcolor6"; _pink = "Groupcolor7" ;behaviour sets, do not edit----------------------------------------- _nc = rBehavList_NoChange _assault = rBehavList_Assault _travel = rBehavList_Travel _march = rBehavList_March _cautious = rBehavList_Cautious _stealth = rBehavList_Stealth _safe = rBehavList_Safe _careless = rBehavList_Careless ;waypoint actions, do not edit--------------------------------------- _proceed = "WP_NONE" _for = "WP_WAITFOR" _till = "WP_WAITTILL" _wait = "WP_WAIT" _unload = "WP_UNLOAD" _cycle = "WP_CYCLE" ;support asset and mission types, do not edit----------------------------------- _virtual_arty = 0 Â _strike = 0 _helo = 1 Â _cas = 0 Â _patrol = 1 _custom = 2 Â _support = 0 ;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxx ;Command Engine settings ;defining the opposing sides------------------------------------- ;Resistance must not appear in both sides ;blue side can be [West], [Resistance], [West, Resistance] rBlueSide = [West] ;red side can be [East], [Resistance], [East, Resistance] rRedSide = [East] ;side of the player, either rBlueSide or rRedSide rFriendlySide = rBlueSide ;Save game options------------------------------------------------ rAllowSave = true rMaxNumSave = 666 rTimeLastSave = -99999999 rMinSaveInterval = 0 ;definition of subordinate groups------------------------------ _player = [squad0, "HQ", ["Alpha", _none], 0.5, "marker_squad0", [""], -1, []] Â Â Â _squad1 = [squad1, "INF", ["Bravo", _blue], 0.5, "marker_squad1", [""], -1, []] Â Â Â _squad2 = [squad2, "INF', ["Charlie", _blue], 0.5, "marker_squad2", [""], -1, []] rSquadParameters = [_squad0, _squad1, _squad2] rPlatoonCommandStructure = [[0], [1,2], [], [], [], [], []] rTeamFormations = [[], [], [], [], [], [], []] ;command settings-------------------------------------------------- rPlatoonDetectionThreshold = 1000 rPlatoonMaxDisplay = 2000 rShowGroupName = true rRemoteCameraMode = "GROUP" rShowActionMenu = true rUseHierarchicalStructure = true rAllowUserTransfer = true rAllowUserTranportAssignment = true rAllowUserTeamAssignment = true rAllowUserTakeCommand = true ;time slowdown----------------------------------------------------- rAllowTimeSlowdown = true rSlowdownFactor = 0.1 ;support settings--------------------------------------------------- rShowSupportMenu = true rSupportHQ = "Base" rSupportAssets = [] rSupportPlayerVisible = [] rSupportSchedule = [] rSupportPlayerPreplan = [] ;special menu settings-------------------------------------------- rShowSpecialMenu = true rSpecialMenuMain = ["null", "null", "null", "null", "null", "null", "null"] Â rSpecialMenuSub1 = ["null", "null", "null", "null", "null", "null", "null"] Â rSpecialMenuSub2 = ["null", "null", "null", "null", "null", "null", "null"] Â rSpecialMenuSub3 = ["null", "null", "null", "null", "null", "null", "null"] Â rSpecialMenuSub4 = ["null", "null", "null", "null", "null", "null", "null"] Â rSpecialMenuSub5 = ["null", "null", "null", "null", "null", "null", "null"] Â rSpecialMenuSub6 = ["null", "null", "null", "null", "null", "null", "null"] Â rSpecialMenuSub7 = ["null", "null", "null", "null", "null", "null", "null"] ;map display settings--------------------------------------- rUpdatePlatoonDisplay = true rUpdateWaypointDisplay = true rUpdateEnemyDisplay = true rUpdateSpecialDisplay = false rSpecialMarkers = [] rPlatoonMarkerSize = [0.5, 0.5] rWaypointMarkerSize = [0.75, 0.75] rEnemyMarkerSize = [0.75, 0.75] rSpecialMarkerSize = [0.75, 0.75] ;custom vehicles----------------------------------------------------- rAllowVehicleUsage = true rCustomVehicles = [] ;custom vehicle classes (for addons used)------------------- rClassListCarUser = [] rClassListTankUser = [] rClassListMixedUser = [] rClassListHeliUser = [] rClassListPlaneUser = [] rClassListSmallShipUser = [] rClassListBigShipUser = [] ;custom soldier classes (for addons used)------------------- rWestSoldiersUser = [] rEastSoldiersUser = [] rResistanceSoldiersUser = [] ;do not edit below this line xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx [] exec "prebriefingstuff.sqs" When I get into the game, it says "_squad2 = [squad2, "INF', ["Charlie", _blue], 0.5, "marker_squad2", [""], -1, []] Unknown Operator "Charlie" " or something to that effect. Whats up with that? Thank you very much for any help you all offer a poor noob. I appreciate it. Share this post Link to post Share on other sites
Snake Man 407 Posted December 30, 2006 Look reference from the many CoC CE missions from PMC, there you should find nice and working userinit.sqs setups. Download them from PMC Tactical Share this post Link to post Share on other sites
Florida_Guardsmen 0 Posted December 30, 2006 Look reference from the many CoC CE missions from PMC, there you should find nice and working userinit.sqs setups.Download them from PMC Tactical Thanks mate, I'm checking it out now. Share this post Link to post Share on other sites