Metrite Posted August 28, 2023 Posted August 28, 2023 Hey guys, I have absolutely zero experience in modding, I don't know any papyrus or C++. I'd like to make a mod where your character need to go to the toilets. So I know there are mods like this already but they're either a bit too janky, kinky or not detailed enough. So I decided I should make my own mod. I just want a simple mod compatible with dirt & blood where you need to shit and piss, with some details here and there (stain if you don't clean, digestive system, why not add gas lol). How hard would it be to make a nice clean (no pun intended) & compatible mod like that?
belegost Posted August 28, 2023 Posted August 28, 2023 7 hours ago, Metrite said: I don't know any papyrus or C++ If I were you, I would start from here.
Metrite Posted August 28, 2023 Author Posted August 28, 2023 31 minutes ago, belegost said: If I were you, I would start from here. Yeah I didn't mention it but I want to learn these two. I was wondering if I had to be very skilled (like years of programming) to make what I want, or if a base lvl was enough.
belegost Posted August 29, 2023 Posted August 29, 2023 (edited) 14 hours ago, Metrite said: Yeah I didn't mention it but I want to learn these two. I was wondering if I had to be very skilled (like years of programming) to make what I want, or if a base lvl was enough. Q: "Can I make my own beer? I don't know anything about brewing" A: "Learn brewing and you can" Q: "Can I make a good beer, that tastes just the way I want from the get go?" A: "No. You need experience and practice" Edited August 29, 2023 by belegost 1
Metrite Posted August 29, 2023 Author Posted August 29, 2023 1 hour ago, belegost said: Q: "Can I make my own beer? I don't know anything about brewing" A: "Learn brewing and you can" Q: "Can I make a good beer, that tastes just the way I want from the get go?" A: "No. You need experience and practice" I think I wasn't clear, sorry about that. I'm not asking if I can make this mod after a few days of learning programming. I want to know if making this mod requires years of practice or if after a few months I can start to work on it.
DarkBlade13 Posted August 29, 2023 Posted August 29, 2023 (edited) You can do it after a few months. Altough making things compatible with other mods might require you to get on the same level as the mod autor (maybe a year or more experienc). I learned papyrus on my own. You will need notepad++ to read the psc files (readable pex files). The Pex files are the ones the game uses. You can also go into creation kit, go to the properties of the scripts and read them. I have made use of many ot the vanilla scripts that I just used and tweaked. It could also be usefull to dowload my mod and read trought the psc files. I made many different things in this mod and the scripts have many different functions. You might be able to lean a thing or two from it. On the website skyrim creation kit wiki you can find a library on information and scripts/functions that already work when you just copy paste them. To test if a script works you can use the debug messages in your script as shown on the website. https://www.creationkit.com/index.php?title=MessageBox_-_Debug. Keep in mind that almost all scripts require some kind of event to start running. For example with a triggerbox Event OnTriggerEnter(ObjectReference akActionRef) Debug.MessageBox("This is how you get a script running from a box") EndEvent Or you can atach a script to a quest (game enabled) and have it activated with the OnInit() function like Event OnInit() ; This event will run once, when the script is initialized Debug.MessageBox("Script running") EndEvent Might want to run trough the 'creating a scene', from Caden https://www.youtube.com/watch?v=ivJuYlQ-d_Y if you want to go with dialogue scripts. To sum it up. You can atack scripts to Quests Almost every item Actors Dialogues in quests To activate the scripts you will probably need an Event something() and an EndEvent at the end. Have fun experimenting! Keep in mind that many functions are defined by a certain property. You have ObjectReference, Actor, MiscItem, and others. These properties need to be defined underneath the script for the script to use. Fox example Event OnTriggerEnter(ObjectReference akActionRef) Game.GetPlayer().AddItem(Gold001, 500) EndEvent MiscItem Property Gold001 Auto Or: ObjectReference Property 'Something' Auto ObjectReference can not be cast in actor functions when used in actor functions you need to write (Something as actor).Moveto(Game.GetPlayer()) Edited August 29, 2023 by DarkBlade13
DarkBlade13 Posted August 29, 2023 Posted August 29, 2023 (edited) It would be best to start writing very simple scripts and have them work. You can just steal them from the vanilla script library and look trough all of them. DO NOT change the scripts as there is no backup and you will CHANGE the vanilla scipts IRREVERSIBLE. So only read and copy NO EDITING. If you want to edit make a new script. You can also put a set of requirments for the script to run such as Event OnTriggerEnter(ObjectReference akActionRef) If (akActionRef == Game.GetPlayer()) && (FirstRun == False) Game.GetPlayer().AddItem(Gold001, 500) FirstRun = True ElseIf (FirstRun == True) Else ; a catch all perhaps? EndIf EndEvent MiscItem Property Gold001 Auto Bool Property Firstrun = False Auto Like I said. You might want to download my from my profile. Just extract the file with unzip or winrar or something. And then instead of installing it just go the source script files and read trough the psc. You can also do this with many other mods. Just download, read, discard. Edited August 29, 2023 by DarkBlade13
DarkBlade13 Posted August 29, 2023 Posted August 29, 2023 Dirt and Blood doesn't look too compicated. If you work consistent on it during the weekends, I would say you probably have your mod finished withing one year and compatible.
traison Posted August 30, 2023 Posted August 30, 2023 My personal recommendation would be for you to start by modifying existing mods, but try to understand how they work while you do. I started off modifying SexLab, Inflation Framework and Fill Her Up until one day I decided to rewrite IF and FHU. Been running on my custom builds since then and its now grown to a set of over 30 custom made mods largest having nearly 10,000 lines of code. Papyrus is not the kind of language you want to base your knowledge of programming on however, as you will find no equivalent elsewhere. If you have any plans on taking this further, it may be beneficial for you in the future to start with something else and branch into Papyrus. I started with Visual Basic back in the day and some 10 years later found myself on the wrong side of the tracks. Switching to C from VB took some getting used to. You won't need c++ for a project like this. If you absolutely want to involve c++ in this, start with something simpler like a plugin that adds a "Hello World" method callable from Papyrus. Expand into returning the player's name instead and go from there.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now