Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / New Scripting Program

Author
Message
Doctor Who
17
Years of Service
User Offline
Joined: 6th Sep 2007
Location: Here, somewhere.
Posted: 3rd Dec 2007 03:45
Hi all,

As some of you have seen, I had been working on a FPI Translator and talked about a flowcharting or scripting program. I went with the scripting program for now. I thought about the flowcharting thing and still have plans to do it. For some of us, I figured an English to FPI translator would be kind of nice.

Well, I'm well into my second week of programming and the screenshot is posted here. It's not finished yet but I've got most of the programming itself done with probably two-thirds of the commands entered.

What makes this one kind of unique is that it uses an English parser. There are so many different ways to say the same thing and that's what I've been programming. For example:
If player has the key
If player has a key
If user has a key
If player is missing a key
If player is not missing the key

and so on. I've coded it for things like "if player is not dead" -> "plralive=1" and several other possibilities.

I call it FPI BASIC which will go on sale when the time comes. One of the nice things is using the language to recreate the scripts that came with FPSC to see how they match. Sometimes I'll use a different word or sequence, code that in, and now it knows how to use that.

Anyway, enough talk, here's the picture as promised.

The Doctor

I straddle the line between genius and insanity. Guess which side I'm on now?

Attachments

Login to view attachments
AaronG
18
Years of Service
User Offline
Joined: 28th Oct 2006
Location: Millstone, NJ
Posted: 3rd Dec 2007 04:20
sweet man sounds great!

This would be very good for us "Non-coders" out there. Or may I put it "non-geniuses". Haha.

-AaronG

MTC Music
19
Years of Service
User Offline
Joined: 11th Sep 2005
Location: Montreal
Posted: 3rd Dec 2007 04:39
Looking forward to getting it!

Looks great.

www.mtcmusic.ca
Doctor Who
17
Years of Service
User Offline
Joined: 6th Sep 2007
Location: Here, somewhere.
Posted: 3rd Dec 2007 19:39
I've also got it where one statement builds an entire HUD. It's called "Print". I got the idea from another thread where someone figured out how to print anything without needing images. Borrowing from that, you basically say, "Print 'The doctor is in' at 40, 70" and it knows what it needs to do to create that for you.

I straddle the line between genius and insanity. Guess which side I'm on now?
Inspire
17
Years of Service
User Offline
Joined: 23rd Dec 2006
Location: Rochester, NY
Posted: 3rd Dec 2007 23:55
You might want to clean up the interface and make it more professional looking, but besides that, the idea and execution (presumably) is awesome!

Doctor Who
17
Years of Service
User Offline
Joined: 6th Sep 2007
Location: Here, somewhere.
Posted: 4th Dec 2007 01:21
Yes, the interface needs some work. At least the concept is sound, at least I think anyway. I am going to make the editor so that it's user customizable, and I'm thinking of breaking the other areas into separate windows that can be moved around and resized at will. Then again, who knows what I'll do? LOL!!!

Thanks Inspire, MTC Music, and AaronG. I'm going to do a little work with it but probably retire early to bed. I've got one of those headaches coming on that is pounding. We'll see. Maybe after I make and have dinner it will feel better.

Randy - The Plant Psychologist, specializing in pineapple neurosis.

I straddle the line between genius and insanity. Guess which side I'm on now?
Seth Black
FPSC Reloaded TGC Backer
19
Years of Service
User Offline
Joined: 22nd Feb 2005
Location: Pittsburgh, PA
Posted: 4th Dec 2007 23:30
Doctor Who,

This looks fantastic! Man, you're really doing some great stuff with this program. I look forward to its release.

Thanks,

Seth Black


Own It, Or Get Owned...
halospree
18
Years of Service
User Offline
Joined: 17th Oct 2006
Location: Look behind you...
Posted: 4th Dec 2007 23:55
Doctor Who,
You have done an amazing job at this scripting program, and FPI Transalator, i really cant wait to see how either turn out!

PS: Maybe you could merge both of them together!

Good Luck!

Halospree


Theres 10 types of people in the world, people who can read binary and people who can't
Doctor Who
17
Years of Service
User Offline
Joined: 6th Sep 2007
Location: Here, somewhere.
Posted: 8th Dec 2007 17:43
Well, it's been a long week so far. Between this and the job which pays the bills, I've not done much else. But I'm enjoying this little challenge.

Halospree, I saw your other post on the other thread and may do that although with the FPI BASIC program you can say "state = 4" or "Make state 4" or "Set state to 4" or various other means and it will translate to "state=4".

One of the things I like so far is making the states mean something with the definitions. With a definition like "Attack$" the program automatically interprets this to a state of your choosing. Now you can say: If Attack$ instead of "if state = 4" or "If Surrounded$ --- Attack$ --- End If" instead of "If state = 6 --- state = 4 --- End If". What I am contemplating is a state listing to the right so that you can see what each number is and a check box for switching between the definition word and the state value.

Anyway, enough of that. I've got to get to work on it some now. I've been improving the visuals and the grammar portion. I'm going to add in some other things this weekend and continue finishing up the script translation system.

Oh, Halospree, I do plan to incorporate X-Plain within the product as well as a tracer for watching the program flow. After that, I'll work on the flowcharting aspect.

Randy - Certified Quack

I straddle the line between genius and insanity. Guess which side I'm on now?
Doctor Who
17
Years of Service
User Offline
Joined: 6th Sep 2007
Location: Here, somewhere.
Posted: 21st Dec 2007 01:32
I'm still working on it. The holidays are approaching and I've been spending a lot of time shopping and not as much on this. I plan to get back to it right after Christmas. Besides, I'm told I'm getting a new laptop so I'll be able to work from my bedroom while watching television and having a few beers to help "enhance" the product.

I just didn't want anyone to think this was a pipe dream. It's just that I may be divorced but I still have kids, a mother, a brother, three good friends... I usually take a lot of time looking for the "perfect gift".

So, if you don't hear from me between now and the 25th, have a wonderful Christmas / Solstice / Yule / Saturnalia / Mithra's Day... Ah heck, drink some egg nog and enjoy.

Randy - I may be broke but I'm happy.

I straddle the line between genius and insanity. Guess which side I'm on now?
Doctor Who
17
Years of Service
User Offline
Joined: 6th Sep 2007
Location: Here, somewhere.
Posted: 5th Jan 2008 18:32
An update:

The holiday season is over and I'm just now getting over the flu so I'm a couple of weeks behind schedule (my schedule that is). The good news is that I have a laptop now and can work on this upstairs instead of in my office all the time, or wherever I happen to go.

Right now, I'm going to work on the game that I started about three months ago and this evening work on the scripting program

Thanks for your patience,

Randy, someone who needs a doctor.

I straddle the line between genius and insanity. Guess which side I'm on now?

Login to post a reply

Server time is: 2024-11-27 21:34:19
Your offset time is: 2024-11-27 21:34:19