Some errors for 0.3a:
When a character file is not found for either an NPC or Player, a Global character file is used instead. These Global files located in Characters\Players, Characters\NPCS, Commands\AI\Players, and Commands\AI\NPCS allow you to set default rules in your Wodal environment, but be sure not to use CharCheck or CharWrite commands within the revived event of the Global AI files or the game will slow down considerably when loading levels containing many enemies.
Due to the buffer system, this statement is not required. Instead, you should refrain from using infinite loops since they will permanently tie up the system buffer till interrupted.
If you would like to learn more about coding in Wodal, you can check out our forum at e-mods.net. There is an incomplete document called WodalCommandReference.txt located in the Wodal mod folder of your Vampire ? Redemption install that contains some of the more important highlights of Wodal coding.
I would say that Wodal Command Reference contains complete data for all commands currently available in Wodal. I also forget to mention
Wodal Condition Reference and Keyword Reference too so please check all three documents if interested in modding with Wodal.
**************************** *THE CHECK COMMAND***************************
{check something}
{do something in check's body if check is true}
{endcheck} or {stopwhen: true or false}
This command is used to check various conditions before allowing proceeding
commands within the check's body to execute. Simply put, checks give you more
control on when and what command can execute under what condition you want it to.
An example would be the Blood Healing discipline. Well typically you only need to
use Blood Healing if you had taken damage. So the following condition was coded
to keep Blood Healing from working if not needed:
{check: compare, <stat.caster.health>, is:equal:<stat.caster.maxhealth>}
{console: caster, "You are already at full health", ff0000}
{stopwhen: true}
The above command will print a message saying that the caster is already at full
health instead of healing if the caster's health is equal to the caster's max health.
Now let's say you wanted to make multiple checks to assure that a target is not only
weaker than the caster in strength, but the caster's generation has to be lower than
his target's. Well here's an example of one method you could do to solve this:
{check: compare, <stat.caster.strength>, is:above:<stat.target.strength>}
{check: compare, <stat.caster.generation>, is:below:<stat.target.generation>}
Now both of those lines of code must pass true if something were to happen within
the check's body. Let's say that damage will incure to the target if both pass true.
With the last 2 lines included follow up with the following line:
{damage: target, caster, 30, aggravated}
Now we have to end the check to complete the check's body and incase the commands within.
Let's include the {endcheck} command to follow the above code.
{endcheck}
For more examples, refer to the included scripts in the Scripts/Commands folder of Wodal's
mod directory within your VtM - Redemption folder. Now for a list of what can be checked...
All of these compare examples are missing a param.
NOTE: {compare} had been changed and documented, but I did not present any hints that it has so please double check the {compare} command under QUICK REFERENCE within the Wodal Condition Reference document.
If any of you spot anything else that is inaccurate within my documents, please report them here. Thank you.