Knuckle Cracker

Particle Fleet => Map Makers, Ship Builders, and Coders => Topic started by: faceless funkmachine on October 04, 2016, 05:09:34 PM

Title: PRPL Help
Post by: faceless funkmachine on October 04, 2016, 05:09:34 PM
Hello, I am new to KC games. I like PFE, and I want to make some maps.

I have learned what I can from the wiki, however there is very little information in the wiki on the actual API, I understand stack programming, I just want to see a fleshed out API(which appears to be under construction in the wiki). I tried using the crpl api, but I keep getting errors. e.g inavlid token GetUnitsInRange. So i guess not all of the crpl methods are supported in PRPL which makes the crpl api a lot less helpful.

I read on some threads, people saying to view planetfalls maps. I downloaded two from the exchange, are the files located in
My Games\particlefleet\exchange\maps\0\16.pf1
I have never sceen a pf1 file before and have no idea how to open it. Am I looking in the wrong place. Ideally I would like to be able to load planetfalls map in the editor so i can view the scripts he has written and learn from them. So any advice on how I can do that?
Title: Re: PRPL Help
Post by: Michionlion on October 04, 2016, 05:18:13 PM
So, after you locate the files, you'll need to go into the mission editor, create a new "dummy" map, and then move the 16.pf1 file to the folder created in particlefleet\editor for that dummy map, and rename it to save.pf1, overwriting the original. After that, open the map again in PF, and the scripts should then be located in the scripts sub-directory of the map. You can open them with any text editor.
Title: Re: PRPL Help
Post by: faceless funkmachine on October 04, 2016, 05:49:34 PM
Perfect thanks.
Title: Re: PRPL Help
Post by: GoodMorning on October 04, 2016, 06:50:50 PM
The wiki construction is planned, but is currently waiting on a structural change relating to DokuWiki namespaces. This is because many PRPL pages will be almost identical to CRPL, and so overlapping pages make sense. Also, a significant fraction of the PRPL commands are identical to the CRPL counterparts. So a structure change makes significant sense, but only the admins can do it, and they have enough to do.

A number of us are planning to fill out the wiki as soon as this occurs.