Front end mods from mod folders.

Everything about mods can be found here.

Moderator: Morax

Front end mods from mod folders.

Postby Domino » 28 Dec 2019, 22:47

HEYA!!

Long time. :)

anyway did a little work this week on a script i was working on before i left.

basically iv'e enabled front end modding from a mods folder.
this mean i can basically do anything to the front end from a mods folder when the mod is enabled or disabled. :)

here is a little video of me changing the front end menu and video and some options from a mod!

https://www.youtube.com/watch?v=vykx3ZrXj6U&feature=youtu.be

the mod isnt finished yet, ill complete it and post it here a little later.
Domino
Priest
 
Posts: 313
Joined: 14 Mar 2012, 21:07
Has liked: 3 times
Been liked: 74 times

Re: Front end mods from mod folders.

Postby speed2 » 29 Dec 2019, 00:31

I'm at the edge of my seat!
User avatar
speed2
Contributor
 
Posts: 3138
Joined: 05 Jan 2013, 15:11
Has liked: 615 times
Been liked: 1084 times
FAF User Name: speed2

Re: Front end mods from mod folders.

Postby keyser » 29 Dec 2019, 00:50

the messiah is back.
Zockyzock:
VoR is the clan of upcoming top players now
keyser
Councillor - Game
 
Posts: 1766
Joined: 17 May 2013, 14:27
Has liked: 413 times
Been liked: 500 times
FAF User Name: keyser

Re: Front end mods from mod folders.

Postby Domino » 30 Dec 2019, 23:09

hey,

speed2 wrote:I'm at the edge of my seat!


i know right, it's exciting isn't it. :)

keyser wrote:the messiah is back.


i am far from a messiah :P

regarding the script,
yeah it's coming along nicely now, had some bugs to work out of it but it is working very good right now as i have been able to put some good hours into it this last few days.
there are just so many things i need/want to add to it. :) one thing to note right now though is that once a front end file is hooked once its enabled you have to "refresh" the call to said hooked file.. as the file that is hooked could be in use at the time of hooking so its needs to be called again to allow the hooks to be used. its not a problem if a mod is enabled when fa starts the hooks are just used from the start, kinda like an scd but in an enabled mods folder, this presents a problem that the modder will need to solve if the mod is enabled from the game lobby. 100% as of right now we can make new front ends n such from mod folder. We can hook any game lua file from a mods folder, files are hooked/cleaned on the fly so disabling a mod removes the hooks that the said disabled mod entered, i also added support so we can now hook mod files, so say mod 1 does something in an lua file, another mod loaded after mod 1 can hook the mod 1 file to change/hook whatever they want in preceding mods original lua (a lua file not in the game ie not a hooked file). dunno if this was already possible or has already been done. i added that support anyway, i think it would make more mods compatible as mod 2 can just hook mod 1's lua, whatever.... added some basic support for an scd to add hooks to any game file, not the schook folder stuff... means base lua in scds that override then cannot be hooked are now able to be hooked like normal. hope that all made sense :)

:)
Domino
Priest
 
Posts: 313
Joined: 14 Mar 2012, 21:07
Has liked: 3 times
Been liked: 74 times

Re: Front end mods from mod folders.

Postby speed2 » 19 Jan 2020, 19:54

Image
User avatar
speed2
Contributor
 
Posts: 3138
Joined: 05 Jan 2013, 15:11
Has liked: 615 times
Been liked: 1084 times
FAF User Name: speed2


Return to Mods & Tools

Who is online

Users browsing this forum: No registered users and 1 guest