Droid Engineer Archive
Thread: Droid Scripting
We now have barker droids, which is awesome
but i would like to take this one step further
I originally thought of this idea for vendors, but i think droids are a more obvious choice, since they could be made with different modules.
To illustrate what i mean, this is a sample script i have made:
action onTip {
if ($tip > 5000) {
/tip $player $tip;
/tell $player sorry, max bet it 5,000 Cr.;
}
else {
/say Rolling ...;
/pause 3;
if (rand(1,3) == 1) {
/say $player is a WINNER!;
/tip $player $tip*3;
}
else
/say Sorry $player, you loose!;
}
To those of you who can't even to a macro, it's a scripts that when you tip 5k or less to the droid, it pick a random number between 1 and 3, and if that number is 1 it gives you three times your money back ... yes, it's a gambling script
which is what I would probably use it for ![]()
Of course it could be use for other purposes ranging from city information droid, to merchant information droid. One could also make a droid that surveys for resources (if it will supports commands to move them).
I must admit I haven't really thought the impact on the game through thoroughly, hence the post
i would like your comments on this ![]()
While I like the idea (and goodness knows, droid scripting has been discussed before), I think that this text-based interface is too disenfranchasing for folks whoare not computer programmers.
What I would suggest is more akin to, say, the programming system that comes with Lego Mindstorms robotics system. It's meant to allow programming of these little robots even for people who know next to nothing about writing programs in code.
The idea basically has to be that you write programs graphically, something like http://www.harb85.freeserve.co.uk/mindstor/interf.jpg-- where you can attach commands (or macros?) to "sensors" and then add little conditional blocks to bifurcate logic flow.
It could be so cool. We could program droids, trade programs on little data disks, create battlebots... but then of course I don't ever see any of this happening :-(