Knuckle Cracker

Particle Fleet => Map Makers, Ship Builders, and Coders => Topic started by: TonnyT on November 18, 2016, 10:57:00 PM

Title: Getting started with PRPL?
Post by: TonnyT on November 18, 2016, 10:57:00 PM
Hey everybody, I know this question has probably been asked a hundred times over.
Can anyone link me a wiki or a tutorial on PRPL? I've searched up and down this forum, google and the game files. but I can't find a straight answer on how to get started, I would love to learn.

Thanks!
Title: Re: Getting started with PRPL?
Post by: GoodMorning on November 19, 2016, 12:09:32 AM
The short answer is: Not yet.

The longer answer is:

Most (but not all) of PRPL inherits from CRPL, so the basics can be learned there.

Some of the information on PRPL commands (such as CreateParticle) can be found here (http://knucklecracker.com/wiki/doku.php?id=prpl:alphabetic_list_of_commands) and here (http://knucklecracker.com/wiki/doku.php?id=pf:rpldocs:prpl_working_documents).

To look at already written scripts, there is a guide here (http://knucklecracker.com/wiki/doku.php?id=prpl:examine_map_resources).

The wiki remains underpopulated with individual command pages, due to an idea to create them all at once. This is still in progress...

PRPL also has global variables, used with ->*; dot notation, used with <-UIDInVariable.PropertyName; and list bracket notation, used with <-ListVariable[<-IndexVariable].

It has also been considered to have the game be able to download a local copy of the docs from the wiki. I don't know the status of that, though.
Title: Re: Getting started with PRPL?
Post by: TonnyT on November 22, 2016, 02:06:02 PM
Thanks for all the help!

I'm guessing from the way the code works, ships with custom modules are stuck to the maps they're on?
Title: Re: Getting started with PRPL?
Post by: GoodMorning on November 22, 2016, 05:22:42 PM
So far, yes. Ship-based custom modules are coming, but what exactly their capabilities will be remains uncertain.