Results 1 to 13 of 13

Thread: Request Help. Willing to donate.

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Request Help. Willing to donate.

    Hello everybody,


    I have been tearing through scripts, everything, I want to figure out how to REMOVE the formation attack UI toggle button. I DO NOT want to remove the attribute. I just want to make it passive again. That way small increments of bonus vs infantry can be applied to units which belong to the groups which acquire formed_attack. However doing this, while the player can still untoggle FA breaks the balance.

    Please, if anyone is a scripting guru, or knows someone who is.... There HAS to be a way to remove this UI element, or make the ATTRIBUTE passive again. It is not possible via DB files it appears.

    I am willing to donate $$ to a helpful friend here. This literally is the main thing that holds me from playing the game. Thanks to anyone who takes a dive at it!!!!

  2. #2

    Default Re: Request Help. Willing to donate.

    Sadly, I think this part of forum is very rarely visited by anyone, so usually it's hard to find help here.
    I can only point you in this direction:
    http://www.twcenter.net/forums/showt...my-lands!-v1-1
    This mod for Empire did pretty much what you need: removed a replenishment button for player , although on campaign screen.
    There is source file included in the mod, so it's possible to learn something from it probably (I think both games use the same scripting language), or maybe you'll be able to get in touch with mod author (T.C.) and maybe he'll be able to help you. Also I think .Mitch. might have some knowledge in that field.

    Under the Patronage of: Ishan

  3. #3

  4. #4
    Inevitability won
    Patrician Citizen

    Join Date
    Mar 2010
    Posts
    9,594

    Default Re: Request Help. Willing to donate.

    Hi, I'll look into this, but I'm 99% sure at this point to remove UI elements you'll either need to:

    A) Access the UI files that set the layout etc of the UI. But I'm doubtful this would be the answer as I don't think it would be possible to hide a speicfic type of (formation attack) UI element.
    B) The .luac files control what actually happens behind the UI elements. These files are compiled Lua files, and are the files TC edited most of the time to do anything majorly UI related.

    The problem with both of these is they both need specific converters, you'd need to ask Taw to do A, and B is almost 100% unlikely to ever happen. (Unless CA give us their uncompiled version of the luac files, which will probably never happen)

    What MAY be the only feasible route is to look at the scripting functions that can hide campaign UI pieces. However how you'd get the script to run on each battle I don't know, and how you'd be able to successfully reference the single type of ability button you want I don't know either.

  5. #5

    Default Re: Request Help. Willing to donate.

    Quote Originally Posted by .Mitch. View Post
    A) Access the UI files that set the layout etc of the UI. But I'm doubtful this would be the answer as I don't think it would be possible to hide a speicfic type of (formation attack) UI element.
    Maybe it would suffice to move it somewhere where it can't be used, like outside of the screen? If this would be doable of course.

    Under the Patronage of: Ishan

  6. #6

  7. #7
    Magnar's Avatar Artifex
    Join Date
    Jul 2013
    Location
    The last place you look
    Posts
    4,370

    Default Re: Request Help. Willing to donate.

    hehe, you couldn't wait any longer for us to get to it

  8. #8

    Default Re: Request Help. Willing to donate.

    Quote Originally Posted by Magnar View Post
    hehe, you couldn't wait any longer for us to get to it
    Im desperate at this point Magnar. I must try all avenues lol.

  9. #9
    The Roman Republic's Avatar Alea iacta est
    Citizen Content Emeritus

    Join Date
    Apr 2011
    Location
    Lost in History.
    Posts
    3,396

    Default Re: Request Help. Willing to donate.

    So you want to remove the UI icon of it? if so it will either be datapack\ui\skins\default or datapack1\ui\skins\default folder.

  10. #10

    Default Re: Request Help. Willing to donate.

    @ Dictator. Right I could just make it transparent. But I want to remove its, 'clickable' function as well.

    There is a whole section in the lua scripting about hiding UI elements. However I don't know what the 'parent' or the name of it in the engine is. And Im not 100% sure I have the script right anyway. It 'seems' possible from looking at it, just for someone a lot more skilled/experienced than myself.

  11. #11
    The Roman Republic's Avatar Alea iacta est
    Citizen Content Emeritus

    Join Date
    Apr 2011
    Location
    Lost in History.
    Posts
    3,396

    Default Re: Request Help. Willing to donate.

    firstly donating or paying for someones help or anything involved with some form of money is prohibited under the TOS,

    and secondly, with the removal of the UI it wont be a "clickable" function as it would have been removed from access in the first place.

  12. #12

    Default Re: Request Help. Willing to donate.

    Quote Originally Posted by Dictator Of The Roman Republic View Post
    firstly donating or paying for someones help or anything involved with some form of money is prohibited under the TOS,

    and secondly, with the removal of the UI it wont be a "clickable" function as it would have been removed from access in the first place.
    Alright well sorry, I didn't realize that a 'donation' was against the TOS. I understand the removing UI function part. Thing is, its not possible to remove it as a mod. Simply including the entire ui, and leaving that out, the base game will still display it.


    Edit: I just re-read the TOS. Maybe I'm missing it. I do not see mention of the donation terms. So again I apologize being in the wrong. ( I read the TOS on the wiki site, if there is a more recent one please let me know )

  13. #13

    Default Re: Request Help. Willing to donate.

    If you remove the icon by making it transparent, there will still be an area that is clickable. There will also be a hotkey.

    ----> Website -- Patreon -- Steam -- Forums -- Youtube -- Facebook <----

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •