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.

Newcomers DBPro Corner / CLI and Scripting language?

Author
Message
Commander in Chief
18
Years of Service
User Offline
Joined: 15th Apr 2006
Location: Carbondale, PA, USA
Posted: 25th May 2007 03:04
Is it possible to put a CLI (command line interface) into a program? And if so, how would that be accomplished? Also, how would I make my own scripting language that could be used for modifications to my game. Is it even possible?

~Chief

---PARANOID PRODUCTIONS---
Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 25th May 2007 03:36
I think DBC has a CLI thing. Not sure about DBP though.

It is possible to make scripting in DBP, but it's really hard, mainly because it can get so complicated and DBPro doesn't have sufficient things such as arrays in structs. I'm making one as we speak in C++, and I find it much easier than when I was making it in DBP.

Quote: "how would I make my own scripting language "


You're gonna have to describe it a little more. What will it's syntax be? Will it have functions? Etc. You should just go with Lua, it costs money, but everyone seems to like it.

Commander in Chief
18
Years of Service
User Offline
Joined: 15th Apr 2006
Location: Carbondale, PA, USA
Posted: 25th May 2007 03:39 Edited at: 25th May 2007 03:41
I mean add a CLI in-compiled program for the user to try. FPSC has it's own scripting language, and I mean the .fpi and .fpe.

Also, on the Lua site, it says that it is free for download.

---PARANOID PRODUCTIONS---
Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 25th May 2007 03:46
Well, that's just the Lua library, it's very common for lots of languages. DavidT made Unity which is a plugin for DBP, and it costs $20

Commander in Chief
18
Years of Service
User Offline
Joined: 15th Apr 2006
Location: Carbondale, PA, USA
Posted: 25th May 2007 03:47
Any alternatives? I'm focusing on the scripting language now. How did FPSC do it?

---PARANOID PRODUCTIONS---
Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 25th May 2007 03:51
FPSC scripting language is kinda crap lol. What you want for DBP is something that can atleast support variables and control structures (if statements etc). It's not very easy, I've been working on my scripting for about 7 months now, heheh.

Commander in Chief
18
Years of Service
User Offline
Joined: 15th Apr 2006
Location: Carbondale, PA, USA
Posted: 25th May 2007 03:52 Edited at: 25th May 2007 03:58
Does anyone else have an example? I dont have the expansion pack so I cant look at the FPSC source.

[Nevermind I misread the pages]

---PlasmaArts---
www.plasmaarts.co.nr - www.plasmaarts.co.nr
Slayer93
20
Years of Service
User Offline
Joined: 5th Aug 2004
Location: I wish I knew
Posted: 25th May 2007 07:31
I made a parser to make scripts for the Open MMORPG project and RiiDii added more to it, probably not the latest version but you may have to look around for it. This version still works well though.

Here is a link - http://www.ommorpg.vectramedia.net/index.php?topic=401.msg4147#msg4147

Current Projects - Zio Engine: RPG Engine and OMMO

Commander in Chief
18
Years of Service
User Offline
Joined: 15th Apr 2006
Location: Carbondale, PA, USA
Posted: 25th May 2007 21:39 Edited at: 25th May 2007 21:44
Pretty sweet. I dont understand it all though.

---PlasmaArts---
www.plasmaarts.co.nr - www.plasmaarts-games.co.nr
Slayer93
20
Years of Service
User Offline
Joined: 5th Aug 2004
Location: I wish I knew
Posted: 26th May 2007 00:52
Feel free to ask any questions about it and I may be able to help.

Current Projects - Zio Engine: RPG Engine and OMMO

Login to post a reply

Server time is: 2024-11-25 17:54:00
Your offset time is: 2024-11-25 17:54:00