New person to scripting looking to do a specific action.

Post » Thu Dec 19, 2013 4:43 pm

Hello,

I am new to scripting and looked at a lot of tutorials and videos but what I want to do is very specific at the same time with the right syntax should be quite simple.

I want to create a script that checks how naughty or nice a player has been and makes changes depending on the results.

What I need to do

Call on stat values in the code for example how many people killed, how many items stolen, how many sneak attacks that kind of thing which can then be used on a +100/-100 scale to create a value lets call it IKWYDLS.

IKWYDLS will be used to decide what kind of event you get.

Time scale location value as in is it possible to time events on how long a person is in a particular cell.

As in the longer you stay in one location the higher stages of the event you progress through.

1-6 hours Stage 0

7-12 hours Stage 1

13-18 hours Stage 2

-----

To put it in the simplest terms I want to create a mod script framework which will allow me to give out gifts/rewards/events both positive or negative to the player depending on his past actions and which scales up depending on time spent in a location be that location a house, cave or field.

Then I want to output without to the top left corner various text and information.

I have spent the day exploring and messing in CK and if someone could give a little advice or even examples of how I could do this then I would be so grateful.

(bed time for me now)

User avatar
Alexandra Louise Taylor
 
Posts: 3449
Joined: Mon Aug 07, 2006 1:48 pm

Post » Thu Dec 19, 2013 8:18 pm

The game itself tracks things like crime and number of enemies killed etc, so you would need an extension of that sort of thing.

Unfortunately, my Papyrus skills fall far short of being able to help.

You could have a look at "Achieve That!" which does a similar thing, tracks what you do and gives rewards for achievements.

http://www.nexusmods.com/skyrim/mods/30212/

The rewards can be toggled off, which is what I use, as it may otherwise be overpowered, but it's an interesting mod and the scripts may be adaptable to what you want and give you ideas and solutions. You'd probably need a quest as a framework for it.


~.~
User avatar
Rachell Katherine
 
Posts: 3380
Joined: Wed Oct 11, 2006 5:21 pm

Post » Thu Dec 19, 2013 8:34 pm

i think http://www.creationkit.com/OnTrackedStatsEvent_-_Formis what you want.

User avatar
jadie kell
 
Posts: 3497
Joined: Sat Jul 29, 2006 3:54 pm


Return to V - Skyrim