User contributions for AL
Jump to navigation
Jump to search
10 February 2023
- 13:4313:43, 10 February 2023 diff hist +25 User:AL No edit summary current
- 13:3013:30, 10 February 2023 diff hist −138 User:AL No edit summary
- 13:3013:30, 10 February 2023 diff hist +139 User:AL No edit summary
2 February 2023
- 14:0314:03, 2 February 2023 diff hist +13 Scripting Events No edit summary
- 14:0214:02, 2 February 2023 diff hist +738 Scripting Events No edit summary
- 13:3313:33, 2 February 2023 diff hist +15 Scripting Introduction No edit summary
- 13:2713:27, 2 February 2023 diff hist −1 Scripting Introduction →Using Scripts
- 13:2613:26, 2 February 2023 diff hist +107 Scripting Introduction No edit summary
- 13:2313:23, 2 February 2023 diff hist +66 Scripting Introduction No edit summary
- 13:2113:21, 2 February 2023 diff hist +2,675 N Scripting Examples Created page with "This page contains a selection of unofficial scripts to demonstrate the usage of various aspects of Soldat 2's scripting API. == Team Balancer == <syntaxhighlight lang="C#"> // a basic team-balancing script to illustrate how to implement simple // chat-commands using S2 scripting // 'using' directives let you omit namespacing // eg: Player rather than the full Teal.Player using System.Collections; using System.Collections.Generic; using UnityEngine; using Teal; [Disal..."
- 13:0813:08, 2 February 2023 diff hist +26 m Main Page No edit summary
24 January 2023
- 12:2412:24, 24 January 2023 diff hist +237 User:AL No edit summary
22 January 2023
- 08:4908:49, 22 January 2023 diff hist +69 User:AL No edit summary
18 January 2023
- 09:4009:40, 18 January 2023 diff hist +144 User:AL No edit summary
17 January 2023
- 15:3415:34, 17 January 2023 diff hist +2,342 User:AL No edit summary
- 15:2915:29, 17 January 2023 diff hist +235 User:AL No edit summary
- 15:0515:05, 17 January 2023 diff hist +185 User:AL No edit summary
- 14:4714:47, 17 January 2023 diff hist +703 User:AL No edit summary
- 14:4214:42, 17 January 2023 diff hist +5 User:AL No edit summary
- 14:3814:38, 17 January 2023 diff hist +47 User:AL No edit summary
- 14:3714:37, 17 January 2023 diff hist +13 User:AL No edit summary
- 14:3214:32, 17 January 2023 diff hist +86 User:AL No edit summary
- 14:3014:30, 17 January 2023 diff hist +36 User:AL No edit summary
- 14:2914:29, 17 January 2023 diff hist +848 User:AL No edit summary
- 14:1514:15, 17 January 2023 diff hist +2,020 N User:AL Created page with "== Scripting Notes == The exact limits of what scripting in Soldat 2 can do is not yet known, but it already looks to far exceed what was possible in Soldat 1. The following is a somewhat random assortment of different ways to affect or read the game state from scripting. === Messaging === * <code>GameChat.ChatOrLog(string message)</code> print a chat message * <code>HUD.Get.Notify(string message, UnityEngine.Color c)</code> text printout similar to flag grabbed/returne..."
16 January 2023
- 15:5115:51, 16 January 2023 diff hist +14 m Scripting Events No edit summary
- 15:5015:50, 16 January 2023 diff hist +4 m Scripting Events No edit summary
- 15:5015:50, 16 January 2023 diff hist +275 Scripting Events No edit summary
- 15:4415:44, 16 January 2023 diff hist +23 m Main Page Add link to scripting events
- 15:4215:42, 16 January 2023 diff hist −1 Scripting Events No edit summary
- 15:4115:41, 16 January 2023 diff hist +41 Scripting Events No edit summary
- 15:3915:39, 16 January 2023 diff hist +355 Scripting Events No edit summary
- 15:0415:04, 16 January 2023 diff hist +1,831 N Scripting Events Created page with "The main method for reacting to gameplay events in Soldat 2 scripting is by registering ''listeners''. This is done by calling the <code>AddListener()</code> function, usually on the <code>Eventor</code> object. In the case of Eventor listeners, you will need to specify both the event type to listen for, as well as a function to be called when the event occurs. Callback functions should have the signature <code>void cb_func(IGameEvent)</code>. The event types that are u..."
- 12:5112:51, 16 January 2023 diff hist +38 N Category:Scripting Created page with "Pages related to scripting in Soldat 2"
- 12:4012:40, 16 January 2023 diff hist +29 Main Page Add link to scripting introduction
- 12:3512:35, 16 January 2023 diff hist +26 Scripting Introduction No edit summary
- 12:2012:20, 16 January 2023 diff hist +450 Scripting Introduction No edit summary
- 11:1711:17, 16 January 2023 diff hist +396 N Scripting Introduction Created page with "Scripting in Soldat 2 is done in a Unity/C# environment. For a script to be usable in-game, the script file must be placed under <code>Soldat2/Scripts/</code> and there needs to be a ruleset that specifies that script in the <i>GameScript</i> object in its json - for example, see <code>Soldat2/Rules/Standard/Climb.json</code>. The script can be tested by starting a game that uses that ruleset."
- 10:4810:48, 16 January 2023 diff hist +13 m Main Page Add link to ranked page