• Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About Dragonfire1000

  • Rank
    Junior Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. So I've managed to get quick picking to work. I had to post it under this line of code, in my "charactername" prefab lua. The above tutorial does not mention about this in the quick picking part. Took me 4 hours to figure that out. -- This initializes for the server only. Components are added here. local master_postinit = function(inst) This made the quick picking custom stat work. I also played with the code and made my character mine quickly with the code below. Note: the quick mining is not instant like the quick picking but it is still faster than normal, and there is no mining audio. I'm not sure how to fix this. -- Quick minin'! local handle = inst.sg.sg.actionhandlers[ACTIONS.MINE] handle.deststate = function(inst) return "doshortaction" end local handle = inst.sg.sg.actionhandlers[ACTIONS.MINE] handle.deststate = function(inst) return "doshortaction" end
  2. I am trying to add poison damage and quick picking to my character and tried putting the code for those into the character lua,but it doesn't seem to be working. I first tried to rip the code from other characters that had the exact kind of thing I wanted, even placing it into a similar location but that didn't work, then I tried to follow the tutorials in the forum below: However, this did not seem to get it working. The tutorial also mentioned about putting this specific coding either above or below the "local fn = function(inst)".I used the sample character to build mine, and did not see this string, so I put it in and put an "end" and the end of the two special perks, but it didn't change the character's behavior in game. I have attached the prefab lua here, as this is the only file I have touched. I am not certain if I need to change coding in another lua file or not, or if I should stick specifically to this single lua file. epic_sans.lua
  3. Hello, this is my first post on the forums. I had a question regarding character starter items. I recently followed a tutorial that allowed me to create my Epic Sans mod with custom sounds, now I want Epic to start with a rubber chicken which I'm considering having function as a pickaxe that never breaks. I tried ripping the pickaxe from the games data files but I see that the bin files are empty. Would a person have to code this from the beginning or is there some template to work off of? Another question I had was if it is possible for a character to start with a portable tent, or even a regular tent? I wanted him to start with a camouflage tent with custom dialogue referencing the dead invisible camo meme. Is it possible to do this? I seen it done with the error sans mod and tried to rip the code from that, but even renaming it it still affected the original mod. I have no code to show for since all I've done was just reskinned the tex files. Any help is greatly appreciated. Thanks in advance