Choose Your Language

Saturday, 12 September 2009

Multiplayer Maps

Last week I showed you my new mapping system and how everything worked just great in my single player testing. Then I tested it for a multi-player environment and had to spend the last week reworking the scripts to work for that. In my writing, I came across three problems, which I hope I have ironed out:

1) The SetScriptHidden function did not appear to work. (After rewriting the script from scratch, this problem sorted itself.)

2) The EffectSetScale appeared to not work under certain circumstances, and so I abandoned its usage and left the PCs at their default (reduced) sizes for overland maps anyway. UPDATE: I discovered that this required a delay before applying in circumstances I did not expect.

3) The PC still made random spot and listen checks even though I had removed all the heartbeat codes that called it. In the end, I tracked down a global variable setting that implied it would ignore the map checks if set: SetGlobalInt(VAR_ENC_IGNORE, 1) ; I placed this in the terrain on enter and so far I have not had any more checks displayed in the chat bar. (I will let you know if I later find this did not work.)

Anyway, a week later and the maps now work for multi-player. One thing I will be happy about, is when I have finished writing all these systems for MP and can leave them alone once and for all.

Scroll Spells Damage & Duration

In the meanwhile, my friend and I have been going through more spells to alter the scripts regarding their usage when cast from scrolls that vary the power. Along the way, we increased the ability increase spells (e.g. Bear's Endurance etal.) to 30 minutes per level and increase by 1d4 + 1 instead of a fixed value of 4. Invisibility has also been increased to 10 minutes per level.

The Poll Continues

Chaos Wielder of the Shagret site kindly posted my last poll on the Vault to see what kind of response it would receive there. The Vault obviously gets far more hits than my own blog and it's interesting to see the comparative scores. I include a shot of the results so far.

If you want to go and register your vote there too, here is the link to the Vault.

No comments: