Creating a sac or box that the player can fill then carry

Post » Mon Nov 19, 2012 4:38 am

Has anyone created a sac, or box that the player can fill with items and carry around? It's part of a mod I'm working on where the box can be teleported to a location.
User avatar
Britta Gronkowski
 
Posts: 3475
Joined: Mon Apr 09, 2007 3:14 pm

Post » Mon Nov 19, 2012 8:05 am

http://www.gamesas.com/topic/1343431-relz-bag-of-holding/ by JustinOther should fit the bill.
User avatar
Christie Mitchell
 
Posts: 3389
Joined: Mon Nov 27, 2006 10:44 pm

Post » Mon Nov 19, 2012 8:26 am

http://www.gamesas.com/topic/1343431-relz-bag-of-holding/ by JustinOther should fit the bill.
With the recent introduction of a feature - (I think) as part of the DawnGuard DLC - to prevent adding Container Items to a player's inventory ... Is Justin's MOD still functioning correctly?

(and if it is, does he want to share how?!) ;)
User avatar
Emma Parkinson
 
Posts: 3401
Joined: Wed Jul 26, 2006 5:53 pm

Post » Mon Nov 19, 2012 9:36 am

Has anyone created a sac, or box that the player can fill with items and carry around? It's part of a mod I'm working on where the box can be teleported to a location.

Do you want the container of items to have weight while it's being carried? You said carry but then you also mentioned teleporting. If you want it to have weight based on what is inside you'll either need SKSE functions or do some extra calculations based on changing player inventory weight. The Bag of Holding is meant to let you ignore encumbrance and if that's what you want, it's definitely your best resource.
User avatar
Roberto Gaeta
 
Posts: 3451
Joined: Tue Nov 06, 2007 2:23 am

Post » Mon Nov 19, 2012 1:53 am

With the recent introduction of a feature - (I think) as part of the DawnGuard DLC - to prevent adding Container Items to a player's inventory ... Is Justin's MOD still functioning correctly?

(and if it is, does he want to share how?!) :wink:
Eh? Containers aren't inventory items, so you can't have a CONT form in your inventory by any normal means (this doesn't take any intervention as it just doesn't happen naturally). There's actually a way to put an actor in your inventory, but...
User avatar
Phillip Hamilton
 
Posts: 3457
Joined: Wed Oct 10, 2007 3:07 pm

Post » Mon Nov 19, 2012 1:22 pm

Eh? Containers aren't inventory items, so you can't have a CONT form in your inventory by any normal means (this doesn't take any intervention as it just doesn't happen naturally). There's actually a way to put an actor in your inventory, but...
Sorry Justin. It might be me, then?

At some point I thought BoH stuck a chest in your inventory (if you dropped the "remote control", or some such) ... Like I say, probably me ... Usually is ...
User avatar
YO MAma
 
Posts: 3321
Joined: Thu Dec 21, 2006 8:24 am

Post » Mon Nov 19, 2012 1:58 am


Sorry Justin. It might be me, then?

At some point I thought BoH stuck a chest in your inventory (if you dropped the "remote control", or some such) ... Like I say, probably me ... Usually is ...
If you're talking about my bag, it's a decoy in your inventory (an ARMO item). When you drop it, the container appears via a switcharoo, but it's never actually in your inventory.
User avatar
k a t e
 
Posts: 3378
Joined: Fri Jan 19, 2007 9:00 am

Post » Mon Nov 19, 2012 9:22 am

If you're talking about my bag, it's a decoy in your inventory (an ARMO item). When you drop it, the container appears via a switcharoo, but it's never actually in your inventory.
Ah. Then it's my (rubbish) memory ... I thought you had found a trick that I badly need (I am interested in this "Dead Body" in my inventory "hint" you gave? ;))
User avatar
Justin Bywater
 
Posts: 3264
Joined: Tue Sep 11, 2007 10:44 pm

Post » Mon Nov 19, 2012 9:11 am

Ah. Then it's my (rubbish) memory ... I thought you had found a trick that I badly need (I am interested in this "Dead Body" in my inventory "hint" you gave? ;))
You can add actors to your inventory with
PlayerREF.EquipItem(kActorReferenceToClone.GetBaseObject())
They probably won't be dead, however, and will show up in your MISC items.
User avatar
Stephanie I
 
Posts: 3357
Joined: Thu Apr 05, 2007 3:28 pm

Post » Mon Nov 19, 2012 1:54 am

Hi JustinOther
I assumed it wasn't actually IN the player's inventory, just an alias, but I didn't know how to get the alias into the inventory, so I thought about a global variable. Last night I was thinking about it and thought maybe I could create a real item that could be put into the players inventory that would point to a cell that was never entered. Just like the courier has.
Then I was thinking about a spell that when cast could be used. I didn't know if anyone would use it though. But it would be a good exorcize in CK.
User avatar
BethanyRhain
 
Posts: 3434
Joined: Wed Oct 11, 2006 9:50 am

Post » Mon Nov 19, 2012 4:29 am

The ARMO item is an alias, but still, the CONT is never in the player's inventory. When the apparel item is equipped, it runs code to open the container that is elsweyr.

IF you've an alias that's filled with an inventory-able item, you can add it to the player with

PlayerREF.AddItem(YourQuestAlias.GetReference())
...or...
YourQuestAlias.GetReference().Activate(PLayerREF)
User avatar
Jimmie Allen
 
Posts: 3358
Joined: Sun Oct 14, 2007 6:39 am

Post » Mon Nov 19, 2012 10:41 am

Thank you!
I'll download your Bag tonight and see if I can figure out what you did. It'll make more sense that way.
If I find anything good, I'll pm you to keep your secrets safe. :)
User avatar
Jessie
 
Posts: 3343
Joined: Sat Oct 14, 2006 2:54 am

Post » Mon Nov 19, 2012 1:07 pm

Thank you!
I'll download your Bag tonight and see if I can figure out what you did. It'll make more sense that way.
If I find anything good, I'll pm you to keep your secrets safe. :smile:
No secrets, thus the PSCs are included :)
User avatar
Harry-James Payne
 
Posts: 3464
Joined: Wed May 09, 2007 6:58 am


Return to V - Skyrim