Announcement: Be excellent to each other.


Caravel Forum : DROD RPG Boards : RPG Architecture : Some Default Scripts
New Topic New Poll Post Reply
Poster Message
Tim
Level: Smitemaster
Avatar
Rank Points: 1976
Registered: 08-07-2004
IP: Logged
icon Some Default Scripts (+3)  
I think it's interesting to release some simple Default Scripts I've made:

Note: These are not written in numbers format, since they can be changed in the future.

Checkpoint:
Click here to view the secret text

Greckle:
Click here to view the secret text

Simple Sword:
Click here to view the secret text

Simple Shield:
Click here to view the secret text

Any help to improve these scripts is appreciated.

____________________________
The best way to lose customers is to let little kids running loose on a forum with too many mod points.
09-16-2008 at 01:00 PM
View Profile Send Private Message to User Show all user's posts This architect's holds Quote Reply
TFMurphy
Level: Smitemaster
Rank Points: 3023
Registered: 06-11-2007
IP: Logged
icon Re: Some Default Scripts (+4)  
Some nice scripts there.

I'd tweak the checkpoint slightly though.

Checkpoint:
Click here to view the secret text

This way, the checkpoint is only triggered once when the player moves on to it, not whenever the player waits or turns his sword while on it.

EDIT: An alternative checkpoint script that doesn't use _MyScriptX/Y is as follows.

Checkpoint:
Click here to view the secret text


===

As for my own contributions, here's a couple of useful ones.

Teleport In:
Click here to view the secret text

Teleport Out:
Click here to view the secret text


Also, a standard custom monster should have a Default Script looking something like this:

Scripted Roach:
Click here to view the secret text

Ideally, you should pick behaviors that match the type of monster you're emulating.

Many enemies have the "Face Target" behavior. Evil/Mad Eyes don't have "Face Target", but do have "Attack in front" and "Surprised from behind" behaviors. Goblins and Goblin Kings have "Face Target", "Attack in front with back turned" and "Goblin weakness" behaviors. Aumtlich naturally don't have "Face Target", and have "Beam Attack" instead, but aren't surprised from behind. And Seep and Waterskippers have both "Face Target" and the "Attack adjacent" behaviors.

Of course, not everything can be as easily scripted: Roach Queens are particularly difficult (Roach Eggs would be less difficult, except that I haven't figured out a way to prevent *more* eggs from spawning when you kill an egg), and there's no easy way to emulate the switching of tarstuff babies via tokens or their immunity to hot tiles. But there's certainly a lot that can be done... just remember to be *consistent* within your hold, no matter what scripting you use.

[Last edited by TFMurphy at 09-16-2008 02:38 PM]
09-16-2008 at 02:08 PM
View Profile Send Private Message to User Show all user's posts This architect's holds Quote Reply
The spitemaster
Level: Smiter
Avatar
Rank Points: 346
Registered: 06-09-2005
IP: Logged
icon Re: Some Default Scripts (0)  
What are we allowed to use as images here?

____________________________
Last night upon a stair
I met a man that wasn't there
He wasn't there again today
I wish that man would stay away
09-17-2008 at 03:44 AM
View Profile Send Private Message to User Send Email to User Visit Homepage Show all user's posts This architect's holds Quote Reply
New Topic New Poll Post Reply
Caravel Forum : DROD RPG Boards : RPG Architecture : Some Default Scripts
Surf To:


Forum Rules:
Can I post a new topic? No
Can I reply? No
Can I read? Yes
HTML Enabled? No
UBBC Enabled? Yes
Words Filter Enable? No

Contact Us | CaravelGames.com

Powered by: tForum tForumHacks Edition b0.98.8
Originally created by Toan Huynh (Copyright © 2000)
Enhanced by the tForumHacks team and the Caravel team.