Wordcount tool for Choicescript?


#1

Hello,
I’m coding Choicescript in Sublime Text 3 and I was wondering if there is a wordcount tool available somewhere? I installed something that gives me the number of words in the file, but it counts the code as well as the actual prose that the player would see. Unfortunately I’m not tech-savvy enough to figure out how to create such a tool myself. I’ve tried searching this forum and generally searching the web using Google, but had no luck; maybe I’m not using the right search terms. Any help appreciated.


#2

This came up a few times before, but I’m not sure which thread it was.

  1. Ask randomtest to display full text.
  2. Tell it to run 3-5 times.
  3. Copy and paste this into something that has a word count function, like MS Word.
  4. Divide word count by number of times it ran.

This will give you a rough average of length of text per playthrough.

Edit: Oops, I don’t use randomtest that much. Yes, it has its own word count. Thanks @Left4Bed


#3

If you run random test and check the first and third boxes, it gives you a word count at the end. Just divide this by the number of iterations you ran and you’ll get a general idea for how many words the player will see on one play through. In terms of overal count, I’m not really sure.


#4

When CoG cites a wordcount, it’s including code.


#5

I’d advice against running multiple instances and dividing the result. Unnatural could differ between 45k and 90k on playthroughs there can be a lot of difference.


#6

The new version of CSIDE will feature separate word counts, one with and one without code.


#7

When will we get to see the new version of CSIDE ?


#8

Might be a while. @CJW wants it to be as perfect as possible before general release, and he’s working hard to make it so. Believe me, it’ll be worth the wait.

PS: Strictly speaking, it’s called CS-IDE.


#9

Below the word count after random test is done, there is a thing that says Time: and then numbers…what is that??? an estimated time it takes to play through it? I just wasn’t sure.


#10

I assume that’s how long it took to run the test.


#11

It’s how long it takes for the test to finish


#12

I’d like to say sometime this Summer… But I can’t remember the last time I met a self-set goal, so no promises. But as Fantom said, I’m trying to make it worth the wait.


#13

Trying and succeeding. CS-IDE is awesome :slight_smile:


#14

But that makes it less likely to be pronounced “seaside,” and thus less awesome.

Ooooh…


#15

If you’re diverging too wildly between playthroughs, you could always give a range, i.e. “Between x and y thousand words.”


#16

I actually pronounce it “CSI-IDE” or “CSI-eyed” because for some reason the letters make me think of the show CSI.


#17

How about: “sea side”? :wink:


#18

A wordcount, yes. But an “average playthrough,” no.


#20