Jump to content

PeterMartyr

Premium Member
  • Posts

    1339
  • Joined

  • Last visited

Nexus Mods Profile

About PeterMartyr

Profile Fields

  • Country
    Australia

Recent Profile Visitors

5633 profile views

PeterMartyr's Achievements

Mentor

Mentor (12/14)

  • Dedicated
  • First Post
  • Collaborator
  • Posting Machine
  • Week One Done

Recent Badges

35

Reputation

  1. what ever you pick, Notepad++ Sublime or Visual Studio Code, remember to install there papyrus packages, and set it has your external editor in the creation kit, then you can open psc from the creation kit in your preferred editor, and OFC compile with out even launching the kit. EDIT for a joke I went to UESP CK to see if my original Sublime Package was still there, it is, and the archive, some it was dated back to Feb of 2011, LOL, I recall hearing back in the day, that it from Bethesda, and they use Sublime has there prefer editor, and made a package for it, doe it make sense now? Feb 2011 LOL Dude do it, get some syntax coloring, auto-complete and lintering, it is not a crime)) I been doing forever at least, maybe 2012, for sure maybe, in 2013, I cannot remember it's been so long. All I know for sure is I pre ordered the game)) It like not Beth Dev use the CK Editor, trust me they didn't.. check out that package on UESP CK if you do not believe me!! Don't quote me, that might be rumour I heard back in the day, but the package does go back to Feb, 2011.. any one can check it. BTW don't use that package on UESP CK, it is outdated... it was just to make a point
  2. I am using Sublime Text there, but any decent editor will do it, even windows search, if say, if you input "some lines of text" will find "The Text Document that Contains it." by searching the text in standard text files But coding editors take it to next level, seriously your using just CK? I think it time to upgrade, for free, I would recommend Visual Studio Code, it is very popular in the Bethesda Modding Community https://code.visualstudio.com/download Either way you have to learn how to set up Projects. Which might help with versioning, if you do it properly https://code.visualstudio.com/docs/sourcecontrol/github In case you get serious about versioning and version control, using Visual Studio Code Welcome to Syntax Coloring, Auto-Complete and Lintering, don't go into shock OK? Don't ask what I like, I have 5 or 6 editors in my system now, plus I recently installed WARP for a lookies, so far I like it) a lot)) EDIT https://www.warp.dev/
  3. I know I am probably being a pain in the ass at this stage of development, and do not know what editor you use but [Ctrl + Shift + F] will search all scripts in the project , in your case 10,000 psc for "AddToMap" it will return every single script in the source folder that has that code, and if a scripts has it more than once it may need some configuring in the settings, but I just opened the Source Folder Directory in the editor to do this, without modifying any settings whatsoever C:\SteamLibrary\steamapps\common\Skyrim\Data\scripts\Source\TIF__000DA66E.psc: 9: MapMarker.AddToMap(false) C:\SteamLibrary\steamapps\common\Skyrim\Data\scripts\Source\TIF__000DA66F.psc: 9: MapMarker.AddToMap(false) C:\SteamLibrary\steamapps\common\Skyrim\Data\scripts\Source\TIF__000DA670.psc: 9: MapMarker.AddToMap(false) C:\SteamLibrary\steamapps\common\Skyrim\Data\scripts\Source\TIF__000DA671.psc: 9: MapMarker.AddToMap(false) C:\SteamLibrary\steamapps\common\Skyrim\Data\scripts\Source\TIF__000E82A5.psc: 9: pMapMarker.AddToMap() C:\SteamLibrary\steamapps\common\Skyrim\Data\scripts\Source\TIF__02026558.psc: 9: SkaalMarker.AddToMap() 18: SkaalMarker.AddToMap() 294 matches across 222 files 3 seconds to it set up, then 294 hits in 1 second, work smart, yes it is interactive, it will open the script to the designated line on a double click. EDIT Welcome Back.
  4. When / If your ready to tackle it post again here, to avoid explaining again and there will be heaps people ready to help ya out, I just felt for your modding and learning, it was better long term to start slow and get a solid foundation.. I am happy (if someone doesn't beat me to it) to help write or improve the script, but if you have coded before, there very very very good chance you will work it all out for your self, papyrus is very easy, for those with some coding background, beginners struggle with generic cross platform coding principles, not papyrus itself But think of this, we have reduced the work 100 fold with that one script, it will still need to be attached and its properties filled tho. Another route is a SKSE plugin, but I felt that was off the table, if you could, you would not be posting here
  5. Skyrim is different, but you should find it is easier once you get into back into it, first thing you need to is set in stone the requirements to read the book Skill Previous Spell Both The Skill will require SKSE, the spell does not Once that is worked out, it requires blocking the activation, then just validate it, if true, active the spell tome else use a message box to verbose the reason it failed The catch is you need to use one script, were the properties values are set in the creation for the comparison in the requirements, or make a specialist Hardcode script for each tome, not a good plan eh, go with the one NOT hardcode script, would be my advice, attach to each spell tome, so steel yourself for rinse and repeat BUT the question is what is your coding level, have you coded before. You may want to start with a Papyrus Hello World. Before you tackle that to a least familiarise your self with the basic. https://ck.uesp.net/wiki/Bethesda_Tutorial_Papyrus_Hello_World http://www.cipscis.com/skyrim/tutorials/beginners.aspx Coming from Fallout you may even be aware of who CIPSCIS is, I added him has an easter egg for you
  6. Make the guard members of a special faction that is your mod only, then use that faction to set the crime, only NPC in the faction will care, and only the guards will react, it is like having bounty in Whiterun but not in other cities... so there you are free to walk around. It is smoke and mirrors as I like to say. Most of the time when there is conflict of interest, a faction is the solution, then it is specific to your mod only But to explain in detail why I said your ask is hard Player sneak or casually walks up to case once there if not in sneak, they sneak once they are hidden they try to pick the lock on the first second after menu close the player is still hidden and doing nothing if he was not detect in millisecond before lock menu open, it will not happen afterwards regarding the lock we are now up to stealing etc that why I said it is a good ask, there is nothing wrong with that script, except it did not really fulfill your expectations, but is what you asked for, if the player is detected, it will work fine as it is scripted Another solution is make a door, make a cell where the player trespassing, now the game will handled it for you before and after the required stage, it could be, this door is locked and cannot be open.. there heaps of solutions "You need to leave" for me is good enough from the guards, plus they arrest you if ya do not leave, and again let the game handle it if caught picking or stealing. I am sure this happen somewhere in Skyrim, or am I thinking of Oblivion?
  7. if my pseudo code confuses you, this the realisation in papyrus ScriptName YourNameHereScript Extends ObjectReference Int Property MOTIVATING_FINE = 750 AutoReadOnly ObjectReference Property PlayerRef Auto Faction Property TheFaction auto Int enterAmount Event OnTriggerEnter(ObjectReference akActionRef) If akActionRef == PlayerRef enterAmount = TheFaction.GetCrimeGold() TheFaction.SetCrimeGold(enterAmount + MOTIVATING_FINE) EndIf EndEvent Event OnTriggerLeave(ObjectReference akActionRef) If akActionRef == PlayerRef && enterAmount + MOTIVATING_FINE == TheFaction.GetCrimeGold() TheFaction.SetCrimeGold(enterAmount) EndIf EndEvent one private variable and not hardcoded, there's a difference between pseudo code and the real thing
  8. Honestly if I have add how to validate who is triggering the box, or enabling or disabling the trigger box according to quest stages, you should not be coding btw @dylbill math is sound, you may want to say sorry) that not the reason it is failing. Code and menu mode is always problematic, since the Game the pause AI Processing) and Game Processing in general, it is a good ask, maybe extend that 1 sec wait..
  9. Why do you not just use a big massive trigger box around the case? https://ck.uesp.net/wiki/OnTriggerEnter_-_ObjectReference https://ck.uesp.net/wiki/OnTriggerLeave_-_ObjectReference ON ENTER: add the fine for trespass then note current balance with the fine added add motivating fine int original low level stealth characters will suffer badly here, and may not make it to the case ON LEAVE note the balance again int newbalance now so simple, you do not even need a diff if newbalance == original remove motivating fine Endif else they got caught picking or stealing and let leave the trespass fine tooo, suffer while you run in the streets trying to get away What is so hard about that, that is what you want right? Problem is your over thinking it and complicating it.
  10. The script rar is in the Data Folder, not the (Executable - Game Root) Folder, but guessing you found it by now, it has been ten hours)) hehehe, but just in case: LE Now open the Data\Scripts\Source Folder and take a look SE Now open the Data\Source\Scripts Folder and take a look The script psc when unpacked is set up for Vanilla Skyrim only, you need to move DLC's PSC's into the appropriate folder if you require them as masters, in the release order, over writing has necessary to get the updated PSC correctly plus with multiple master you need to set up your custom kit ini and this is handy with multiple master and the kit for when it freezes and freeze it will Windows/Start/Settings/System/For Developers/ scroll down and find End Task set it to on when it freezes, right click it in task bar And shut the F**KER down and stop it from running without going thru the bells and whistles otherwise required Leave all the other setting off OK, do not mess with them) But you need that one)) BTW I have Win 11 Pro. EDU edition should have it too, not sure about home edition ¯\_(ツ)_/¯ Enjoy developing mods, you need that one setting one only. The rest do not apply to you, and the only benefit you will get is lowering your system security, if you call that a benefit. Don't make me repeat myself again
  11. Agree to disagree OK mate, I see java and C# has 80-90% compiler 10-20% interpreter, C++ and papyrus 100% compiler and python 100% interpreter, and write my code accordingly for each, and there compilers/interpreter requirements BUT I will concede it is compile code like C# and Java designed for different operating systems at the same time, so may be that would better comparison than JS or Python EDIT since it does work in different OP, its gotta have some percentage interpreter in it, I was just generalising like you, and never thought of this before?... I happy to share my thoughts, but do not wanna go into deep dive over it) BUT from outside looking in, it does behave like Java or C#
  12. @ Community: Just want to add when VMWare got bought out, I expected free use to be the first casually, was I wrong, they up it from the player to pro. OMG. Microsoft could learn a thing or two here, It still burns me when they bought Havok YES Skyrim, Dark Souls and Zelda Breath of the Wild Havok, plus countless other games and deleted my hobbyist license, Microsoft are imperial MF. Support Broadcom if you can, they deserve it.
  13. LOL decompile the swf file then just edit the image in Microsoft Paint is quick and easy (bloatware can be handy some times) BTW swf Adobe Shock Wave File, is let say ver ver veryyyyy deprecated google "Decompiling Adobe Shock Wave File", try to avoid the dark net, and stick to freeware on github, else pay for it as third party application EDIT if ya go on the dark side like a good little Sith Lord, VM Workstation Pro is free for Personal use https://www.vmware.com/products/desktop-hypervisor/workstation-and-fusion https://www.microsoft.com/en-au/software-download/windows11 https://www.microsoft.com/en-au/software-download/windows10 Be safe always))
  14. ANOTHER EDIT if some one pester you to release your follower custom race as playable? Just use applied common sense to what have learnt above ANOTHER ANOTHER EDIT wondering if I need to point out the playable and unplayable checkboxes that apply to all I say above, naaaaaaaah gotta leave something for you to work out on your own)
×
×
  • Create New...