Author |
Message |
TheBigCheese
Joined: Mon Jul 27, 2009 4:07 am Posts: 6
|
Universal Tutorial?
Okay, I really hate to be starting a new thread for something that seems so easy to find, but I'm just looking for a simple intro tutorial/guide to CC modding. I have plenty of experience with multiple languages, so I'm fine syntax wise. I just need the basics of what files to edit, and that sort of thing. I'm completely surprised that there's nothing stickied in the Mod Making forums.
I'm not an idiot, so please don't flame this thread. If there already is a thread, it sure isn't very obvious, and it didn't come up in my search for the keyword "tutorial" in the Mod Making section.
Thanks. If there is none, than just a few steps that would allow me to figure it out myself would suffice.
|
Mon Jul 27, 2009 5:10 am |
|
|
piipu
Joined: Mon Jun 30, 2008 9:13 pm Posts: 499 Location: Finland
|
Re: Universal Tutorial?
You should try the stickied "Lord Tim's Tutorial's" topic. Chapter four looks like what you need.
|
Mon Jul 27, 2009 10:14 am |
|
|
vagyr
Joined: Sun Jan 11, 2009 10:54 am Posts: 365
|
Re: Universal Tutorial?
this might help... a guide i wrote a month or 2 before with (almost) every tip and tutorial i found in data realms (has sprite tutorials too) but i was not so sure abute releacing it...
Attachments:
guide.pdf [1.11 MiB]
Downloaded 411 times
|
Mon Jul 27, 2009 2:04 pm |
|
|
TheBigCheese
Joined: Mon Jul 27, 2009 4:07 am Posts: 6
|
Re: Universal Tutorial?
Okay, so the thing that was confusing me is the fact that I can't find a single drop of Lua anywhere in the mods I've downloaded. So, I'm assuming Lua is more of the exception than the rule? So say I wanted to make my character jump instead of using a jetpack. Would I use .ini's or Lua? vagyr wrote: this might help... a guide i wrote a month or 2 before with (almost) every tip and tutorial i found in data realms (has sprite tutorials too) but i was not so sure abute releacing it... Thanks! That looks like it'll help a lot. piipu wrote: You should try the stickied "Lord Tim's Tutorial's" topic. Chapter four looks like what you need. I looked at that one, but I couldn't find PromGrounds.rte anywhere. I didn't actually look to much further, mostly due to the fact that I though Lua was the mainstay of CC mods as opposed to .ini's. I'm going to look more into .ini's, then. Thanks.
|
Mon Jul 27, 2009 6:31 pm |
|
|
vagyr
Joined: Sun Jan 11, 2009 10:54 am Posts: 365
|
Re: Universal Tutorial?
the pdf i gave you have an introduction in modding with what you need and how to mod .ini files... and in the last pages there is a section called lua modding.
|
Mon Jul 27, 2009 6:38 pm |
|
|
Duh102
happy carebear mom
Joined: Tue Mar 04, 2008 1:40 am Posts: 7096 Location: b8bbd5
|
Re: Universal Tutorial?
TheBigCheese wrote: I didn't actually look to much further, mostly due to the fact that I though Lua was the mainstay of CC mods as opposed to .ini's. Lua is aptly renamed Sparkle Magic because it does special things not possible with ini modding, but ini modding is the meat and potatoes of Cortex. Without the ini, you'd have nothing of value. TheBigCheese wrote: So say I wanted to make my character jump instead of using a jetpack. Would I use .ini's or Lua? You can use either. Ini modding might be a bit easier. Extending your example, to accomplish a jump instead of a jetpack in ini, you'd simply change the jetpack emitter so that it emits more particles for a shorter time, short enough to look like a jump. In Lua, you'd set the update for the actor to check if the jump/jetpacking state is active, then add upward velocity to the actor. There's more to it than that, but you get the idea.
|
Mon Jul 27, 2009 6:59 pm |
|
|
TheBigCheese
Joined: Mon Jul 27, 2009 4:07 am Posts: 6
|
Re: Universal Tutorial?
vagyr wrote: the pdf i gave you have an introduction in modding with what you need and how to mod .ini files... and in the last pages there is a section called lua modding. Yeah, I'm reading through it. I think it'll probably cover my .ini needs, at least for the beginning. Duh102 wrote: You can use either. Ini modding might be a bit easier. Extending your example, to accomplish a jump instead of a jetpack in ini, you'd simply change the jetpack emitter so that it emits more particles for a shorter time, short enough to look like a jump. In Lua, you'd set the update for the actor to check if the jump/jetpacking state is active, then add upward velocity to the actor. There's more to it than that, but you get the idea. Okay. Are there any tutorials specifically on Lua for CC? All of the ones that I've seen only discuss the syntax, but never get to any of the needed functions and how they are called. Personally, I'd prefer to use Lua as opposed to .ini's, just because I'm familiar with that style of coding and right now I can use the default human actors as templates. Also, is there a way to test changes to .ini's and Lua scripts without needing to reload the entire game? The actor editor looks like it's what I need, but I haven't looked into it too much.
|
Mon Jul 27, 2009 7:50 pm |
|
|
mail2345
Joined: Tue Nov 06, 2007 6:58 am Posts: 2054
|
Re: Universal Tutorial?
PresetMan:ReloadAllScripts()
Actor editor reloads everything referenced by the actor, btw.
|
Mon Jul 27, 2009 8:26 pm |
|
|
p3lb0x
Forum Moderator
Joined: Fri Feb 02, 2007 3:53 pm Posts: 1896 Location: in my little gay bunker
|
Re: Universal Tutorial?
I believe that's incorrect. IIRC the actor editor only reloads the ini the actor is in
|
Mon Jul 27, 2009 8:37 pm |
|
|
mail2345
Joined: Tue Nov 06, 2007 6:58 am Posts: 2054
|
Re: Universal Tutorial?
Hmm. What if it's limbs are in a separte ini?
|
Mon Jul 27, 2009 8:57 pm |
|
|
Duh102
happy carebear mom
Joined: Tue Mar 04, 2008 1:40 am Posts: 7096 Location: b8bbd5
|
Re: Universal Tutorial?
TheBigCheese wrote: Are there any tutorials specifically on Lua for CC? I don't believe there are. Lua in CC is so undocumented and hacky right now that nobody has bothered to try to make a coherent tutorial for it, especially since we're hoping for more documentation and fixes for the hacks that Data passed through.
|
Mon Jul 27, 2009 10:23 pm |
|
|
mail2345
Joined: Tue Nov 06, 2007 6:58 am Posts: 2054
|
Re: Universal Tutorial?
I could compile a list of hackish solutions.
|
Mon Jul 27, 2009 10:35 pm |
|
|
|