Jump to content

EG Mod Development Place


Recommended Posts

Posted

Hello. So I want this place to dump my progress, recollect it and cry about modding skyrim. Maybe I get some advice and learn something... Anyone is welcomed. 

 

Right now I don't know how to script sexlab, devices (that double inventory and non inventory items are scaring me) and didn't make a quest beside Bendu Olo one. But it is okay, one at a time thing.

 

Okay. For start I want to create some systems my mod will be using. I picked simplest thing I thought is. I want my mod to have a system to hide a lockpick in food. To outsmart captors. How hard could it be to insert a lockpick into a bun?

 

enb2025_11_1523_12_58_73.png.e9f20e1d494c7dc3ad65385507cc883b.png

 

I imagined it will be something like that:

  • You click on food 
  • If it is in allowed list (any food that big enough) you get a menu asking to conceal a lockpick or not
  • You click conceal and you get lockpick removed
  • To the food will be added a script giving you lockpick on eating
  • If food already has a lockpick you can't conceal more

 

Well. Apparently adding a script to food is not that easy. I thought It will be because you have a console command AttachPapyrusScript so it must be something like that in papyrus itself but it is not. Plus you don't have an event to catch eating, you do, but you will eat food first and then event will fire. Not something I want. There is a page in uesp about dynamically attaching scripts but I don't think these will be able to help me. I wish author of that page tell more methods to attach script but he didn't. Maybe you know some? So changing plan.

 

Next plan is similar but you will be clicking on lockpick instead of food. Short story: you can't rename menu buttons on fly, so I was unable to make you chose what bun you will insert your lockpick. It is not so important buy I wanted it. 

 

I wanted that if you chose an apple pie you will get an apple pie with lockpick in it. But I don't have skill to make it. I managed to create the system and could give a player exactly the food he clicked, but for that I needed a copy of every allowed food with attached script and it will be roughly 40 new items just for thing so small as hiding a lockpick.

 

For now my system is working like that:

  • Main quest that enables system
  • Player alias that have main script monitoring lockpicks
  • A list of allowed food (anything bun related)
  • A list of allowed keys to conceal (to hide not only lockpicks but restraints keys and so)
  • Created food items that adding lockpick or key on consuming (with boring bread model. Well I can say it is immersive because you wont be getting pretty looking pie or boiled creme treat after inserting a key in it)
  • When player is clicking on lockpick a check is running (has player allowed food, obviously they have a lockpick if they are clicking on it)
  • Any allowed food is placed in empty formlist (just to chose randomly what to remove. At least something than boring cycle from one bun to another)
  • The food and lockpick removed
  • Specific bread is added (with lockpick if you clicked on lockpick, with key if clicked on key)

 

How it looks:

 

A menu:

enb2025_11_1523_46_55_70.png.d676048b023ec7583d138e5528d1fafb.png

 

If you don't have a bun:

enb2025_11_1523_46_31_51.png.83652b0fa0f36fe8b03340474d495b53.png

 

