Hi everybody!
I just finished my third script.
This time I created a module to play BlackJack.
It's a simplified version of BlackJack meaning you will have only the option of hitting or standing(you cannot buy insurance, double down, split...) so that everybody(even those people like me who never played BlackJack) could enjoy it.
If there are enough requests for a full version of BlackJack I could try implement these functionalities too. It shouldn't be too difficult.
If you find bugs/errors please let me know so I can fix them. Thanks.
EDIT 29/08/2017
- Spoiler: show
- BlackJerk - Version 3.0 contains:
- some bug fixes to the bug reported by avatarbr in the post below
EDIT 30/08/2017
- Spoiler: show
- BlackJerk - Version 3.6 contains:
- fixed the problem with flag and question that cause TeaseAI to freeze
- fixed the crashes caused by @Chance50() and @Goto() command in the same line in Custom\CallReturn\BlackJerk\Edge for us
- fixed a #Contact3 typo in Custom\CallReturn\BlackJerk\Edge for us
- fixed problems with double commas in @RT() commands in in Custom\CallReturn\BlackJerk\Edge for us
- small ortographic errors
THIS VERSION OF BLACKJERK IS NOT AVAILABLE FOR DOWNLOAD ANYMORE.
YOU CAN FIND THE MOST UP TO DATE VERSION OF BLACKJERK HERE
WHAT DO YOU NEED TO DO?
- Download and install the UNOFFICIAL TeaseAI Patch55 otherwise the script won't work
- Download and extract the Audio and Images(24 MB) in the main TeaseAI folder
- Download and extract BlackJerk - Version 3.6 in your personality folder
- Download and extract CAM (as you did for TeaseAI) to a folder of your choice(CAM is a software I found on Milovana designed by Orion_be. His post can be found here)
Let's see how this script works
The game is highly customizable: at the beginning you can choose the number of hands you want to play and the number of decks to play with(from 1 to 8).
You must have at least one bronze token to play.
If you win you earn bronze tokens, if you loose Domme will make you repay your debt in different ways.
Right now the Domme has 6 different ways to make you repay your debt but, since it's easily customizable, you can add your own file for your Domme to be repayed(or I can create other files; right now I don't have any good ideas but if you have an idea and don't know how to transform it into a script PM me or leave a post and I'll do it for you).
Let's take a look on how to to it:
(Select_method_of_payment)
@NullResponse @Goto(CAM1,CAM2,CAM3,CAM4,Edge for us,Higher card)
(CAM1)
@NullResponse @CallReturn(Custom\CallReturn\BlackJerk\CAM1.txt)
@NullResponse @Goto(End)
(CAM2)
@NullResponse @CallReturn(Custom\CallReturn\BlackJerk\CAM2.txt)
@NullResponse @Goto(End)
(CAM3)
@NullResponse @CallReturn(Custom\CallReturn\BlackJerk\CAM3.txt)
@NullResponse @Goto(End)
(CAM4)
@NullResponse @CallReturn(Custom\CallReturn\BlackJerk\CAM4.txt)
@NullResponse @Goto(End)
(Edge for us)
@NullResponse @CallReturn(Custom\CallReturn\BlackJerk\Edge for us.txt)
@NullResponse @Goto(End)
(Higher card)
@NullResponse @CallReturn(Custom\CallReturn\BlackJerk\Higher card.txt)
@NullResponse @Goto(End)
This is how the Domme chooses how to be repayed of what she won.
If you want to add your own file here's what you need to do:
- Create your own file and put it in Custom\CallReturn\BlackJerk
- Add the name of your file to the @Goto command and create the line for the @Goto command to jump to
- Here's an example:
(Select_method_of_payment)
@NullResponse @Goto(CAM1,CAM2,CAM3,CAM4,Edge for us,Higher card,new file)
(CAM1)
@NullResponse @CallReturn(Custom\CallReturn\BlackJerk\CAM1.txt)
@NullResponse @Goto(End)
(CAM2)
@NullResponse @CallReturn(Custom\CallReturn\BlackJerk\CAM2.txt)
@NullResponse @Goto(End)
(CAM3)
@NullResponse @CallReturn(Custom\CallReturn\BlackJerk\CAM3.txt)
@NullResponse @Goto(End)
(CAM4)
@NullResponse @CallReturn(Custom\CallReturn\BlackJerk\CAM4.txt)
@NullResponse @Goto(End)
(Edge for us)
@NullResponse @CallReturn(Custom\CallReturn\BlackJerk\Edge for us.txt)
@NullResponse @Goto(End)
(Higher card)
@NullResponse @CallReturn(Custom\CallReturn\BlackJerk\Higher card.txt)
@NullResponse @Goto(End)
(new file)
@NullResponse @CallReturn(Custom\CallReturn\BlackJerk\new file.txt)
@NullResponse @Goto(End)
- Repeat the previous steps for every other file you want to add
File
Edge for us(you can find it here: Custom\CallReturn\BlackJerk) is customizable too: let's say you want to add your own beat track for the mean Glitter. How you do that?
- Create your own beat track. I used this software. Unfortunately you can't save your file(at least I wasn't able to do it) as .mp3 or else. You need to save it as filename.prg and then record it. If you know better software that allow to do the same and save the file as filename.mp3 or else tell me please.
- Put your file in Audio\tgr8 audio files\BlackJerk\Edge for us\Contact3 special test audio
- Open Choose Contact3 special test audio file in Custom\CallReturn\BlackJerk\tgr8 special test
- At the beginning you will find a list of @CheckFlag commands: add another @CheckFlag with the name of your file @CheckFlag(filename)
- Add the name of your file in the @Goto command @Goto(.....,filename)
- Create the line for the @Goto command to move to. Here's an example:
- (filename)
@NullResponse @TempFlag(filename) @PlayAudio[tgr8 audio files\BlackJerk\Edge for us\Contact3 special test audio\filename.mp3]
@NullResponse @Wait(filename length in seconds) @Goto(End)
- Create a temporary flag with the name of your audio file
- Insert the @PlayAudio command with the path of your audio file
- In the second line there's a @Wait command. Look at the length of your audio file, convert it in seconds and write that number in the @Wait() command
- Repeat the previous steps for every other file you want to add
That's all you need to know. Sorry for the long post.
If you have problems or request don't hesitate to PM me or post here.
Comments or suggestions are welcome!
Bye!