hawhaw521 Posted August 7, 2017 Share Posted August 7, 2017 (edited) Alright folks, I need help. I am making a mod and I want to make it so that you can dump corpses into a dumpster, you know like disappearing when you do the quest Mortimer gives you to dump Carlyle's body in the dumpster. What I need help with is writing the script that does that. Also, I want to make a script that adds rewards to a container when you dump the corpse in the dumpster and the container respawns with new loot only if the player puts a corpse in the dumpster. I honestly doubt that there is a script or something for this but if there is please help me with it. If anyone can help me with this, I would greatly greatly appreciate it. Have a nice rest of the day. Thank you! Edited August 7, 2017 by hawhaw521 Link to comment Share on other sites More sharing options...
Thandal Posted August 7, 2017 Share Posted August 7, 2017 Which game? Link to comment Share on other sites More sharing options...
hawhaw521 Posted August 7, 2017 Author Share Posted August 7, 2017 Fallout: New Vegas. I feel so stupid right now that I forgot to say which game lol Link to comment Share on other sites More sharing options...
hawhaw521 Posted August 8, 2017 Author Share Posted August 8, 2017 Also is there a script that makes it so an item respawns with a chance of a different thing? Like you have 50% chance to get ammo or 50% chance to get a weapon and it depends on real life luck. Link to comment Share on other sites More sharing options...
Mktavish Posted August 8, 2017 Share Posted August 8, 2017 Howdy hawkaw521 ... an interesting question you have there. I did some snooping with all FNV DLC ... and couldn't find what was doing that with just the names you provide. How about go in game and click the dumpster while in the console command ... First press ~ then click dumpster with mouse pointer. It will show a form ID at top of screen ... so write down and post here. Link to comment Share on other sites More sharing options...
hawhaw521 Posted August 9, 2017 Author Share Posted August 9, 2017 (edited) The ID it shows is 1c0010cb. Also, were you talking about my mod's dumpster ID or the carlyle dumpster's ID? Edited August 9, 2017 by hawhaw521 Link to comment Share on other sites More sharing options...
Mktavish Posted August 9, 2017 Share Posted August 9, 2017 I figured you had not made a dumpster that works yet .... so I was only asking for the vanilla you mentioned Link to comment Share on other sites More sharing options...
hawhaw521 Posted August 9, 2017 Author Share Posted August 9, 2017 I did make a dumpster but I just need the scripts. Here's the dumpster for the quest's id i think: 00127dda. I say i think because i wasnt doing the quest but i just went to the dumpster so i hope the id between them isn't different. Link to comment Share on other sites More sharing options...
Mktavish Posted August 12, 2017 Share Posted August 12, 2017 (edited) Ok sorry it took a little while ... but these 3 objects with their scripts is what makes that scene work.Well also the "VMS18Script" on VMS18 Quest which has some variables and objectives it keeps track of.But I don't think we need to mess with how those are working. So this object is what is there most of the time , just acting like a regular dumpster container ..."VMS18DumpsterREF" based on "Dumpster02" base object ... which has its own lvled loot spawning not related to this quest. This area trigger "VMS18DumpsterTriggerREF" that runs this script "VMS18DumpsterTriggerSCRIPT"Just checks if the player enters dragging Carlye ... then disables the regular dumpster , and enables this next object. "VMS18DumpsterActivatorREF" based on "VMS18Dumpster" base object , which is an activator only , not a container.And it runs this script "VMS18DumpsterActivatorSCRIPT" Which for the most part just disables Carlyles body.Sets the quest objectives ... and runs a timer to place the regular dumpster container back. Which you could use a variable in that script , Call it BodyDumped ... Then have a script on a dumpster container checking if that variable == 1 ... then you run a "GetRandomPercent" and based on that number return , you place objects in the dumpster. Thats the theory of it anyways ... give those a looksee , and if you need help writing the script ... I'll write up some specifics for ya. Add edit : Would you like to be able to actually pick the body up and drop it into the dumpster ? Using this static object with it's lid open "DumpsterAltStorage02" Edited August 12, 2017 by Mktavish Link to comment Share on other sites More sharing options...
YanL Posted August 13, 2017 Share Posted August 13, 2017 Also, I want to make a script that adds rewards to a container when you dump the corpse in the dumpster and the container respawns with new loot only if the player puts a corpse in the dumpsterThis mod have a lottery that you put a chip and it return a random reward. Could help you I guess. Link to comment Share on other sites More sharing options...
Recommended Posts