Veops Posted June 20, 2015 Share Posted June 20, 2015 Hello Guys, I'm made my mod it's very very simpleTUNING.EVERGREEN_CHOPS_SMAll = 1,TUNING.EVERGREEN_CHOPS_NORMAL = 1,TUNING.EVERGREEN_CHOPS_TALL = 1,TUNING.ROCKS_MINE = 1,TUNING.ROCKS_MINE_MED = 1,TUNING.ROCKS_MINE_LOW = 1,TUNING.WILSON_WALK_SPEED = 8,TUNING.WILSON_RUN_SPEED = 10,RABBITBRAIN.SEE_BAIT_DIST = 500RECIPES.Recipe("backpack", {Ingredient("cutgrass", 1), Ingredient("twigs", 1)}, RECIPETABS.SURVIVAL, TECH.SCIENCE_ONE)My game give this error: Sorry for my poor English... Link to comment https://forums.kleientertainment.com/forums/topic/55505-help-unexpected-symbol-near/ Share on other sites More sharing options...
Mobbstar Posted June 21, 2015 Share Posted June 21, 2015 lol in Lua you don't need a symbol to indicate when the next command is done. Remove those comas e.g. BLABLA.BLA = 100GAHGAHGAH = 9000 YAPADAPADU = "hello world" Also, what is "RABBITBRAIN"? Are you trying to modify a brain file? Link to comment https://forums.kleientertainment.com/forums/topic/55505-help-unexpected-symbol-near/#findComment-648794 Share on other sites More sharing options...
Veops Posted June 21, 2015 Author Share Posted June 21, 2015 Yes, bait see distance&Im not understand, should I delete "=" or any symbol Link to comment https://forums.kleientertainment.com/forums/topic/55505-help-unexpected-symbol-near/#findComment-648834 Share on other sites More sharing options...
Amalleus Posted June 21, 2015 Share Posted June 21, 2015 you need to use commas in table and as variables in functions. but as i see there is nothing of this. delete commasTUNING.EVERGREEN_CHOPS_SMAll = 1TUNING.EVERGREEN_CHOPS_NORMAL = 1TUNING.EVERGREEN_CHOPS_TALL = 1 TUNING.ROCKS_MINE = 1TUNING.ROCKS_MINE_MED = 1TUNING.ROCKS_MINE_LOW = 1 TUNING.WILSON_WALK_SPEED = 8TUNING.WILSON_RUN_SPEED = 10 RABBITBRAIN.SEE_BAIT_DIST = 500 RECIPES.Recipe("backpack", {Ingredient("cutgrass", 1), Ingredient("twigs", 1)}, RECIPETABS.SURVIVAL, TECH.SCIENCE_ONE) Link to comment https://forums.kleientertainment.com/forums/topic/55505-help-unexpected-symbol-near/#findComment-648839 Share on other sites More sharing options...
Veops Posted June 21, 2015 Author Share Posted June 21, 2015 OK Its done but "RABBITBRAIN" give error: Link to comment https://forums.kleientertainment.com/forums/topic/55505-help-unexpected-symbol-near/#findComment-648842 Share on other sites More sharing options...
Mobbstar Posted June 21, 2015 Share Posted June 21, 2015 OK Its done but "RABBITBRAIN" give error: You need to use AddBrainPostInit() for this kind of stuff. I assume "see_bait_dist" is a local variable? I'm afraid you can't edit those. You'd need to take the chunk(s) that uses the variable and change those. Link to comment https://forums.kleientertainment.com/forums/topic/55505-help-unexpected-symbol-near/#findComment-648846 Share on other sites More sharing options...
Veops Posted June 21, 2015 Author Share Posted June 21, 2015 OK I'm remove some command thanks for helping you all... Link to comment https://forums.kleientertainment.com/forums/topic/55505-help-unexpected-symbol-near/#findComment-648847 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