blake8090 / arma-extension-dotnet

A sample Arma 3 Extension written in .NET 8

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

arma-extension-dotnet

A basic example of an Arma 3 extension written in fully modern .NET 8.0 with C#.

Unlike previous versions which required dependencies such as DllExport, this project does not have any dependencies at all.

Installation

  1. Run the following command:

    dotnet publish -f net8.0 -c Release -r win-x64 -p:PublishAot=true -p:NativeLib=Shared -p:SelfContained=true
    
  2. From the project directory, navigate to the output directory:

    .\bin\Release\net8.0\win-x64\publish
    
  3. Copy ArmaExtensionDotNet_x64.dll into your base Arma 3 directory.

Usage

An example SQF can be found in mission\init.sqf.

Useful Links & Tools

Arma 3 Wiki - Extensions

Arma 3 Wiki - callExtension

DLL Export Viewer

Arma 3 Extension Tester

License

MIT

About

A sample Arma 3 Extension written in .NET 8

License:MIT License


Languages

Language:C# 88.7%Language:SQF 11.3%