Skip to content

A lark: play as someone else

chimericchimeric Member Posts: 1,163
edited October 2017 in General Modding
In case you wanted somebody else to be the hero of the saga of the Great Bhaalspawn, and the character you generate only his, or her, chronicler or maybe companion, a sort of Imoen to CHARNAME, you should know that you can. The hero can be Imoen herself, or Minsc with Boo, or Coran, or anyone else that you encounter. I've touched on this a while ago, but now I've sat myself down to write the scripts for it.

Here is how it works. Scripts in the games rarely, if ever at all, refer to the protagonist using the unique object, Protagonist. In every case that I know (and if there are a few exceptions somewhere, they are easy to rewrite), the engine refers to the character as Player1, because he is the first character to be created and join the party - and cannot normally leave it. Having staked his claim to that spot, he remains Player1 until ascension to godhood several sequels later. But the engine can be ordered to evict Player1 and take someone else instead. The engine is hungry, you see, for all of the Player roles to be filled, starting from the first. It fills every gap in that order. If there is no Player1 in the party, the next creature to join will become Player1. And now I know how to make the game remember the change and rewrite all of the references.

The ring in the attachment, type it in with CreateItem("xring_#"), will impose a self-deleting script on the party member you target. It won't affect any of the existing scripts. You need at least three people in the party. Give the ring to someone who will stay, then enable party AI and have him target the current Player1 with the first ability of the ring. After the main character drops out, target the one you wish to replace him. Then talk to this one the usual way and invite him back to the party. He will assume the place of Player1. Now use the second ability of the ring on the former main character and talk to him to get him back in the party. On the Reform Party screen you will see that the new hero of the story can no longer be evicted but his companion (you) can. In all of the addresses, greetings, bounty notices and letters future and past the name of the hero will also be replaced - though he must live with Gorion as his foster father. ;)

Will this cause any problems? I'm quite certain that it won't within the first BG game. I can't say how things will go in the sequel if you play as Imoen, when she gets kidnapped by Irenicus. You can switch back before that any time by following the same procedure - though only losers do that!


Post edited by chimeric on

Comments

  • AmmarAmmar Member Posts: 1,297
    Interested to see if there are problems down the road with this.

    By the way, did you know that the Ring of Humility was an important artifact in Ultima Underworld?
  • chimericchimeric Member Posts: 1,163
    Ammar said:

    Interested to see if there are problems down the road with this.

    By the way, did you know that the Ring of Humility was an important artifact in Ultima Underworld?

    Me too. But I have yet to see a script that refers to the Protagonist object rather than Player1. What did the ring do?

  • AmmarAmmar Member Posts: 1,297
    chimeric said:

    Ammar said:

    Interested to see if there are problems down the road with this.

    By the way, did you know that the Ring of Humility was an important artifact in Ultima Underworld?

    Me too. But I have yet to see a script that refers to the Protagonist object rather than Player1. What did the ring do?

    It did nothing, you had to throw it into a vulcano with seven other artifacts, most of which did nothing as well. Only 3 of the 8 did something: Sword of Justice, Shield of Valor, Taper of Sacrifice (everburning candle). http://www.sircabirus.com/uw1walk_talismans.php
  • PaulaMigratePaulaMigrate Member Posts: 1,201
    There is a mod that already does that, however the replacement of your created protagonist by another one only happens after ToB to avoid any inconsistencies.
    In EET's Time of Troubles revisited, the player becomes the heroine Midnight (later to become Mystra) and is accompanied by Cyric, Kelemvor and some others on the quests that lead to the protagonists conception and the defeat of Bhaal, Bane and Myrkul.
    This sequel works like Baldur's Gate Episode One and lets you explore how everything started with Gorion, Gorion's ward, Imoen, Sarevok and others you have met in the original game. You even meet the elf Joneleth in love with Ellesime during one of the quests.
    The extension uses EET's feature to visit all game areas by the common worldmap.
    I just played that mod, so I don't know how it's technically done. There was just some transition screens and cutscenes and I was Midnight all of a sudden. Can't remember any rings or such, at least there was nothing visible.
  • chimericchimeric Member Posts: 1,163
    You can go with this, or you can go with that.
Sign In or Register to comment.