Welcome Guest ( Log In | Register )

8 Pages V « < 6 7 8  
Reply to this topicStart new topic
> Renee's Modding Thread
Renee
post Apr 9 2025, 04:46 PM
Post #141


Councilor
Group Icon
Joined: 19-March 13
From: Ellicott City, Maryland



You need to find the texture file for the armor. It will be in a *.dds format. Open it with a graphics editor that supports .dds files (not all do). I use Paint.Net. Then just change the color and save it.

--------------------------------------------------

Oblivion example

Begin GameMode

if Gamehour >= 5 && Gamehour < 7 && dawndusk == 0
set dawndusk to 1
elseif Gamehour >= 17 && Gamehour < 19 && dawndusk == 0
set dawndusk to 1
elseif ( GameHour >= 7 ) && ( GameHour < 17 ) && dawndusk == 1
set dawndusk to 0
elseif ( GameHour >= 19 ) && dawndusk == 1
set dawndusk to 0
elseif ( GameHour < 5 ) && dawndusk == 1
set dawndusk to 0
endif

End

------------------------------------------------------------

Skyrim example

if ThisActorClosest.hasSpell(BrokenArmorDistr)
elseif ThisActorClosest.isdead()
elseif ThisActorClosest.GetDistance(PlayerRef) >= 50000
elseif ThisActorClosest.GetDistance(PlayerRef) <= 5000
elseif !PlayerRef.HasLOS(ThisActorClosest)
else

do_what_needs_doing_here()


endif

--------------------------------------------------

Any languages would do this, but rarely they've been written differently). Because of this always put the LEAST likely condition first (or possibly the shortest running query, if eg it's from a local function call, or local boolean test). This means the script won't be looked at as often by the game.



This post has been edited by Renee: Apr 9 2025, 05:58 PM


--------------------
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Renee
post Apr 9 2025, 05:33 PM
Post #142


Councilor
Group Icon
Joined: 19-March 13
From: Ellicott City, Maryland



Specific instance of CrimeGold (CG only sets for this one particular instance, rather than every time the Crime Gold's Faction gets triggered.) This can be added to s specific object like a chest.

=----------------------------------------------------------

Faction Property CrimeFactionWinterhold Auto

Event OnActivate(ObjectReference akActionRef)

if akActionRef == Game.GetPlayer()
if IsLocked()
int crimeGold = CrimeFactionWinterhold.GetCrimeGold()
Utility.Wait(2) ;wait for lock picking menu to close
int newCrimeGold = CrimeFactionWinterhold.GetCrimeGold()
int diff = newCrimeGold - crimeGold

if diff > 0 ;player was likely caught
CrimeFactionWinterhold.SetCrimeGold(newCrimeGold + 100) ;add 100 to crime gold

Endif
Endif
Endif

EndEvent

This post has been edited by Renee: Apr 9 2025, 05:35 PM


--------------------
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Renee
post May 14 2025, 03:40 PM
Post #143


Councilor
Group Icon
Joined: 19-March 13
From: Ellicott City, Maryland



Making a quest in Morrowind.

I'm outsourcing these tutorials because they're already so comprehensive. There are three links below. First link includes the VERY basic stuff: adding objects to the world, making NPCs, a lot of the window explanations, and so on. Second and third links lead straighter into the quests & scripting.

Construction Set basics tutorial

Morrowind Scripting for Dummies (UESP)

Morrowind Scripting For Dummies (Nexus), includes .pdf files.




This post has been edited by Renee: May 14 2025, 03:51 PM


--------------------
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

8 Pages V « < 6 7 8
Reply to this topicStart new topic
3 User(s) are reading this topic (3 Guests and 0 Anonymous Users)
0 Members:

 

- Lo-Fi Version Time is now: 16th June 2025 - 10:43 AM