Jump to content

Help with dynamical changing villages...


KublaKarma

Recommended Posts

Hey guys, I would create this scenario:

 

The player visit the village A, which is a pretty village with inns and so on.. so he's asked to go to place B for a quest, but when he's in B rumors say that A was destroyed by some evil creatures! When he return to A he finds all ruined, with dead bodies on the ground, flames over and over....

 

I have no idea how to make this. Expecially how to replace the buildings with ruined walls etc. the second time player goes to A.

 

Any little suggestion? Thanks in advance! :rolleyes:

Link to comment
Share on other sites

I can make a script for you that can fix your problems. I can take you step by step

 

1: First you load of course the mod you are working on.

2: The you klick on the dialogue button on your menu. (It is a white button high in the menu).

3. Go to the journal section and press "New" now you can make a new journal entrie. name the journal entrie with a list name before so you can later find it, for an example: QA_HassBassas (you can name it whatever you want)

4: Klick on your new made journal topic and you see a empty list to the right, (there it stand Info, Disp/index, Id. And a bit more.

5. Klick new on that list and write in a text you want (remember the tet you write will later become a questlog)

6. And after you have typed the text go down to the list were it stand "speaker condition" and move the cursor to the index at the right and type in a number. (remember that the number will be more ease to make a script with if you have easy numbers like 5 10 25 30 and so on.

7: And after that go back to greetings tab and make a new there to. Example:

Greetings young warrior have you heard of the beats that have attacked our A town? you must go there and help them!"

8: And after youve made the greeting go down to the list of speaker condition and were it stands ID you gonna find your NPC you have made.

9: Go down after you have found your ID of your NPC to the "RESULTS" box.

There you will type in:

 

Journal "QA_HassBassas" 5 if you choiced 5 on your Index before.

 

10: Now the NPC you have created will tell you that the A town has been attacked and you will get the journal index when he told you that. And now the hard part comes, the scripts.

 

 

 

 

11: When you are finished with that above then hed to your NPC that you have putted to the game world" go in to the script menu and past this

 

Begin AttackScript

 

If ( menumode == 1 )

return

endif

 

If ( getDisabled = 0 )

If ( GetJournalIndex < 5 )

Disable

endif

 

elseif ( getDisabled = 1 )

If ( GetJournalIndex QA_HassBassas >= 5 )

Enable

endif

 

End

 

>= Means that if the journal index is higher than 5 then it will be enabled.

< Means that if journal index if 5 or lower than the creature/static/everything will be disabled.

 

Enabled means that the thing/enemy will be there of the index is right.

Disabled means that if the index is wrong then it will not be there.

 

And if you wanna make a house that dissapears and becomes a ruin then you must make this script on it.

 

Begin AttackScriptRevised

 

If ( menumode == 1 )

return

endif

 

If ( getDisabled = 0 )

If ( GetJournalIndex < 5 )

Enable

endif

 

elseif ( getDisabled = 1 )

If ( GetJournalIndex QA_HassBassas >= 5 )

Disable

endif

 

End

 

And if you have further question then you can PM me okey?

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