Results 1 to 7 of 7

Thread: How did ca patch squares?

  1. #1

    Default How did ca patch squares?

    Can anyone see how they addressed making squares impossible to form when in melee? I ask, because then I can take a look at where the code for squares is, and possibly changing it.

  2. #2
    The Hedge Knight's Avatar Fierce When Cornered
    Artifex

    Join Date
    Oct 2009
    Location
    England
    Posts
    5,875

    Default Re: How did ca patch squares?

    Hardcoded i believe.

  3. #3

    Default Re: How did ca patch squares?

    We would need a way to fix that stupid bonus granted as soon as you press the square button, not to revert back to the square formed while engaged.

    It's pretty ridicolous how they hard coded important stuff like square and artillery ammos, but there's nothing we can do about it.

  4. #4
    The Hedge Knight's Avatar Fierce When Cornered
    Artifex

    Join Date
    Oct 2009
    Location
    England
    Posts
    5,875

    Default Re: How did ca patch squares?

    Its not stupid, its just the only way they could do it.

  5. #5

    Default Re: How did ca patch squares?

    Quote Originally Posted by Josst View Post
    Its not stupid, its just the only way they could do it.
    Are you kidding?
    They can do whatever they like. They fixed square while engaged becuase people complained, but they forgot to fix the bonus granted immediately. These two fixes were announced way before NTW release because they first knew it was stupid like square behaved in Empire.

  6. #6

    Default Re: How did ca patch squares?

    I don't think its hard coded - I think its in land_battles_orders_scripts, possibly under land_hud_special_ability_button.luac. Since it is scripted, like the other scripts, surely its possibly to add a 10 second delay until the bonus is implemented. Just need a way to open the .luac files

  7. #7
    Primergy's Avatar Protector of the Union
    Join Date
    Mar 2009
    Location
    Augsburg
    Posts
    2,491

    Default Re: How did ca patch squares?

    Quote Originally Posted by squatlover View Post
    I don't think its hard coded - I think its in land_battles_orders_scripts, possibly under land_hud_special_ability_button.luac. Since it is scripted, like the other scripts, surely its possibly to add a 10 second delay until the bonus is implemented. Just need a way to open the .luac files
    Well you can ask Alpaca, he wrote some time ago a decompiler for the UI, but it was a bit buggy, so he didnt released it to the puplic.

    Besides that, i dont think that its definied in those scripts what the button does exactly, eg unit behaviour in a formation.
    Opened it with notepad and it looked more like that in those scripts its defined which tga's are shown, perhaps also in which case those buttons are greyed out.

    But well, it could be that there is also a line, which says which scripts of the hardcoded parts are loaded, when pressing this button, so perhaps it could be possible to load instead a selfwritten lua- script- file.
    If this is the case, you would also have to know which LUA-commands are supportet by Empire.
    Because LUA itself is powerful, someone on the crymod forum (modding community for Crysis) puplished a completly custom Flight-Physic simulation for Aircrafts, with animationes add, completly written in LUA.

Posting Permissions

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