What are the advantages of using the ChoiceScript over other scripts such as Notepad++ or INK\INKY?
Thanks in advance to all replies.
I can’t tell for INKY (since I don’t know what it is ), but I can tell you that ChoiceScript and Notepad++ is not a pair that can be compared.
You see, ChoiceScript is a coding language while Notepad++ is a program.
What no love for CSIDE? [CSIDE] The ChoiceScript IDE (v1.3.0 Now Available — 18/06/2019)
The OP didn’t ask CSide, tho :"
And no love until the custom highlight and folding update is dropped!
And maybe even a way to find/calculate possible mins, maxs, and frequencies of a stat!
Hopefully, I always go over 100 on my percent and below 0.
Or at least when I make tr game too easy!
By Notepad\Notepad++ I mean BATCH\Bat. Its an old school program which has made some pretty interesting game, I doubt its better than ChoiceScript, but was worth asking.
Thanks for input!
Sort of related, but if you use Notepad++ here is the custom language file I have built for use in coding CS: https://dashingdon.com/ChoiceScript.xml
- Save the file somewhere on your computer
- Go to
Language > Define your language...
in Notepad++ - Click
Import
and select theChoiceScript.xml
file from where you saved it - Select the
ChoiceScript
entry in theUser Language:
dropbox - Click
Save As...
and name the entryChoiceScript
- Now open a .txt file with ChoiceScript code in it
- Go to
Language > ChoiceScript
(the entry will be at the very bottom) - You’ll have to select the language every time you open a new file but oh well
- Profit!
Isn’t Batch basically command-line scripting? You can write games in that?? Could you give any examples?
Since the stats file doesn’t actually change variables, you can add something like this at the beginning:
*if (variable>=100)
*set variable 100
That way your bars never go over, yet you still maintain the actual number in the variable.
Batch is used to make choice games, its pretty old school.
Ex) (You have to put this into Notepad and save it with .bat at the very end Ex.)Kingdom.bat)
@echo off
title Mage Quest
echo Mage Guild
echo Enter Name
set /p name=
set pick=7
pause
goto start
:start
cls
set /a pick=%pick% -1
set lvl=1
set armor=0
set /a ac=(10 +((%lvl% /2) +%armor%))
set setscore=%pick% +10
echo What will your %pick%th highest stat be?
echo 1 Strength
echo 2 Constitution
echo 3 Dexterity
echo 4 Intelligence
echo 5 Wisdom
echo 6 Charisma
set /p chsc=choice1~6
if %chsc%==1 set /a str=(%setscore% +(%lvl% /2))
if %chsc%==2 set /a con=(%setscore% +(%lvl% /2))
if %chsc%==3 set /a dex=(%setscore% +(%lvl% /2))
if %chsc%==4 set /a int=(%setscore% +(%lvl% /2))
if %chsc%==5 set /a wis=(%setscore% +(%lvl% /2))
if %chsc%==6 set /a cha=(%setscore% +(%lvl% /2))
if %pick%==0 goto charstats
if %pick%==0 cls
else
goto start
:charstats
echo %name%
echo Strength %str%
echo Chomstitution %con%
echo Dexterity %dex%
echo Intelligence %int%
echo Wisdom %wis%
echo Charisma %cha%
echo AC %ac%
pause