Jump to content

What is going on??????


outfall

Recommended Posts

Ok I've been playing with the geck and this is pissing me off.

 

I made a hat. I clicked on a previous one, changed the ID, and then saved. First it was sideways but I fixed that. It is a fully functional hat. But I've been trying to make it more than a hat so I add an object script and it works and then doesn't work. It is almost random! WTF.

 

I then went in and made a basic script and it does not work. Am I losing my mind?

 

I added this basic script

 

scn ssscript

 

begin onEquip

rewardKarma 1000

end

 

I put the hat on and it does nothing. I loaded with the fomm and regular. Why is this very basic thing not working when the mod is being loaded?? Is the game not accepting my script for some reason?

 

Also, when I had more complex code it would work and then when going to a menu and loading a new game NOT work. I can't figure out what's going on. It's like the game is ignoring my code for some reason or I'm not doing something right.

Link to comment
Share on other sites

Or you can make it a Realy super hat and give it 1000 every thing.

 

By making it a Magic Hat then it will realy be specail

 

easy way what sumoftwosins said

 

But the harder way is to make it a base effect script, then a Object script effect, then any character can have those effects Free hats for every one Yahooo.....

 

depending on what he was saying i didnt exactly get every little thing about how he added the script to his hat.

theres more then one way to skinn a cat the old saying gos.

Link to comment
Share on other sites

I don't think not specifying an actor is the problem. In the TES wiki it says if you don't specify, any actor can use the object so it should work.

 

But I did try it with Player specified and it still does not work. My exact script:

 

scn ssscript

 

begin onEquip Player

rewardKarma 1000

end

 

Now, my script has to be running because I stick the hat on someone to get it in the game and the hat is in the game. The object code will not run however.

 

Any clue why?

Link to comment
Share on other sites

As far as I can tell the game is just completely ignoring the 'Script' I write. I entered some code under gamemode and still nothing is happening. I just can't figure out what's going on or if I'm doing something wrong.

 

I'm loading a previous save to test this.

I'm putting it in someone's inventory (on the person), stealing it, and then putting it on.

 

The script part of the new object does not run but the object is always in the game.

 

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

begin onEquip Player

rewardKarma 1000

end

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

 

Does not work.

 

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

begin gamemode

rewardKarma 1000

end

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

 

Does not work. And yea I know there is a problem that it would loop infinitely but it doesn't even do it once.

 

Please can someone help me out here?

Link to comment
Share on other sites

nick2kman:

 

I'm double clicking the object I made in the object window. I then have a dialog that starts with ID, Name, Script.. I click the "..." by the script text. I click Script>New put in the code that I wrote out above under 'Script Type' of object and hit save.

 

Then I go back and double click the object I made in the object window again. Scroll down in the list by the Script text and find the script I just wrote. And then I save the file (.esm) in the main program.

 

That's a step by step of how I'm doing it. I haven't messed with object effects because I don't see how you can add your own custom scripts.

Link to comment
Share on other sites

The script in the scripts example thread says it's "player.RewardKarma" Maybe the game just doesn't know who to award the karma to in your version.

 

Here it is as seen in that thread:

 

scn KarmaEffect

Begin OnEquip
player.RewardKarma -650

END

Begin OnUnequip
player.RewardKarma 650

END

Link to comment
Share on other sites

Luvian:

 

I think I tried adding the player ref to it before but I went ahead and fired up the GECK, copied the code in your post exactly into the script, saved, and saved the .esp. It doesn't work still.

 

The hat is in the game. I equip it and there's no effect at all.

 

This is driving me crazy.

Link to comment
Share on other sites

Luvian:

 

I think I tried adding the player ref to it before but I went ahead and fired up the GECK, copied the code in your post exactly into the script, saved, and saved the .esp. It doesn't work still.

 

The hat is in the game. I equip it and there's no effect at all.

 

This is driving me crazy.

 

Is it just not showing a + 1000 Karma on you HUD when you put it on or is it just not giving 1000 Karma?

 

That script is one I made and should work as advertised :)

 

Was the hat linked to that particular script and not your old one?

 

Of course your script should read

 

scn Yourscriptname

Begin OnEquip
player.RewardKarma 1000

END

Begin OnUnequip
player.RewardKarma -1000

END

Link to comment
Share on other sites

Smosh:

 

There is no Karma change. I even went into the console and changed my Karma before so the hat would actually change my Karma label to something different when I put on the hat. It didn't work.

 

So I get neither a showmessage or a karma change.

 

And for your other question, yes. It is linked to the right script and my script looks exactly like what you pasted. I've even tried making a new object and linking a new script with the same code but it still doesn't work.

 

I'm going to try uninstalling everything later and putting it back on to see if that fixes anything. Maybe something is corrupted?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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