Jump to content

Morrowind scripting for dumb dummies?


CrazyGilbert

Recommended Posts

This scripts appear to be a Visual basic scripting code. So get a starter book on this language to learn who the different statements go together and interact.

 

the main thing is to EXPERIMENT.

don't be affraid to have a 'test cell' and place scripts on objects.

 

1. think of what you want to do.

 

2.break it up into a process and formalise it.

 

3. start looking at 'Dummies' for ways to implament the process needed.

 

4. place bits in scripter and write code. IT IS A LOGICAL LANGUAGE. like basic algibra.

if a then b else c

 

5. test on object/s and player interactions with objects.--look at what happens and where you can improve or where it went wrong. go back to 3.

eg:

1.if want lights to come on it each room of the house when i enter that room and go off when i leave.

 

2. I need 3 objects 'lights'(named indavidually) placed in centre of 3 rooms. A way to turn off and on lights when I get near them. I need to know size of room to entry way.

 

3. in dummies lookup:- enable and disable objects.- 'getdistance' to objects

 

4. ( This is from Memory don't have 'Dummies' in front of me

Begin light1-room1

If ( getdistance player < 400 )

enabled

else

Disabled

endif

end

 

place on Unique Light object and MAY enable light when you enter room.

if not GO BACK TO 3.

Link to comment
Share on other sites

I always say that people who can play games VERY well and have some background of programming, then scripting will be a piece of pecan pie! :D But it was a little hard for me at first because the script always loops, over and over and over. I thought it only went throw the process once.
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...