Zorkaz Posted September 24, 2022 Share Posted September 24, 2022 So I thought I could create an NPC who has the same inventor as the player.I created a copy of Player and put "Player" as the template for the inventory. While the face, the name and so on are duplicated the inventory does not?So is the Player in-game not "Player"? or is it just not possible? Link to comment Share on other sites More sharing options...
markusm1000 Posted September 24, 2022 Share Posted September 24, 2022 So is the Player in-game not "Player"? Right, the Player isn't a NON-Player-Character :wink: Players ID is #20 (0x00000014), the "player" in the actorlist is #7 (0x00000007). So there is no actor #20, you can't use the player as template.(And only for the vault suit and the wedding ring you do not need a template). Link to comment Share on other sites More sharing options...
EgoBallistic Posted October 3, 2022 Share Posted October 3, 2022 (edited) So I thought I could create an NPC who has the same inventor as the player.I created a copy of Player and put "Player" as the template for the inventory. While the face, the name and so on are duplicated the inventory does not?So is the Player in-game not "Player"? or is it just not possible? You have to understand the difference between actor base records (NPC records) and actor references. An NPC record describes an NPC (appearance, traits, keywords, starting inventory, etc.) but it doesn't exist in the game. In order for an NPC to exist in the game, you have to create a reference of that NPC, either with the CK or with a script command. This reference is a unique instance of that NPC. The Player you play in the game is a reference, and its inventory is unique. When you created your NPC, you templated its starting inventory on the starting inventory of the player NPC, not on the player reference's current inventory. So when you placed a reference to it in the game world, it got its own unique inventory. To make an NPC have the same inventory as another, you would need to create scripts to copy the inventory and optionally keep it up to date. All of this is very doable, but there isn't a simple checkbox in the CK that will allow that to happen. Edited October 3, 2022 by GrumpyOldGrognard Link to comment Share on other sites More sharing options...
Recommended Posts