![]() The utilitary that created that made this possible is also in this repository over SFDScripts\Utilities\SfdScriptUtil BUILD HARDCORE WITH SFD MAP EDITOR OPEN Thanks to Hardcore and maybe other projects from this repo can be split into separated files to be easily edited and understood, and then will be merged into one by using a console utilitary done by also allows to send the map into the Superfighters Deluxe program directly, avoiding to boilerplate process of copy/pasting the code into the Script Editor in SFD. Please re run choco upgrade git-lfs.install even if you had already installed Git LSF in the past CLONING THE REPO If you get error messages when changing branches, creating branches or pushing, it is probably tied to a particular Git LSF version. If you get an error message of "choco" not being recognized, close the Powershell instance, and open a new one with admin rights, then run the command again Install latest version of Git LSF - Run command choco upgrade git-lfs.install on Powershell after installing Chocolatey.CLONING, COMPILING, AND PUSHING TO REPOSITORY Pre-requisitesįor cloning and working with this repo, you will ned Git LSF, since I use Github LSF storage to store \*.sfdm files. You're free to make comments, create issues and PRs! I'm open to suggestions.Ĭheck CONTRIBUTING.MD for very detailed information on how to start contributing. You can follow these projects in here: CONTRIBUTING Restoring Antonikon's Hardcore server using his open-sourced script and remastering his maps.Making all battle of teams map bot-enabled (available to be played with bots). ![]() I'm currently working on two main projects on SFD: └── SFDScripts.sln (the Visual Studio 2019 solution) ├── LICENSE (the LGPL-2.1 License for this repo) ├── docs (folder containing a backup of the script documentation, also used for a webhook available here: ) │ └── TESTS (some tests I have made, not too many ^^) │ ├── INTERNAL (folder containing internal scripts: scripts that are map dependant, and need to be the script inside the map they're supposed to use) │ ├── EXTERNAL (fodler containing external scripts: scripts that you can activate on any map, not map dependant) ├── SFDScripts (folder containing the actual scripts project) IPlayer ply=(IPlayer)args.Sender if(ply.IsBot&!ply.IsDead&!ply.├── Backup (a backup of a collection of maps a used 3 years ago on the server I hosted) In the console the message "Hello world!" should appear. Simply put the section of code in the Script Editor, have a Trigger call the function and it should write to the game console (pressing "~" while in the editor). The same goes with classes.īasic Examples Write Hello World! to Game Console These needs to be in form public void MyVoid()Īll the methods needs to be public, so the game can use them. Usually teh code contains methods and classes. Then a new window opens and tells if the code compiled correctly or not. You can write your code into this window. ![]() Open the script window in the right upper corner of the map editor. You also need to read the ScriptApi, where you can find all the methods and classes defined by SFD.GameScriptInterface. ![]() To script in Superfighter Deluxe, you need a fair knowledge over C#.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |