Deleted2746547User Posted November 5, 2012 Share Posted November 5, 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. 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. Link to comment Share on other sites More sharing options...
CaptMitch Posted November 5, 2012 Share Posted November 5, 2012 (edited) 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. Edited November 5, 2012 by Capt Mitch Link to comment Share on other sites More sharing options...
Deleted2746547User Posted November 5, 2012 Author Share Posted November 5, 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. You are brilliant my friend. Very cool on the preview! Of course, easy and doable for you.... I spend weeks looking at a script and cobbling different parts together and I'm lucky when it works! Like I mentioned earlier, I "dumbed" down many aspects in my mod that I had wanted to be more advanced. For example, I have Soldier ID's as a misc. item (kind of like enlistment papers:) that once produced (mixing citizen ids , training etc.) you can carry with you to assign it to a post. I had wanted this to be a little more interactive. But you do what you have to I guess, :/ Link to comment Share on other sites More sharing options...
CaptMitch Posted November 5, 2012 Share Posted November 5, 2012 Well just take all of scripts i write for you and LEARN from them. I have been writing scripts for games for YEARS. Of course every game engine has its own script code that you have to learn. And i also spend ungodly hours researching that is why i want to give something back to to the community that makes so many great mods! This can be done ANYWAY YOU want its your mod. Just when you release the mod toss my name in there somewhere lol http://forums.nexusmods.com/public/style_emoticons/dark/whistling.gif Link to comment Share on other sites More sharing options...
Deleted2746547User Posted November 5, 2012 Author Share Posted November 5, 2012 Well just take all of scripts i write for you and LEARN from them. I have been writing scripts for games for YEARS. Of course every game engine has its own script code that you have to learn. And i also spend ungodly hours researching that is why i want to give something back to to the community that makes so many great mods! This can be done ANYWAY YOU want its your mod. Just when you release the mod toss my name in there somewhere lol http://forums.nexusmods.com/public/style_emoticons/dark/whistling.gif Very coool..... thank you! Would definitely love your help with these scripts. Need is probably more like it. I spend days just trying to cobble together things like the explosion script you helped me fix last night; :thumbsup: Certainly will toss your name around and give you mad props! Link to comment Share on other sites More sharing options...
CaptMitch Posted November 5, 2012 Share Posted November 5, 2012 Its a lot harder for me to write the scripts as i dont have the full mod to do any kind of testing, But im pretty good writing them and usually don't have to many errors lol unless its 6:45 am Do you have any of these scripts started? We are going to need a couple things.1) If you want a janitor to walk around cleaning we will need the NPC.2) YOU need to do all the leg work and find all ID's of what you want him to pick up (wont have to do this for things like dead NPC's, we can use a ref walk for this) I can put together the Animations (i think a brook animation would be fine) Turning junk cars into scrap should be easy enough. wit will require some testing but i think the hammer idea would work best to turn the cars into scrap. As far as converting items, we should use some container like a trash compactor or something with a INV and when you put the items in along with some say energy cells it will convert them (with some sound effects) Link to comment Share on other sites More sharing options...
Deleted2746547User Posted November 5, 2012 Author Share Posted November 5, 2012 (edited) Its a lot harder for me to write the scripts as i dont have the full mod to do any kind of testing, But im pretty good writing them and usually don't have to many errors lol unless its 6:45 am Do you have any of these scripts started? We are going to need a couple things.1) If you want a janitor to walk around cleaning we will need the NPC.2) YOU need to do all the leg work and find all ID's of what you want him to pick up (wont have to do this for things like dead NPC's, we can use a ref walk for this) I can put together the Animations (i think a brook animation would be fine) Turning junk cars into scrap should be easy enough. wit will require some testing but i think the hammer idea would work best to turn the cars into scrap. As far as converting items, we should use some container like a trash compactor or something with a INV and when you put the items in along with some say energy cells it will convert them (with some sound effects) Ok, I sent you an esp but ignore that. If you go to the link in my signature, the newest ESP was just uploaded V1.13 (just so you can "see" it for reference. I absolutely don;t mind entering everything in geck. VERY THANKFUL for your help. This is what I need to get this mod moving. :) PS As for scripts... no,, none would save correctly. :/ And I could never pin point the error. It's the syntax that always seems to get me. :wallbash: :wallbash: :wallbash: I will work on the NPC though and the list. I suppose that would be a formlist? Edited November 5, 2012 by Guest Link to comment Share on other sites More sharing options...
CaptMitch Posted November 5, 2012 Share Posted November 5, 2012 What all are you wanting the janitor to clean? Link to comment Share on other sites More sharing options...
Deleted2746547User Posted November 5, 2012 Author Share Posted November 5, 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? Link to comment Share on other sites More sharing options...
CaptMitch Posted November 5, 2012 Share Posted November 5, 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. Link to comment Share on other sites More sharing options...
Recommended Posts