Results 1 to 14 of 14

Thread: Can a script be reversed/restarted?

Hybrid View

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

    Default Can a script be reversed/restarted?

    Hi!

    Can scripts, and I mean any script be restarted or reversed?

  2. #2
    Withwnar's Avatar Script To The Waist
    Join Date
    Oct 2008
    Location
    Earth
    Posts
    6,329

    Default Re: Can a script be reversed/restarted?

    Short answer: no. Sometimes it is possible but it totally depends on the script. e.g. This re-asks the "Restore Arnor?" question which in turn triggers the associated script to make it happen: http://www.twcenter.net/forums/showt...1#post11774492

  3. #3

    Default Re: Can a script be reversed/restarted?

    I want to restart the one ring scrips to be able to destroy it. I've just destroyed sauron, but I don't see any point after almost 250 turns to hunt down every mordor general and city.

    Do you think that is possible?

  4. #4
    Withwnar's Avatar Script To The Waist
    Join Date
    Oct 2008
    Location
    Earth
    Posts
    6,329

    Default Re: Can a script be reversed/restarted?

    Maybe but somebody would need to investigate the script to work it out.

    Instead you could use what I linked to and change this line in its ArnorReunionOffer.txt file. ..

    Code:
    historic_event union true factions { turks, }
    ...to...

    Code:
    console_command kill_faction england
    ...or, if that doesn't work...

    Code:
    give_everything_to_faction england slave true

  5. #5

    Default Re: Can a script be reversed/restarted?

    Thanks for the reply and your time, I will try that and compared to the other dude Ill tell you if it worked or not

  6. #6

    Default Re: Can a script be reversed/restarted?

    And it didn't =/

    Crashed with both codes when I pressed F1

  7. #7
    Withwnar's Avatar Script To The Waist
    Join Date
    Oct 2008
    Location
    Earth
    Posts
    6,329

    Default Re: Can a script be reversed/restarted?

    It worked for me. Hitting F1 shows the advisor and then clicking its "show me" button (which is not highlighted for some reason) kills Mordor.

    I don't know why yours crashed. Are you using any submods?

  8. #8

    Default Re: Can a script be reversed/restarted?

    im using MOS, probably that's why?

    Would be great if I could do this!

  9. #9
    Withwnar's Avatar Script To The Waist
    Join Date
    Oct 2008
    Location
    Earth
    Posts
    6,329

    Default Re: Can a script be reversed/restarted?

    Perhaps but I can't think why.

  10. #10
    Withwnar's Avatar Script To The Waist
    Join Date
    Oct 2008
    Location
    Earth
    Posts
    6,329

    Default Re: Can a script be reversed/restarted?

    Ah, just thought of something. See my edit in that post regarding the export_advice.txt.strings.bin file. That would be a reason for the CTD.

  11. #11

    Default Re: Can a script be reversed/restarted?

    Dude, it worked. And not just that, I added the line in the script for the destruction of the one ring, so both mordor and the ring was destroyed. Thank you, meant much for all those hours I put down so my story could be complete! THANK YOU!!!! so much for taking your time bothering about my petty problems, kudos to you.

    One last question, i added a line to also destroy the dark lord - is there any side effects or bugs to do that? I mean destroy "the dark lord", doesnt seem any sense that he should live on after the destruction of the ring and keep on calling invasions?

    THANK YOU!!

  12. #12
    Withwnar's Avatar Script To The Waist
    Join Date
    Oct 2008
    Location
    Earth
    Posts
    6,329

    Default Re: Can a script be reversed/restarted?

    You're welcome and thanks for reporting back.

    Dark Lord: in vanilla TATW 3.2 he is respawned if found to be dead, so no point in killing him. You could instead kill the papal_states faction - that should do it I think. (I don't know if MOS is different in any of that.) However, by removing the pope (Dark Lord / papal_states) you are also disabling Invasions.

  13. #13

    Default Re: Can a script be reversed/restarted?

    hey! So, it was here we discussed the destruction of the papals. Is it possible to resurrect them? for the sake of being able changing the bodyguards once more

  14. #14
    Withwnar's Avatar Script To The Waist
    Join Date
    Oct 2008
    Location
    Earth
    Posts
    6,329

    Default Re: Can a script be reversed/restarted?

    (This is a continuation of the discussion here.)

    No luck. I can't get faction_emerge to work with either papal_states or hungary in that advisor script.

    So not possible as far as I know.

Posting Permissions

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