This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [LUA] Mists Of Pandaria CharacterCreate.lua help  (Read 3361 times)

holyleen

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 54
    • View Profile
[LUA] Mists Of Pandaria CharacterCreate.lua help
« on: February 14, 2013, 03:59:30 am »
hey guy it me again i been try to make the ] Mists Of Pandaria  CharacterCreate. screen in to wrath but i am heaving no luck can any one help me out plz here is the MPQ file  sorry for not upload the jpg img so where els :(
« Last Edit: February 15, 2013, 05:18:14 am by Admin »
So. All of time and space. Everything that ever happened or ever will. Where do you want to start?

stoneharry

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 617
    • View Profile
Re: [LUA] Mists Of Pandaria CharacterCreate.lua help
« Reply #1 on: February 14, 2013, 02:22:07 pm »
These functions do not exist in the 3.3.5a client hence why your getting nil methods.

You need to reimplement the functions (if required) by writing functions to handle them, or disable them.

I don't think you should be porting the interface if you do not even know how to program in Lua. There is more to it then literally copy and pasting.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

holyleen

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 54
    • View Profile
Re: [LUA] Mists Of Pandaria CharacterCreate.lua help
« Reply #2 on: February 14, 2013, 02:51:10 pm »
thank you stoneharry yes i am really new to lua moding and i really d not what i am doing but i trying to learn are there any good website where i can learn how to do lua and xml programming ? for free
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
So. All of time and space. Everything that ever happened or ever will. Where do you want to start?

stoneharry

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 617
    • View Profile
Re: [LUA] Mists Of Pandaria CharacterCreate.lua help
« Reply #3 on: February 14, 2013, 05:39:55 pm »
Quote from: "holyleen"
thank you stoneharry yes i am really new to lua moding and i really d not what i am doing but i trying to learn are there any good website where i can learn how to do lua and xml programming ? for free

http://lua-users.org/wiki/TutorialDirectory

But it would be better to learn programming and then move onto specific languages for specific purposes.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

holyleen

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 54
    • View Profile
Re: [LUA] Mists Of Pandaria CharacterCreate.lua help
« Reply #4 on: February 14, 2013, 08:59:14 pm »
all rigth what type of programming should i learn ?  

thank you stoneharry  you have been very help
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
So. All of time and space. Everything that ever happened or ever will. Where do you want to start?

Rimewynd

  • Registred Member
  • GM Isle Explorer
  • *****
  • Posts: 20
    • View Profile
Re: [LUA] Mists Of Pandaria CharacterCreate.lua help
« Reply #5 on: February 15, 2013, 07:50:13 am »
Quote from: "holyleen"
all rigth what type of programming should i learn ?  

That's not exactly the right question Holyleen.

I'll try to explain, and hopefully this will make sense. If not, lemme know.

There's a large difference between programming and programming languages.

Programming languages are the actual method by which one implements programming. While they all have their different quirks, none of them, themselves, are actually programming. Much like how any particular system of written character isn't exactly a language. For instance: Japanese can be successfully written in at least four different written languages, and you could still read it more-or-less as the words should be said.

Programming - as I think stoneharry means it - refers to what's often called 'Programming Logic and Design' which is the actual act of developing how a program will work and function, and learning how to understand how to intemperate a program's functionality. It's the common skill set you use to program in any language.

The reason why it's important to learn programming v. a programming language is that without actually understanding the nitty-gritty of how programming works you'll only have a grasp on what the language does - and not how to understand the underlying design behind it or how to rearrange that design to fully suit your needs.

I haven't seen a lot of tutorials on the web, but there's books on it. I did also dig up the following links, and I hope they help.

Stoneharry, if I'm completely off my nut and that's not what you're referring too, please feel free to trouslap me.

Da Linkz:

http://evaluationtoolbox.net.au/index.p ... Itemid=136

http://www.cprogramming.com/tutorial/thinking.html

http://suntor.org/programming+logic+and ... rials.html

http://www.hit.ac.il/staff/leonidM/info ... /ch55.html
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
“The major problem—one of the major problems, for there are several—one of the many major problems..."
 ~ A quote that roughly summarizes my attempts at WoW-modding.

XxXGenesisXxX

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 204
    • View Profile
Re: [LUA] Mists Of Pandaria CharacterCreate.lua help
« Reply #6 on: February 16, 2013, 12:56:59 am »
Complete implementation of something that is incompatible isn't exactly a beginners area (without guides), it's more an intermediates area as you need to have an understanding of how things are chained together, and what you need to do to create a new chain between parts. Personally I think you are better off slowly converting the Wrath of the Lich King CharacterCreate.lua and CharacterCreate.xml files into a Mists of Pandaria standard.

Check out the project I am working on to see what I mean, as I wanted mine to look more like Mists of Pandaria, but it is completely a WotLK lua and xml, that have been modified.

http://modcraft.io/viewtopic.php?f=29&t=3872

Now, while it isn't exact, it's because I haven't installed an MoP client to compare them and gather the required .blp (image) files. But with time and effort it would be a breeze. Obviously, you are more interested in doing so than I am, so you will probably get further.

This is also a better way (in my opinion) for you to learn how to manipulate the lua and xml files, rather than building from scratch.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

stoneharry

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 617
    • View Profile
Re: [LUA] Mists Of Pandaria CharacterCreate.lua help
« Reply #7 on: February 16, 2013, 02:02:32 am »
Quote from: "XxXGenesisXxX"
Complete implementation of something that is incompatible isn't exactly a beginners area (without guides), it's more an intermediates area as you need to have an understanding of how things are chained together, and what you need to do to create a new chain between parts. Personally I think you are better off slowly converting the Wrath of the Lich King CharacterCreate.lua and CharacterCreate.xml files into a Mists of Pandaria standard.

Check out the project I am working on to see what I mean, as I wanted mine to look more like Mists of Pandaria, but it is completely a WotLK lua and xml, that have been modified.

http://modcraft.io/viewtopic.php?f=29&t=3872

Now, while it isn't exact, it's because I haven't installed an MoP client to compare them and gather the required .blp (image) files. But with time and effort it would be a breeze. Obviously, you are more interested in doing so than I am, so you will probably get further.

This is also a better way (in my opinion) for you to learn how to manipulate the lua and xml files, rather than building from scratch.

You approached it the long way. :)

