Scriptus Generica
This is a colletion of 4 scripts plus some notes to help a relatively new dmod author get underway.
Scripts included are:
generic object (such as a 'sign' etc)
generic NPC (for character)
generic Shop (script attached to storekeeper sprite)
generic Shop2 (script attached to bench sprite for storekeeper)
Overall: fairly good use of comments in each script to help the new author to understand some things.
There are a few things I thought could've been commented a bit more, or with more detail - such as the Shop2 script and how it refers to the storekeeper sprite. Sabre uses a method which is different from the one I learnt/borrowed/copied from the original game - the one I'm more familiar with creates the actually storekeeper sprite. Finding the sp(XX) may be a bit of a puzzle for the beginning DMOD author.
Also Shop2 came with a .txt extension and not a .c extension - minor thing.
NPC script and Shop scripts used the Paul Pliska trick of storing a value in the editor_seq() property of the sprite. Although Sabre sets this up in the talk procedure... I usually do it in the main procedure, so that the variable this value is assigned to (&greet in the scripts) can be accessed via other procedures such as hit or push... this lends to more interactive game play with the NPCs.
(NB only the standard procedures can access local variables - hope this is fixed in Game Engine/DinkC ver 1.08)
The NPC script also doesn't include any lines for making the NPC move which I feel should be there.
A generice enemy script should have been included.
Total Score 7 out of 10.
Scripts included are:
generic object (such as a 'sign' etc)
generic NPC (for character)
generic Shop (script attached to storekeeper sprite)
generic Shop2 (script attached to bench sprite for storekeeper)
Overall: fairly good use of comments in each script to help the new author to understand some things.
There are a few things I thought could've been commented a bit more, or with more detail - such as the Shop2 script and how it refers to the storekeeper sprite. Sabre uses a method which is different from the one I learnt/borrowed/copied from the original game - the one I'm more familiar with creates the actually storekeeper sprite. Finding the sp(XX) may be a bit of a puzzle for the beginning DMOD author.
Also Shop2 came with a .txt extension and not a .c extension - minor thing.
NPC script and Shop scripts used the Paul Pliska trick of storing a value in the editor_seq() property of the sprite. Although Sabre sets this up in the talk procedure... I usually do it in the main procedure, so that the variable this value is assigned to (&greet in the scripts) can be accessed via other procedures such as hit or push... this lends to more interactive game play with the NPCs.
(NB only the standard procedures can access local variables - hope this is fixed in Game Engine/DinkC ver 1.08)
The NPC script also doesn't include any lines for making the NPC move which I feel should be there.
A generice enemy script should have been included.
Total Score 7 out of 10.
This was a very good colection of scripts, yet all I would change is the lack of guidance.
This is a very good collection of scripts that are quite useful for new dmod developers like myself and even to experienced dmod authors.
The npc and sign scripts are ok, while the pillbug and shop sripts are quite good.
Shop Scripts: 9.7 - All three shop scripts are way better than the ones that come with the main game or any source set I've looked at.
Pillbug scripts: 9.2 - Quite good pillbug scripts. I plan on using them in my dmods.
NPC and Sign Scripts: 8.5 - Helpful but not on par with the shop scripts.
Comments: 9.0 - Very good, helpful and easy to understand.
Effort: 9.2 - It does a good job of what the author set out to achieve.
Script Cleaniness: 9.0 - The scripts were not messy and confusing.
Overall: 9.1 - It is very good.
The npc and sign scripts are ok, while the pillbug and shop sripts are quite good.
Shop Scripts: 9.7 - All three shop scripts are way better than the ones that come with the main game or any source set I've looked at.
Pillbug scripts: 9.2 - Quite good pillbug scripts. I plan on using them in my dmods.
NPC and Sign Scripts: 8.5 - Helpful but not on par with the shop scripts.
Comments: 9.0 - Very good, helpful and easy to understand.
Effort: 9.2 - It does a good job of what the author set out to achieve.
Script Cleaniness: 9.0 - The scripts were not messy and confusing.
Overall: 9.1 - It is very good.