Forums » General
Aliases
Ok, on the topic of convoluted aliases... Raybondo and I realized we could make a text adventure using Vendetta's aliasing system.
So I give you... Vendetta's first in-game minigame!
Station Adventure
[edit - made clickable RR]
To run it - save that file into your vendetta directory. At the vendetta console, type "/load station_adventure.cfg" to load it, then "/begin" to run it.
Just a word of warning - all of those aliases are saved into your wgaf.cfg permanently, so if that's the kind of thing you care about, things may get a little messy.
Have fun!
So I give you... Vendetta's first in-game minigame!
Station Adventure
[edit - made clickable RR]
To run it - save that file into your vendetta directory. At the vendetta console, type "/load station_adventure.cfg" to load it, then "/begin" to run it.
Just a word of warning - all of those aliases are saved into your wgaf.cfg permanently, so if that's the kind of thing you care about, things may get a little messy.
Have fun!
I
Love
You
And to think, just today i got frotz running on my mac! (z-machine emulator for console (z-machine was the thingy used for the infocom adventures.))
Nice, but one problem, mac os x does not let you move files into the package contents of a application, i had to copy it to the wgaf.cfg file, still works though.
Love
You
And to think, just today i got frotz running on my mac! (z-machine emulator for console (z-machine was the thingy used for the infocom adventures.))
Nice, but one problem, mac os x does not let you move files into the package contents of a application, i had to copy it to the wgaf.cfg file, still works though.
Can I run this elsewhere, maybe in the OS X terminal? I wanna play it so bad but don't wanna screw up any aliases or configs or whatever.
=(
=(
duplicate your wgaf.cfg file.
Good lord i think it might be able to run in the terminal!
i typed in alias pie echo pie, then typed pie, and for sure it echoed pie like it would in vendetta!
Attention! Lemming smash it till it works productions brings to you, how to make this mini game to run in console!
go to the cfg file Vlad linked to, select all, open a fresh terminal window, paste, then copy the fixes below and paste those:
alias room1desc1 "echo 'You are leaning against the bar in Baltas Saloon, widely known as the Worst'"
alias room1desc4 "echo 'The bars lavatories are to the North, and you hear some commotion from'"
alias room1desc5 "echo 'the corridor to the East.'"
alias room1descb1 "echo 'Alas, the bars FirstCorp Enviro-Seal safety door has long been out of'"
alias room1descb3 "echo 'sucked out into the coldness of space. Now dont you wish everybody'"
alias room2desc1 "echo 'Balt`s Saloon, the Worst Tavern in the Border Colonies, is also known for'"
alias room3descb1 "echo 'There is nothing of interest here, unless you are into filthy sinks.'"
alias room4desca2 "echo 'is rummaging through a fallen comrades satchel.'"
alias room4descb1 "echo 'The Itani pulls something out of his companions satchel. It is a thermal'"
alias room4descb3 "echo 'Everybody freezes. If the grenade goes off, it will rupture the AGP Corp'"
alias room5desca4 "echo 'knocking yourself unconscious on the floor. Fortunately you arent'"
(if the last line doesn't execute, hit return)
Now type begin!
It should work!
Note: Commands don't need / before them when running from terminal.
Note: The fixes were to remove `, the terminal doesn't like `, and some abbreviations where unabbreviated to make sense without the `, yes there are now grammar errors because of this, but so what.
i typed in alias pie echo pie, then typed pie, and for sure it echoed pie like it would in vendetta!
Attention! Lemming smash it till it works productions brings to you, how to make this mini game to run in console!
go to the cfg file Vlad linked to, select all, open a fresh terminal window, paste, then copy the fixes below and paste those:
alias room1desc1 "echo 'You are leaning against the bar in Baltas Saloon, widely known as the Worst'"
alias room1desc4 "echo 'The bars lavatories are to the North, and you hear some commotion from'"
alias room1desc5 "echo 'the corridor to the East.'"
alias room1descb1 "echo 'Alas, the bars FirstCorp Enviro-Seal safety door has long been out of'"
alias room1descb3 "echo 'sucked out into the coldness of space. Now dont you wish everybody'"
alias room2desc1 "echo 'Balt`s Saloon, the Worst Tavern in the Border Colonies, is also known for'"
alias room3descb1 "echo 'There is nothing of interest here, unless you are into filthy sinks.'"
alias room4desca2 "echo 'is rummaging through a fallen comrades satchel.'"
alias room4descb1 "echo 'The Itani pulls something out of his companions satchel. It is a thermal'"
alias room4descb3 "echo 'Everybody freezes. If the grenade goes off, it will rupture the AGP Corp'"
alias room5desca4 "echo 'knocking yourself unconscious on the floor. Fortunately you arent'"
(if the last line doesn't execute, hit return)
Now type begin!
It should work!
Note: Commands don't need / before them when running from terminal.
Note: The fixes were to remove `, the terminal doesn't like `, and some abbreviations where unabbreviated to make sense without the `, yes there are now grammar errors because of this, but so what.
For vendetta itself, the command lines in the cfg file can't be more than 128 characters, else it only reads the first 128 characters and it won't work properly if you decide to make your own 'adventure'.
Also, you don't need to put the adventure.cfg into your Vendetta bundle, you can put it anywhere and manually /load it using a full path name.
Also, you don't need to put the adventure.cfg into your Vendetta bundle, you can put it anywhere and manually /load it using a full path name.
sui you can use the mv command to move the file into the package (or cp to copy it there).
raybondo that rocks...
raybondo that rocks...
Mwa-ha-ha-ha-ha!
Mwa-ha-ha-ha-ha!
weeeee!
Can you fix the font now? it really bugs me how a space is one third of a zero...
Mwa-ha-ha-ha-ha!
weeeee!
Can you fix the font now? it really bugs me how a space is one third of a zero...
Eldrad, what would be the path to do that? (vendetta is on my desktop)
Just type the following (assuming Vendetta and station_adventure.cfg are on your desktop). Note '~' just means your home folder.
mv ~/Desktop/station_adventure.cfg ~/Desktop/Vendetta.app/
If you type ls it will show you the names of directories and files. If you type ls -l it will give you more information about each file/folder including if the very first character is a '-' then it's a file if it's a 'd' then it's a directory.
mv ~/Desktop/station_adventure.cfg ~/Desktop/Vendetta.app/
If you type ls it will show you the names of directories and files. If you type ls -l it will give you more information about each file/folder including if the very first character is a '-' then it's a file if it's a 'd' then it's a directory.
You could just /load ~/Desktop/station_adventure.cfg
if you wanted, that saves you from having to move files around.
if you wanted, that saves you from having to move files around.
This is really cool, I think it deserves a bump.
<.<
>.>
<.<
>.>
Neat
suicidal lemmings, of course you can copy inside a mac application package.
n00b.
just control-click on the app package and "show package content" to open the folder.
n00b.
just control-click on the app package and "show package content" to open the folder.
Oh snap, calling 4 years ago me a n00b. I'll be the first to admit I was an idiot 4 years ago. :)