My Mod Doesnt Work
#1
https://www.dropbox.com/s/a7ado1fevdkd8m...s.rar?dl=0

I made this mod to work together with Simple Toggle Interaction, but it doesnt run. it doesnt even show a single line of text ingame, whats wrong with my code?

FATAL ERROR: (C:\Users\ZNix\source\repos\SuperBLT\src\InitiateState.cpp:294) mods\Hold To Press\htp.lua:351: '}' expected (to close '{' at line 2) near '?'

lua.org returned this.

input:27: unfinished string near <eof>
Reply
#2
[Image: fYOOYM3.png]

This line should be removed. You can't use such characters as table keys.
Although, if it's really a string ID in the game, you can wrap hud_take_??? with ["'] like so: ["hud_take_???"].
Reply
#3
Luffy Wrote:[Image: fYOOYM3.png]

This line should be removed. You can't use such characters as table keys.
Although, if it's really a string ID in the game, you can wrap hud_take_??? with ["'] like so: ["hud_take_???"].
yeah already figured that out, still doenst make the mod work tho. it just wont overwrite the original strings.
i might just make a bunch of lua files with just 3 Strings just put them all as hooks in my mod.txt that might work better.

Also, that line is a real string ID ingame, idk what they were thinking.

[Image: PbMElS7.png]
(this is from the original files ripped from the game)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)