My boring bread after inserting a chastity key in it (Description isn't added for unknown reason maybe because I chose script in effects menu):

enb2025_11_1523_47_33_52.png.1ff469a926a0861dc248c54db5293c8a.png

 

And everything I added to make this work in ck starts with EG_ (Naming is something I need to work on too):

MyLists.PNG.97514ea5f97ca2973ccd32849614a591.PNG

 

Do I really need all that magic effects and food? Looks so awful. But works.

 

Final thoughts: Got to work with magic effects a little. Was trying to debug problems with debug.trace function (and successfully sometimes). Got to know where my papyrus logs are (lol). Created a basic menu. Apparently CK not so flexible as I wanted. But for now I think that it is me who don't have enough power to flex it at my will. And lesson to learn: If I want to finish my mod I got to accept that some things will not be as I want.

 

 

You can download and try it too. I didn't add any comments in scripts because I barely knew what I am doing so feedback on improving it will be a miracle. 

Ok thanks. Until next system is ready.

EatingLockpick.7z

 

 

  • 1 month later...
Posted

Hello to anyone reading. Got something new to show! Here is what I done:enb2026_01_1420_49_46_85.png.fc03f7423a37ff8350ade1b220b8f2d3.png

To tp to this you need to write "coc c" in console. I named a cell just "c" because it is easy to write when constantly test things.

 

Not a lot, but it was fun and very interesting and I got many things to learn because I was using DeepSeek to create this.

Ok. Goal was to create a cleaning quest. Wanted to spawn bunch of objects and then collect them in a basket. In final you will be reporting to a person but for now only a button will give you orders 🖲️.

 

Clicking the button starting a quest and spawning all necessary things.

enb2026_01_1420_51_15_39.png.a033283908530f710faaca9bc6add40c.png

enb2026_01_1420_50_15_68.png.59923c67dee66c3b590906c2f511367a.png

I wanted to make random things appear at random positions. And was very pleased that my code for it was identical what AI suggested.

Each start will scatter trash differently:

enb2026_01_1420_54_09_14.png.6de330216fcc006998b9a0d993c67005.png

enb2026_01_1420_55_24_07.png.375535e9435a335b1b93b0cf68dc83d3.png

enb2026_01_1420_56_30_59.png.07e152b20a197a7c321e9e482658743d.png

enb2026_01_1420_57_39_13.png.79289d429fa2b73537017dfd2a9f00ff.png

So you got to collect trash by picking it with your hands (holding E) and take it to the basket. If you put it inventory this will appear:

enb2026_01_1420_51_53_06.png.5bb5a8d1423ee672dcd32d7cd54373be.png

You will not get any penalty for doing so. You will get penalty in the future. For now this message is just to tie a loose end. So lets throw it away:

enb2026_01_1420_52_39_98.png.ee2b30310b3db7c3ea8f4e2d6e5f3a7f.png

enb2026_01_1420_52_47_29.png.cc39b2f4117e7153f059d3bf292b9579.png

Any time you collect a trash you will receive a small notification:

 enb2026_01_1421_10_42_11.png.87965876a2e1f0ace3cf38ab7215e305.png

If you are don't wanna collect trash for now you can shout at it. They will get tp right in the basket.

enb2026_01_1420_58_35_09.png.b72bfdeb378f4eb85b14a7c9d5bdbb22.png

And btw some objects in the start can fall through the floor, but I don't mind it much cause after they are all appearing at the center where they need to be so if it happens lucky you. Less things to clear ;)

When everything is clear you will get next task:

enb2026_01_1420_52_52_53.png.82d2e377c215030221b08b98afedfd2e.png

Yep now you got to put it in inventory. If you press button when don't:

enb2026_01_1420_53_01_93.png.4be5f7094c622cd451302eacde7475cc.png

Why some text only in russian? Bad work ethic.

Okay everything is ready and we will push the button to collect our award from the table.

enb2026_01_1420_53_14_06.png.053a999403baeb9c15974d5bb02decb5.png

What award is I don't show, download it and see yourself 😈

Imagine this spawning in different rooms and with only 1 basket your character got to run from basket to trash and again. Sounds so fun. With a little tweaking I can do it. Feels good to know that I am able to expand this.

That when I thought I got everything I wanted and how I wanted. But I realized it would be cool if you will sometime find something useful in trash. So after some expanding you can see a lockpick if you are lucky (I guess I love lockpicks or they are just only thing to help escape):

enb2026_01_1515_53_56_54.png.50c0ddb6af0b0e98ea4b1e775cadce74.png

You can be good and get it to the basket, or bad and hide it by picking it:

enb2026_01_1517_55_07_97.png.36e9164d7da71d36edb4254e658b6ecd.png

Doing so will still increase the trash counter and you will be able to finish the quest. And in process of adding a lockpick I encountered a bug where basket losing it static type (hopefully I addressed that) and one time a bug with broken counter (hopefully I fixed that too)

 

I got to organize my work better. If someone sees where I put my code that person would die of laughter. It sucks to rewrite things when you realize you need something you don't created. Not a lot of work but feel stupid.

 

Asking DeepSeek for help was an opening eyes experience. It explains everything and showing you so many examples and you can ask again and again until you get it. Markers that pointing at trash would be floating in the air after collecting it if not for AI that showed me how get rid off it. Basket would look like a hedgehog. This feels so good to be true but it really working. But with that come a huge disadvantage. I knew I need a cycle but I didn't even cared to think what things need to be cycled I just explained it to Ai and got help. That is bad to do because you are learning nothing this way. I need to visit that Ai code many times to realize what and how is going on. I understand what it doing but understanding and realizing are different things. I can't explain in english so good. With that little quest I got so much new knowledge about aliases, arrays, functions and casting. Will be thinking how to do things myself first and using Ai as teacher, not a worker.

 

Thanks for reading. Here are this mod (type "coc c" in console) and a bonus for reading all that.

Spoiler

enb2026_01_1421_09_08_41.png.859e3856beea26fddbb9b801368475ad.png

CleaningQuest.7z

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...