I did a literal copy and paste over, fixed the errors, filled in the missing data, filled in the missing functionality, tidied things up. In that order.




The only two parts I didn't do is the camera movement (not feasible in 3.3.5a) and the option images.

The option images are handled by built-in client functions. In 3.3.5a, these do not exist, so you would have to make a image for each one yourself.

5 customisations * 2 genders * 11 races * 8 options = ~880 images needed. :) The code would be literally one line:

Code: [Select]
Button:SetTexture("InterfaceGluesFeatureImagesFeature_"..RACE.."_"..GENDER.."_"..FEATURE.."..OPTION);
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

XxXGenesisXxX

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 204
    • View Profile
Re: [LUA] Mists Of Pandaria CharacterCreate.lua help
« Reply #8 on: February 16, 2013, 05:58:37 am »
Quote from: "stoneharry"
You approached it the long way. :)

I did a literal copy and paste over, fixed the errors, filled in the missing data, filled in the missing functionality, tidied things up. In that order.




The only two parts I didn't do is the camera movement (not feasible in 3.3.5a) and the option images.

The option images are handled by built-in client functions. In 3.3.5a, these do not exist, so you would have to make a image for each one yourself.

5 customisations * 2 genders * 11 races * 8 options = ~880 images needed. :) The code would be literally one line:

Code: [Select]
Button:SetTexture("InterfaceGluesFeatureImagesFeature_"..RACE.."_"..GENDER.."_"..FEATURE.."..OPTION);

I know I did, but I didn't have a MoP client and wasn't really going for a copy, I just wanted a cleaner creation screen. I also hadn't really experimented with screen swapping in lua and wanted to try it.

Plus, holyleen said he/she are new to lua modding, your method requires a bit more knowledge of identifying where problems are and having a general knowledge of the WoW files to locate the problems. My method I think is more of a learn as you go, step by step approach.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »