So far i've found several interresting code bits.
Ive found out how to add characters to the city and make them talk to you, also do simple actions. Ill post more extensive about it later when ive played around with it some more.
It seems that to make a quest for example you need:
- A character with a linked dialog file.
- A script sequence for the outcome of the dialog
- An attached AI controller for more advanced use of the npc's
This seems to be the general attitude in the scripting, even though some times they ignore their own principle and script directly in the dialog files. <img src="style_emoticons/<#EMO_DIR#>/modding.gif" style="vertical-align:middle" emoid="" border="0" alt="modding.gif" />
I have a few problems that maybe someone can help with.
1) Has anyone found out how to script an attack? Ive searched high and low in the files how you after a dialog session switch to the npc attacks the character.
2) The LandEncouner files, it seems that this area can be used to make random events, ie in the jungle. But I cant get anything to activate out there. Anyone have some positive experience with the Landencounter folder?
Ive come quite some way in the last 5-6 hours, so hopefully next week i can present some real stuff for the game.
Feel free to add comments or tips and tricks for the script modding of the game. (Beware that im a designer not a programmer though. <img src="style_emoticons/<#EMO_DIR#>/unsure.gif" style="vertical-align:middle" emoid=":?" border="0" alt="unsure.gif" /> )
Ive found out how to add characters to the city and make them talk to you, also do simple actions. Ill post more extensive about it later when ive played around with it some more.
It seems that to make a quest for example you need:
- A character with a linked dialog file.
- A script sequence for the outcome of the dialog
- An attached AI controller for more advanced use of the npc's
This seems to be the general attitude in the scripting, even though some times they ignore their own principle and script directly in the dialog files. <img src="style_emoticons/<#EMO_DIR#>/modding.gif" style="vertical-align:middle" emoid="" border="0" alt="modding.gif" />
I have a few problems that maybe someone can help with.
1) Has anyone found out how to script an attack? Ive searched high and low in the files how you after a dialog session switch to the npc attacks the character.
2) The LandEncouner files, it seems that this area can be used to make random events, ie in the jungle. But I cant get anything to activate out there. Anyone have some positive experience with the Landencounter folder?
Ive come quite some way in the last 5-6 hours, so hopefully next week i can present some real stuff for the game.
Feel free to add comments or tips and tricks for the script modding of the game. (Beware that im a designer not a programmer though. <img src="style_emoticons/<#EMO_DIR#>/unsure.gif" style="vertical-align:middle" emoid=":?" border="0" alt="unsure.gif" /> )