DexNoxtious Posted April 21, 2020 Share Posted April 21, 2020 Hi, im sorry if this isn't the right topic, this is my first post here and my first attepmt at modifying a mod. Going to make it short, i tried to modify a mod i liked (for personal use), made my own art, changed the recepie, renamed it, nothing much basicly, just a small change to balance it more since i liked the idea but it was way to easy to make. Anyways, after my changes my game insta crashes when loading a world and the client log ends with Quote 00:00:22]: Mod: hungrysword (Hungry Sword) Registering prefabs [00:00:22]: Mod: hungrysword (Hungry Sword) Registering prefab file: prefabs/hungrysword [00:00:22]: Mod: hungrysword (Hungry Sword) hungrysword [00:00:22]: Mod: hungrysword (Hungry Sword) Registering default mod prefab [00:00:22]: expected < the only thing i changed in the prefab in mod/scripts/prefab was the name, nothing else. I mostly modified the modmain file since thats where the recepie was and im thinking i might have screewed something up. this is the second error msg i got, the first one basicly said "could not find hungrysword.tex" but after i added the line "images/inventoryimages/hungrysword.tex" it changed to that above. Since the modmain is short im going to post it here, to at least hear from you people if im on the right track Quote PrefabFiles = { "hungrysword", } GLOBAL.STRINGS.RECIPE_DESC.HUNGRYSWORD = "Kill with it to level it up" local Ingredient = GLOBAL.Ingredient local RECIPETABS = GLOBAL.RECIPETABS local TECH = GLOBAL.TECH AddRecipe("hungrysword", {Ingredient("goldnugget", 3),Ingredient("purplegem", 1),Ingredient("moonrocknugget", 4)}, RECIPETABS.WAR, TECH.MAGIC_THREE, nil, nil, nil, nil, "images/inventoryimages/hungrysword.xml", "images/inventoryimages/hungrysword.tex") Attached is my prefab and the one i modified just to make sure. and the modmain of the original mod. Tried to figure it out all day and nothing i just couldn't get why it isnt working, after a few hours i just gave up feeling pretty stupid. Thank you for reading this and possibly helping and again, if this the wrong place to post this kind of topic im really sorry hungrysword.lua growingswordlite.lua modmain.lua Link to comment https://forums.kleientertainment.com/forums/topic/117514-mod-help/ Share on other sites More sharing options...
DexNoxtious Posted April 22, 2020 Author Share Posted April 22, 2020 (edited) So i redid it from scratch, its almost identical but now it works, idk what changed, the only thing that still isn't as it's supposed to be is the ingame art, for some reason it cuts parts of it off, redid the .tex files multiple times but still no luck, the in hand one has a tiny bit cut of at both sides, the ground one is cut of at multiple parts all over for some reason. I would really apreciate help with that, and im really sorry for the double post, i couldn't edit the previous one. HungrySword.zip edit: so turns out spriter was being *rude* basicly, i figured it out and everything finally works, if i had any hair left i would have probably ripped everything out, anyways, im sorry for the spam Edited April 22, 2020 by DexNoxtious Link to comment https://forums.kleientertainment.com/forums/topic/117514-mod-help/#findComment-1326938 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