Jump to content

Recommended Posts

Hi there! I posted earlier and someone very kind gave me this line of code, but I'm uncertain on where to put it and how to make it run with my custom character. I am using the EMC template. I don't wish to edit my character's code outside of making her essentially act as wendy with different animations and speech (I already set up the animations and artwork for the mod, since I'm an artist- not a programmer.)

 

This is the line I was provided with. 

local function fn()
  local wendy=Prefabs.wendy.fn()--defined in scripts/prefabs/wendy.lua and ...
  return wendy
end

attached are my current prefab files for my character (unedited EMC template files besides the new character's name). Also attached is my mod main file, incase that has anything to do with this.

 

Any help would be so greatly appreciated! I spent all day looking at other popular mods made by experts, trying to learn lua, and still have nowhere to go. I've been attempting all day and it's time I swallow my pride and ask for some help lolol

 

thank you SO much for any assistance! <3

lottie.lua modmain.lua

24 minutes ago, Lottita said:

Hi there! I posted earlier and someone very kind gave me this line of code, but I'm uncertain on where to put it and how to make it run with my custom character. I am using the EMC template. I don't wish to edit my character's code outside of making her essentially act as wendy with different animations and speech (I already set up the animations and artwork for the mod, since I'm an artist- not a programmer.)

 

This is the line I was provided with. 

local function fn()
  local wendy=Prefabs.wendy.fn()--defined in scripts/prefabs/wendy.lua and ...
  return wendy
end

attached are my current prefab files for my character (unedited EMC template files besides the new character's name). Also attached is my mod main file, incase that has anything to do with this.

 

Any help would be so greatly appreciated! I spent all day looking at other popular mods made by experts, trying to learn lua, and still have nowhere to go. I've been attempting all day and it's time I swallow my pride and ask for some help lolol

 

thank you SO much for any assistance! <3

lottie.lua 2.51 kB · 0 downloads modmain.lua 2.51 kB · 0 downloads

I don't think it's that easy, you have to do everything manually, buildings, items, perks, stats etc.

  • Like 1
1 hour ago, Haruhi Kawaii said:

I don't think it's that easy, you have to do everything manually, buildings, items, perks, stats etc.

My worst fear realized :( thank you anyway! I’ll get back to it tomorrow with that new perspective.

  • Like 1

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...