Question about UI modding

FeanuxFeanux Join Date: 2012-11-13 Member: 170621Members
Hi everyone,

I've been researching LUA and practicing tutorials and now I'd like to jump into modding. For my first project I hope to make a basic box with player names on the screen when commanding. Eventually I will improve this mod but for now I just need to be able to do it.

First of all, I'm not sure which file to start editing to get my desired box. I understand I'll need to make some graphics but that's the easier part. I've been looking around AlienCommander.lua and such but I'm not sure where or what I should insert for it to call for that box and be positions on the screen.

Any help is appreciated. Also if you know of other good lua tutorial sites please send them my way :)

Comments

  • ChaosXBeingChaosXBeing Join Date: 2012-10-12 Member: 162114Members
    Well first off, welcome to the forums, and I wish you luck in your modding!

    To address your first question, I'd think you'd want to start off with the GUI lua files and not the actual Commander lua files. Not to mention, if you did need to make some changes to the actual Commander part of the code, it'd probably be easier and better to make these changes in the Commander.lua file instead, so that it'd carry over to both the marine and alien commander. That being said, I haven't attempted anything like this before, and there's no substitute for learning the ins and outs of the files yourself.

    As for help, everything should be fairly straightforward with a little programming knowledge beforehand. Mostly you'll probably be working with premade functions, methods and variables, so it'll be more important to know what's already there than how to code things from scratch. But when I do come to a point where I need some lua help, I just google search it, and every time so far I've been able to find the solution I'm looking for.

    And of course, if you have any specific, NS2 related questions, you can always just ask questions on here! I've had to reach out to the NS2 community numerous times, and so far someone has always been happy to help me.
Sign In or Register to comment.