![]() ![]() Create an empty file "a" in your scripts folder. If you follow this tutorial from beginning to end, you will have scripted a fully functional AI for the case map, which allows for some challenging gameplay! Rename the "Case.dat" file to "levl2001.dat" and place it in your levels folder: C:\Program Files (x86)\Bullfrog\Populous\levels. ![]() Select Beta under Populous -> Version in Settings -> Populous.ĭuring the tutorial, I will work with a case map. If you launch a beta game in MM, the latest version of Populous Beta will automatically be installed on your computer. Put these scripts in your scripts folder: C:\Program Files (x86)\Bullfrog\Populous\Scripts We will also use a few prewritten LUA scripts to make life easier once we get to scripting. For scripting: a code editor of your liking, I use Visual Studio 2019.For designing, we will use the 8p world editor.(createThing())Ĭounting objects during a search (ProcessList())Ĭounting all objects on the map (ProcessGlobalTypeList())ĭownload the tools from my Drive here (some are too large to attach to this post). Having said that, I'd like to present the index of this tutorial:Ĭode to be executed at the beginning of the gameĬreate a thing. Leave your feedback and I'll be able to do some improvements where needed. This tutorial is still a work in progress.There is a scripting room in Discord where you can ask questions and share code, and of course we still have the forums. Try to understand the code you're writing, instead of just copy&paste. Where LUA adds more things we can do in game, it also adds complexity. ![]() A little experience in PopScript and programming in general is useful, but not required if you're willing to learn.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |