Ifrit66 Posted February 8, 2013 Share Posted February 8, 2013 Hey im trying to implement a slime from the slime variation pack into my game and when i put the code into the objects.lua file i get this error in the editor mod_assets/scripts/objects.lua:125: unexpected symbol near '<eof>' soo i dont code ... and im trying to figgure it out but i have no bloody idea lol here is the code i am useing defineObject{ name = "bone_slime", class = "Monster", model = "mod_assets/models/monsters/bone_slime.fbx", meshName = "green_slime_mesh", animations = { idle = "assets/animations/monsters/slime/green_slime_idle.fbx", moveForward = "assets/animations/monsters/slime/green_slime_move_forward.fbx", moveBackward = "assets/animations/monsters/slime/green_slime_move_backward.fbx", strafeLeft = "assets/animations/monsters/slime/green_slime_strafe_left.fbx", strafeRight = "assets/animations/monsters/slime/green_slime_strafe_right.fbx", turnLeft = "assets/animations/monsters/slime/green_slime_turn_left.fbx", turnRight = "assets/animations/monsters/slime/green_slime_turn_right.fbx", attack = "assets/animations/monsters/slime/green_slime_attack.fbx", attackBack = "assets/animations/monsters/slime/green_slime_attack_back.fbx", attackLeft = "assets/animations/monsters/slime/green_slime_attack_left.fbx", attackRight = "assets/animations/monsters/slime/green_slime_attack_right.fbx", getHitFrontLeft = "assets/animations/monsters/slime/green_slime_get_hit_front_left.fbx", getHitFrontRight = "assets/animations/monsters/slime/green_slime_get_hit_front_right.fbx", getHitBack = "assets/animations/monsters/slime/green_slime_get_hit_back.fbx", getHitLeft = "assets/animations/monsters/slime/green_slime_get_hit_left.fbx", getHitRight = "assets/animations/monsters/slime/green_slime_get_hit_right.fbx", fall = "assets/animations/monsters/slime/green_slime_get_hit_front_left.fbx", }, moveSound = "slime_walk", attackSound = "slime_attack", hitSound = "slime_hit", dieSound = "slime_die", hitEffect = "hit_flame", capsuleHeight = 0.2, capsuleRadius = 0.7, collisionRadius = 0.8, health = 500, immunities = { "fire", "assassination", "backstab" }, sight = 2.5, allAroundSight = true, attackPower = 40, accuracy = 30, coolDown = { 1, 5 }, evasion = -20, movementCoolDown = 5, noRecoilInterval = { 0.1, 0.5 }, exp = 230, healthIncrement = 50, attackPowerIncrement = 5, brain = "Slime", Link to comment Share on other sites More sharing options...
Ifrit66 Posted February 8, 2013 Author Share Posted February 8, 2013 NEVERMIND :D i just figgured out what was wrong and got it in the game with a few others without any help and i have no bloody idea what im doing!!! Link to comment 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