Jump to content

GIVING SCRIPTING HELP!


Serrieth

Recommended Posts

Hello I am an advanced user and I will take any of my extra time to help you people out ^_^

 

Just Add a a Reply here and I will get to it as fast as I can.

 

Remember I can help with ANY type of scripting problems, and give you scripts for your mods. Just besure to give me the Mod's name and to include that I helped you.

Link to comment
Share on other sites

Hmm... I'm working on a script that is supposed to give a couple of spells and pop up a message box when the PC picks up a certain ring. It goes something like this:

 

begin MagicRingScript

 

If (OnActivate)

 

MessageBox "blah blah blah"

Player->AddSpell "something"

Player->AddSpell "something"

Player->AddSpell "something"

Player->AddSpell "something"

Activate

 

EndIf

 

end MagicRingScript

 

I use that same script to gain spells from weapons and I have no problems with it, but this particular time, on the fifth line, no matter WHAT is put there (addspell or messagebox) it finds something wrong with it, even though everything has been done right. Have any pointers?

Link to comment
Share on other sites

I'd realy like a script that makes sure you can allways pay or go to jail, instead if that your bounty is ove 5000 you will have a death warand

 

SO you want a script that will make it so that the player will only have to go to jail or pay a fee? Well this is kinda complicated, I think there is a script that I might tincker with and then give to you. But I am not sure about it. There may not be a script. You see TES CS is a tool to make a plugin for the main file 'Morrowind' There is alot more code hidden so that you can't mess with. So basicly the PC thingy with going to jail or get killed for having a high price on his head, may not be messed with.

 

BUT! I might be able to make a script where your bounty can only go up so high, so that you don't get killed.

 

Give me a few and I will research it K

Thank you! :D

Link to comment
Share on other sites

Okay i basicly just said to my self "what the hell. lets just make that script!"

 

Okay now we need to make a global script, a script where it is in NO object.

here is a script I came up with. :P

 

Begin PCCrime

if (GetPCCrimelevel > 100 )
      SetPCCrimelevel 0
endif

End

 

Very very very simple yes? Okay a little reaserch helps but I hope this new script works. If not please tell me ;)

Link to comment
Share on other sites

It may not work.

I will try it out. Start your player at a Crime level of 0

To change it go into the console mode and type in

SetPCCrimeLevel 0

This will clear your crime completly

 

Now I might have another idea. If you never want to be caught by guards and pay a fee or go to jail. Use this global script

 

Begin PCCrimeNever

SetPCCrimeLevel 0

End

 

This small script should keep changing the PC crime back to 0. If this does not work then try placing it in the guards.

 

WAIT! I just found out that most of the Guards run off of DIALOG.

When you talk to the guard he or she can tell if you have a price on your head. They also might FORCEGREET you for having a high crime level. If you talk to them normaly with a crime level of 20 or less then they will find that you have a crime level of 20! This is because the guards are useing DIALOG with FUNCTIONS that are PCCRIMELEVEL, I will do reaserch and find out how I can change the way guards talk to your or even try to kill you for having a very high crime.

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...