AlexRitotir777 Posted June 4, 2020 Share Posted June 4, 2020 I'm having a struggle on why this is even going on, I cannot seem to find the source of it either: ":44: '=' expected near 'Ritotir' " If anyone has a idea of what could be the issue could possibly be. Any help is appreciated! FYI: This is also using the same template as the "Extended Sample Character Template" PrefabFiles = { "Alex Ritotir", "Alex Ritotir_none", } Assets = { Asset( "IMAGE", "images/saveslot_portraits/Alex Ritotir.tex" ), Asset( "ATLAS", "images/saveslot_portraits/Alex Ritotir.xml" ), Asset( "IMAGE", "images/selectscreen_portraits/Alex Ritotir.tex" ), Asset( "ATLAS", "images/selectscreen_portraits/Alex Ritotir.xml" ), Asset( "IMAGE", "images/selectscreen_portraits/Alex Ritotir_silho.tex" ), Asset( "ATLAS", "images/selectscreen_portraits/Alex Ritotir_silho.xml" ), Asset( "IMAGE", "bigportraits/Alex Ritotir.tex" ), Asset( "ATLAS", "bigportraits/Alex Ritotir.xml" ), Asset( "IMAGE", "images/map_icons/Alex Ritotir.tex" ), Asset( "ATLAS", "images/map_icons/Alex Ritotir.xml" ), Asset( "IMAGE", "images/avatars/avatar_Alex Ritotir.tex" ), Asset( "ATLAS", "images/avatars/avatar_Alex Ritotir.xml" ), Asset( "IMAGE", "images/avatars/avatar_ghost_Alex Ritotir.tex" ), Asset( "ATLAS", "images/avatars/avatar_ghost_Alex Ritotir.xml" ), Asset( "IMAGE", "images/avatars/self_inspect_Alex Ritotir.tex" ), Asset( "ATLAS", "images/avatars/self_inspect_Alex Ritotir.xml" ), Asset( "IMAGE", "images/names_Alex Ritotir.tex" ), Asset( "ATLAS", "images/names_Alex Ritotir.xml" ), Asset( "IMAGE", "images/names_gold_Alex Ritotir.tex" ), Asset( "ATLAS", "images/names_gold_Alex Ritotir.xml" ), } AddMinimapAtlas("images/map_icons/Alex Ritotir.xml") local require = GLOBAL.require local STRINGS = GLOBAL.STRINGS -- The character select screen lines STRINGS.CHARACTER_TITLES.Alex Ritotir = "The Elemental DrazelKin" STRINGS.CHARACTER_NAMES.Alex Ritotir = "Esc" STRINGS.CHARACTER_DESCRIPTIONS.Alex Ritotir = "*Perk 1\n*Perk 2\n*Perk 3" STRINGS.CHARACTER_QUOTES.Alex Ritotir = "\"Quote\"" -- Custom speech strings STRINGS.CHARACTERS.Alex Ritotir = require "speech_Alex Ritotir" -- The character's name as appears in-game STRINGS.NAMES.Alex Ritotir = "Esc" STRINGS.SKIN_NAMES.Alex Ritotir_none = "Esc" -- Add mod character to mod character list. Also specify a gender. Possible genders are MALE, FEMALE, ROBOT, NEUTRAL, and PLURAL. AddModCharacter("Alex Ritotir", "MALE") Link to comment https://forums.kleientertainment.com/forums/topic/118799-help-with-mod-error-expected-near-name/ Share on other sites More sharing options...
zVince Posted June 4, 2020 Share Posted June 4, 2020 I don't know if I'm right, but maybe these spaces Link to comment https://forums.kleientertainment.com/forums/topic/118799-help-with-mod-error-expected-near-name/#findComment-1339963 Share on other sites More sharing options...
AlexRitotir777 Posted June 4, 2020 Author Share Posted June 4, 2020 Yup, that was it! Thank you for the help! 1 Link to comment https://forums.kleientertainment.com/forums/topic/118799-help-with-mod-error-expected-near-name/#findComment-1339977 Share on other sites More sharing options...
zVince Posted June 5, 2020 Share Posted June 5, 2020 You are welcome. Welcome to the forum too. Link to comment https://forums.kleientertainment.com/forums/topic/118799-help-with-mod-error-expected-near-name/#findComment-1339991 Share on other sites More sharing options...
CarlZalph Posted June 5, 2020 Share Posted June 5, 2020 (edited) 6 hours ago, AlexRitotir777 said: Yup, that was it! Thank you for the help! For the future, if you ever do require a space to be in a table variable name, then you'll have to do: sometable["some variable here"] = bob The dot syntax is syntactic sugar so you don't have to use the brackets and quotes every time, a short hand for this. Edited June 5, 2020 by CarlZalph 1 Link to comment https://forums.kleientertainment.com/forums/topic/118799-help-with-mod-error-expected-near-name/#findComment-1340035 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now