View Full Version : What is Fragglescript?
ChainzZ
August 24th, 2004, 12:35 PM
I searched on these forums, but i couldn't find out what Fragglescript exactly is. Is it a somesort of C++? Is the sourcecode of Legacy Doom written in Fragglescript? And where can i learn Fragglescript?
Rellik_jmd
August 24th, 2004, 12:56 PM
FraggleScript (FS) is a scripting language for making things happen inside the game. You can use it to spawn monsters, open doors, create on screen menus, all kinds of stuff. Check the Legacy Editing Resource (http://legacy.newdoom.com/der/index.shtml). You'll find scripting tutorials under the "scripting" icon.
iori
August 24th, 2004, 02:04 PM
Doomlegacy is written in C, and more recently C++.
Exl
August 24th, 2004, 02:32 PM
And previously a small part of assembly. *turvy*
Hurdler
August 24th, 2004, 02:38 PM
As Rellik said, it's a scripting language. It uses a similar syntax to C, but it's not related more than that.
Basically, FraggleScript is there so people can do (limited) things we haven't implemented (or even thought) inside Doom Legacy itself. You can use it for doing some complex things (for instance adding a CTF mode to Legacy), but you can also use it just for configuring a map (for instance, simply changing the color of a corona). You can also use it to make a rich scenario.
ChainzZ
August 25th, 2004, 01:30 AM
But when i download the sourcecode, is it written in Fragglescript or C++?
Hurdler
August 25th, 2004, 02:05 AM
It's fully written in C++ (well, the source code for Legacy 1.42 is written in C to be correct, what is written in C++ is the new code for Doom Legacy, which will be available "soon").
FraggleScript is just a language for map authors, not for the core source code.
ChainzZ
August 25th, 2004, 02:50 AM
Ok, thanks for the help!
iori
August 25th, 2004, 03:04 AM
I dont think the source available in prdownloads.sourceforge.net is compilable... or wasnt the last time I tried. But if you know how to use a CVS client you can checkout the source anonymously (it works again H' ). Just search for 'Compiling legacy source' in the forums and it will tell you how.
vBulletin® v3.8.3, Copyright ©2000-2010, Jelsoft Enterprises Ltd.