G1llam 3 Posted July 25, 2018 Im having trouble with my mission file as when i join the server and pick civ to spawn in these pop up. https://gyazo.com/0ff6bfea6b5bea03e7d1e776f2e2c0ff If needed: .rpt logs: https://pastebin.com/U3pJQSA0 Spawn points config: https://pastebin.com/8DH0Y4Qg Share this post Link to post Share on other sites
tRiKy_ch 26 Posted July 25, 2018 you can't have spaces in class names, use underscore instead Share this post Link to post Share on other sites
G1llam 3 Posted July 25, 2018 could you copy and paste what you mean and how it should be please? Share this post Link to post Share on other sites
G1llam 3 Posted July 25, 2018 so you mean this this: class_CfgSpawnPoints { class_Malden { class_Civilian { class_La_Trinite { displayName = "La Trinite"; spawnMarker = "civ_spawn_1"; icon = "\a3\ui_f\data\map\MapControl\watertower_ca.paa"; conditions = ""; }; instead of this: class CfgSpawnPoints { class Malden { class Civilian { class La Trinite { displayName = "La Trinite"; spawnMarker = "civ_spawn_1"; icon = "\a3\ui_f\data\map\MapControl\watertower_ca.paa"; conditions = ""; }; Share this post Link to post Share on other sites
G1llam 3 Posted July 25, 2018 or is it just for the part where you want to spawn and not the class_civ and class_Malden, sorry for the spawn. Share this post Link to post Share on other sites
Harzach 2517 Posted July 25, 2018 Nope! class CfgSpawnPoints { class Malden { class Civilian { class La_Trinite { //<---LIKE THIS displayName = "La Trinite"; spawnMarker = "civ_spawn_1"; icon = "\a3\ui_f\data\map\MapControl\watertower_ca.paa"; conditions = ""; }; Share this post Link to post Share on other sites
G1llam 3 Posted July 25, 2018 thank you, what about the error where it says its encountered a "T" instead of a "{" Share this post Link to post Share on other sites
Harzach 2517 Posted July 25, 2018 In other words, "class" tells the engine that a class is being defined. class this_is_my_class //correct class this is my class //incorrect Share this post Link to post Share on other sites
Harzach 2517 Posted July 25, 2018 1 minute ago, G1llam said: thank you, what about the error where it says its encountered a "T" instead of a "{" That is due to the space in your class (La Trinite). Share this post Link to post Share on other sites
G1llam 3 Posted July 25, 2018 so them errors in the gyazo are now fixed and work fine? Share this post Link to post Share on other sites
Harzach 2517 Posted July 25, 2018 This is pretty basic stuff. Perhaps you should do some reading:https://community.bistudio.com/wiki/ArmA:_Introduction_to_Scripting Share this post Link to post Share on other sites
G1llam 3 Posted July 25, 2018 i know some of the basics its just i didnt realise to look there but ill take a look at the link, thanks for the help Share this post Link to post Share on other sites
Harzach 2517 Posted July 25, 2018 Relevant to this topic is the Variables entry, the main point being that variables (such as the class names in your config) must have no spaces, as @tRiKy_ch described. ThisIsMyExampleOfAVeryLongGlobalVariable // correct This is my example of a very long global variable // incorrect Share this post Link to post Share on other sites
G1llam 3 Posted July 25, 2018 thanks for letting me know and give example, im sure ill be back for more help real soon Share this post Link to post Share on other sites
G1llam 3 Posted July 25, 2018 ive now ran into this error : https://gyazo.com/a94622d0f5fda21aec0500b4f2132d3e however when i go to that file and that line its not the code for a weapon shop Share this post Link to post Share on other sites
tRiKy_ch 26 Posted July 26, 2018 post your description.ext please Share this post Link to post Share on other sites
G1llam 3 Posted July 27, 2018 i have managed to fix this problem, thanks Share this post Link to post Share on other sites
G1llam 3 Posted July 29, 2018 Im now getting these errors and need help fixing them asap. Warning Message: File mpmissions\Malden_Life.Malden\description.ext, line 379: /WeaponShops/: Missing '}' Mission Malden_Life.Malden: Missing 'description.ext::Header::minPlayer' Ive tried setting the minPlayer to 0 and 1 and still pops up and the line 379 error looks ok to me Description.ext: https://pastebin.com/7xuYFsHa rpt logs if needed: https://pastebin.com/KwveXj9x Share this post Link to post Share on other sites
tRiKy_ch 26 Posted July 29, 2018 this seem very similar to your previous issue, how do you solved that? Share this post Link to post Share on other sites
G1llam 3 Posted July 29, 2018 3 hours ago, tRiKy_ch said: this seem very similar to your previous issue, how do you solved that? i went and looked in the description.ext and found out what was causing it but this time i can't find where the error is Share this post Link to post Share on other sites
tRiKy_ch 26 Posted August 2, 2018 took a quick look and i see nothing, maybe the error is in one of the included files? Share this post Link to post Share on other sites