Author Topic: Possess summoned monster?  (Read 448 times)

Legacy_Buddywarrior

  • Hero Member
  • *****
  • Posts: 512
  • Karma: +0/-0
Possess summoned monster?
« on: March 31, 2014, 01:12:31 am »


               

I'm making a "Bio-Engineering like trade" for players where they  find parts to create their own monster. Then I want them to be able to possess the created monster and take it into an area where normal PCs cannot.


Any suggestions on how I can achieve this? Or give the illusion that this is happening?


 



               
               

               
            

Legacy_Buddywarrior

  • Hero Member
  • *****
  • Posts: 512
  • Karma: +0/-0
Possess summoned monster?
« Reply #1 on: March 31, 2014, 01:22:13 am »


               

Custom Polymorphs maybe?



               
               

               
            

Legacy_henesua

  • Hero Member
  • *****
  • Posts: 6519
  • Karma: +0/-0
Possess summoned monster?
« Reply #2 on: March 31, 2014, 08:10:43 pm »


               

Who would you polymorph? Isn't this more about scripting a henchman for the PC to play with? I think that is your best bet.


 


I believe NWNX has a plugin or function for possessing a creature, but last I checked it was buggy.



               
               

               
            

Legacy_MagicalMaster

  • Hero Member
  • *****
  • Posts: 2712
  • Karma: +0/-0
Possess summoned monster?
« Reply #3 on: March 31, 2014, 08:33:03 pm »


               

Well, technically you could polymorph the player into the "possessed" monster and create an NPC that looks like the PC to stay "behind."  And when you break the polymorph then teleport the player back to the image (to simulate them returning to their body).



               
               

               
            

Legacy_henesua

  • Hero Member
  • *****
  • Posts: 6519
  • Karma: +0/-0
Possess summoned monster?
« Reply #4 on: March 31, 2014, 09:17:15 pm »


               That could work, MM. Its kinda like the flip side of that lycanthropy system which spawns a monster (ostensibly you), and then makes you invisible and forced to follow it.
               
               

               
            

Legacy_Buddywarrior

  • Hero Member
  • *****
  • Posts: 512
  • Karma: +0/-0
Possess summoned monster?
« Reply #5 on: April 01, 2014, 03:25:46 pm »


               

I've actually never worked with Henchmen (only slightly embarrassed about that), but I don't think the player can actually possess them can they? Polymorph can be sloppy imo with undroppable items and such. But that may be the only option. Thanks for the suggestions guys.



               
               

               
            

Legacy_henesua

  • Hero Member
  • *****
  • Posts: 6519
  • Karma: +0/-0
Possess summoned monster?
« Reply #6 on: April 01, 2014, 03:31:01 pm »


               My suggestion with the henchman was to script more controls in a conversation so that the player would have more options with it. The truth is that the only possessible creature in game (unless you are a DM) is a familiar.
               
               

               
            

Legacy_Buddywarrior

  • Hero Member
  • *****
  • Posts: 512
  • Karma: +0/-0
Possess summoned monster?
« Reply #7 on: April 01, 2014, 05:11:52 pm »


               

Perfect Henesua, that's what I needed to know. 



               
               

               
            

Legacy_Thayan

  • Sr. Member
  • ****
  • Posts: 435
  • Karma: +0/-0
Possess summoned monster?
« Reply #8 on: April 01, 2014, 08:52:03 pm »


               

If you decide to go the illusion route of letting a PC 'possess' the monster, here's a few thoughts on how you coudl do it without a custom polymorph option:


1. FadeToBlack on the PC to keep the changes in the next steps hidden from the PC

2. ActionJumpToObject(oMonster, oPC) and SetFacing(GetFacing(oMonster) on the PC to move the PC to the monster's position

3. Save the appearance of the PC, and the portait ID of the PC, on the PC using SetLocalInt

4. Use SetCreatureApperanceType(GetAppearanceType(oMonster), oPC) on the PC to change them to the appearance of the monster

5. Use SetPortraitID(GetPortraitID(oMonster), oPC) to give the PC the portrait of the monster

6. ActionUnequip any weapons/cloaks/armor/helms that could be visible if the monster appearance to which they have changed displays any (or unequip all items if appropriate).

6a. If its an issue/concern, put something in the module OnEquip event that automatically unequips any items a PC tries to equip while they have the moster appearance

7. Custscene Invisible the monster (do not destroy) so that it can be jumped to, or have CopyObject used on it, to wherever the PC ends up when they 'unpossess' the monster. Probably set it to plot as well. Use the apperance and portrait ints on teh PC to revert back to the original form whenever that occurs

8. FadeFromBlack on the PC. They should see 'themself' as the monster



It's definitely not perfect though, and there are a number of things that could be refined further - like should the 'monster' be able to use items, the voice set of the monster being that of the PC, the race of the monster being that of the PC, if it's a standard monster, none of the monster abilities/stats/feats will be given to the PC, etc, etc, etc. But if it's meant to be a short possession to do a specific task, this might work for you.