Deleted2746547User Posted November 6, 2012 Author Share Posted November 6, 2012 What all are you wanting the janitor to clean? Well, ideally he's clean up blood, etc. and debris, maybe delete dead bodies. Maybe deposit scrap items into a "bin" the player could sort through it from time to time. Maybe decide what he wants to keep and depositing the rest into the recycler (to be broken down into base parts/scrap etc. Thoughts? This is all very doable. not 100% sure on the blood and a very good concept.Thanks again for al of your help. Link to comment Share on other sites More sharing options...
Deleted2746547User Posted November 6, 2012 Author Share Posted November 6, 2012 I am looking for a little scripting help with several items in my mod if anyone cares to help out (this is certainly easy for some, by scripting is not my forte). Still, I trundle along. The 2 that I could specifically use help with are: A.) A script that either spawns an NPC to clean up dead bodies, blood (debris) etc. or an item the player carries around that does the same thing (eg. you have a shovel you come up on a dead body, shovel to body - body disables, gets marked for deletion, you get karma and the junk is gone. http://www.youtube.com/watch?v=jafu8b0kzUo&feature=plcp B.) A script that turns junk cars to scrap metal that can be recycled if you use a hammer or an item on it. C.) A script that converts scrap into metal ingots (that can be used for construction) once the scrap is placed into an activator/container. (eg. you place tin cans, scrap from metal recycling, old guns, etc. into container, press the button (or give it to an NPC whose job is recylcing) and it gets turned into an equivalent (based on weight of items deposited) "ingots", etc. I've seen variations of these Scripts in RTS, Grave Digger and Clean NCRCF? and Fee's Tent (the incinerator) but I can't seem to replicate it by using their scripts as a starting point. Suggestions/ help very much appreciated. A) This would not be all that hard to do. In fact the mod I am currently working on Danielle Wagner Companion uses a AI that moves around and loots bodies/containers. The same thing could be used for a clean-up script with a NPC janitor. b) This is also doable. C)All Of these are very doable. So, how would i make the janitor script work? to gather stuff, clean up debris and deposit collected materials into a container? Also, how would I go about fixing the sledgehammer to bust up old cars, trailers, etc. and turn it into scrap (maybe based on geck weight of item) - possibly along with a timer? You know, it takes an hour game time to bust up a car... and then it deletes/disables the car reference Link to comment Share on other sites More sharing options...
CaptMitch Posted November 6, 2012 Share Posted November 6, 2012 The janitor script is a bit more tricky! The hammer, you would want select the item and change the name when prompted to Create new ID click YES. then your going to want to attach a script to that object. Link to comment Share on other sites More sharing options...
CaptMitch Posted November 6, 2012 Share Posted November 6, 2012 Honestly Now that im thinking about it!!!!!!!!!!!!!!! to make this even better and thinking about the Janitor..Why not make a couple engineers? Say you find a car/other item you want to scrap. Use a targeting script to select it and add it to a forms list for you engineers to keep track of like a to do list. the engineers move to the object added to the forms list one by one and start hammering on it for said time till its scrapped. then move back to there recycle center or whatever do deliver the scrap. not much diff then my lock-pick or hacking scripts. http://www.youtube.com/watch?v=TBKR3HUWRlE&feature=plcp http://www.youtube.com/watch?v=AB8SbC6w4OY&feature=plcp This way its more automated and frees up the player for other things Link to comment Share on other sites More sharing options...
Deleted2746547User Posted November 6, 2012 Author Share Posted November 6, 2012 (edited) Honestly Now that im thinking about it!!!!!!!!!!!!!!! to make this even better and thinking about the Janitor..Why not make a couple engineers? Say you find a car/other item you want to scrap. Use a targeting script to select it and add it to a forms list for you engineers to keep track of like a to do list. the engineers move to the object added to the forms list one by one and start hammering on it for said time till its scrapped. then move back to there recycle center or whatever do deliver the scrap. not much diff then my lock-pick or hacking scripts. http://www.youtube.com/watch?v=TBKR3HUWRlE&feature=plcp http://www.youtube.com/watch?v=AB8SbC6w4OY&feature=plcp This way its more automated and frees up the player for other things Great ideas but how would I implement that... you've seen my scripting ability VERY COOL BTW Edited November 6, 2012 by Guest Link to comment Share on other sites More sharing options...
CaptMitch Posted November 6, 2012 Share Posted November 6, 2012 How i personally would do it is i would make a engineering team 2/3 NPC's. I would give my player a walkie talkie or some other communicator like i did with Danielle.Whenever you equip/activate the item i would have it pull up a menu for who i wanted to call.Engineers/hunters etc. Then have it pull up another menu for the engineers with some options.Scrapblueprint etc If you select scrap have it start the highlight targeting, highlight and select the object just like in the video, which would add the object to a forms list for the engineers to use as a to-do-list.Once the engineers have something in the form list they would use a travel package to move to the object location and begin to scrap, after a determined time frame say one day the car is disabled/marked for delete. have the engineers bring along a pack brahmin that the scrap will be loaded to for transport back to wherever. Once the engineers return to wherever the scrap is loaded into something. Link to comment Share on other sites More sharing options...
Deleted2746547User Posted November 6, 2012 Author Share Posted November 6, 2012 How i personally would do it is i would make a engineering team 2/3 NPC's. I would give my player a walkie talkie or some other communicator like i did with Danielle.Whenever you equip/activate the item i would have it pull up a menu for who i wanted to call.Engineers/hunters etc. Then have it pull up another menu for the engineers with some options.Scrapblueprint etc If you select scrap have it start the highlight targeting, highlight and select the object just like in the video, which would add the object to a forms list for the engineers to use as a to-do-list.Once the engineers have something in the form list they would use a travel package to move to the object location and begin to scrap, after a determined time frame say one day the car is disabled/marked for delete. have the engineers bring along a pack brahmin that the scrap will be loaded to for transport back to wherever. Once the engineers return to wherever the scrap is loaded into something. I understand the concept... what I mean is the coding. For me, that would be like building the Great Wall of China my friend.. Link to comment Share on other sites More sharing options...
CaptMitch Posted November 6, 2012 Share Posted November 6, 2012 How i personally would do it is i would make a engineering team 2/3 NPC's. I would give my player a walkie talkie or some other communicator like i did with Danielle.Whenever you equip/activate the item i would have it pull up a menu for who i wanted to call.Engineers/hunters etc. Then have it pull up another menu for the engineers with some options.Scrapblueprint etc If you select scrap have it start the highlight targeting, highlight and select the object just like in the video, which would add the object to a forms list for the engineers to use as a to-do-list.Once the engineers have something in the form list they would use a travel package to move to the object location and begin to scrap, after a determined time frame say one day the car is disabled/marked for delete. have the engineers bring along a pack brahmin that the scrap will be loaded to for transport back to wherever. Once the engineers return to wherever the scrap is loaded into something. I understand the concept... what I mean is the coding. For me, that would be like building the Great Wall of China my friend.. LMAO!!!!! nice. 1)you have to make a effect shader (for the highlight marker) This is super simple to do. http://newvegas.nexusmods.com/mods/images/47652-1-1352243457.jpg Link to comment Share on other sites More sharing options...
Deleted2746547User Posted November 6, 2012 Author Share Posted November 6, 2012 (edited) How i personally would do it is i would make a engineering team 2/3 NPC's. I would give my player a walkie talkie or some other communicator like i did with Danielle.Whenever you equip/activate the item i would have it pull up a menu for who i wanted to call.Engineers/hunters etc. Then have it pull up another menu for the engineers with some options.Scrapblueprint etc If you select scrap have it start the highlight targeting, highlight and select the object just like in the video, which would add the object to a forms list for the engineers to use as a to-do-list.Once the engineers have something in the form list they would use a travel package to move to the object location and begin to scrap, after a determined time frame say one day the car is disabled/marked for delete. have the engineers bring along a pack brahmin that the scrap will be loaded to for transport back to wherever. Once the engineers return to wherever the scrap is loaded into something. I understand the concept... what I mean is the coding. For me, that would be like building the Great Wall of China my friend.. LMAO!!!!! nice. 1)you have to make a effect shader (for the highlight marker) This is super simple to do. http://newvegas.nexusmods.com/mods/images/47652-1-1352243457.jpg Ok, I can replicate what you show me how to do... and that is absolutely cool. :thumbsup: But there seems to be 999 other steps missing: :whistling: like scripts :) And this would be for the Hammer effect or for the janitor? I'm assuming the hammer Once I finish with that shader, what next? Edited November 6, 2012 by Guest Link to comment Share on other sites More sharing options...
CaptMitch Posted November 6, 2012 Share Posted November 6, 2012 I'm thinking of the best way to do this. Reguardless you need the highlight effect shader. so make that.Are you wanting animation to play when the engineers get to the object? Link to comment Share on other sites More sharing options...
Recommended Posts