Getting started with modding

Post here if you want to help developing something for FAF.

Re: Getting started with modding

Postby HUSSAR » 05 Jan 2016, 06:38

Anihilnine wrote:...
Starting guide...

If you want, I can provide those scripts I mentioned and the actual command line args I use. I also have a excel spreadsheet I made that contains all of the functions available ...


Really nice guide and I learned a few things. Can you send me those scripts, command line args, and the excel spreadsheet? So I can compare with my testing setup and perhaps improve it.
________________________________________________________
MY FAF CONTRIBUTIONS:
UI Mod - Supreme Score Board
FAF Feature - Accurate Units Stats
FAF Feature - Unit Restriction Manager
User avatar
HUSSAR
Avatar-of-War
 
Posts: 125
Joined: 17 Sep 2015, 06:59
Location: Philly, USA
Has liked: 38 times
Been liked: 59 times
FAF User Name: HUSSAR

Re: Getting started with modding

Postby Anihilnine » 09 Jan 2016, 08:02

putting this together but takes a while
Anihilnine
Moderator
 
Posts: 2310
Joined: 16 Apr 2013, 10:10
Has liked: 274 times
Been liked: 409 times
FAF User Name: Anihilnine

Re: Getting started with modding

Postby HUSSAR » 09 Jan 2016, 10:19

Anihilnine wrote:putting this together but takes a while

there's is no rush and I look forward to go through your scripts and tools. Btw, I found really nice tool called BabeLua for working with Lua in Visual Studio: https://babelua.codeplex.com

It is open source and I plan to extend it to support new functionalities focused on FA game.
________________________________________________________
MY FAF CONTRIBUTIONS:
UI Mod - Supreme Score Board
FAF Feature - Accurate Units Stats
FAF Feature - Unit Restriction Manager
User avatar
HUSSAR
Avatar-of-War
 
Posts: 125
Joined: 17 Sep 2015, 06:59
Location: Philly, USA
Has liked: 38 times
Been liked: 59 times
FAF User Name: HUSSAR

Re: Getting started with modding

Postby Anihilnine » 10 Jan 2016, 08:36

Ok I put a fair bit of stuff together and put it here:
viewtopic.php?f=45&t=11447#p117347

I use babelua too - it's pretty nice. What sort of changes do you have in mind for it?
Anihilnine
Moderator
 
Posts: 2310
Joined: 16 Apr 2013, 10:10
Has liked: 274 times
Been liked: 409 times
FAF User Name: Anihilnine

Re: Getting started with modding

Postby HUSSAR » 10 Jan 2016, 22:00

Anihilnine wrote:... What sort of changes do you have in mind for it?

Thanks for this guide and your modding resources.

Latest version (3.2) BabeLua and all previous versions as far I know have the following issues:
- no syntax highlighting for lua files saved with file extensions other than .lua (e.g. .bp)
- no support for standard Lua comments "---" instead each function must have comments with "[Comment]" keyword in order so see them in IntelliSense
- no support for "continue" keyword and as result Outline Explorer is not populated with members/functions which means no navigation in lua files with continue keyword :(

So I got source code for this VS extension and implemented all above features but then I realized that https://babelua.codeplex.com/SourceControl/latest has very old version of BabeLua (v1.5) without Outline Explorer (a must-have feature for me). I think that I will go back using Notepad++ with FunctionList plugin unless I get source code for BabeLua 3.2. Which version of BabeLua are you using and how do you navigate within lua files?
________________________________________________________
MY FAF CONTRIBUTIONS:
UI Mod - Supreme Score Board
FAF Feature - Accurate Units Stats
FAF Feature - Unit Restriction Manager
User avatar
HUSSAR
Avatar-of-War
 
Posts: 125
Joined: 17 Sep 2015, 06:59
Location: Philly, USA
Has liked: 38 times
Been liked: 59 times
FAF User Name: HUSSAR

Previous

Return to Contributors

Who is online

Users browsing this forum: No registered users and 1 guest