Difference between revisions of "Angelscript"
Jump to navigation
Jump to search
Outerbeast (talk | contribs) m (→API Features) |
Outerbeast (talk | contribs) m (→Miscellaneous) |
||
| Line 124: | Line 124: | ||
|- | |- | ||
| style="text-decoration:underline;" | [[SayParameters]] | | style="text-decoration:underline;" | [[SayParameters]] | ||
| − | | style="vertical-align:middle;" | | + | | style="vertical-align:middle;" | Stores data used by the ClientSay [[Hooks|hook]]. |
|- | |- | ||
| style="text-decoration:underline;" | [[Animation Extensions]] | | style="text-decoration:underline;" | [[Animation Extensions]] | ||
Revision as of 17:14, 16 April 2025
This page contains basic coverage and tutorials for Sven Co-op's Angelscript API.
API auto-generated documentation is available here. For information on the AngelScript language, visit the official AngelScript manual here
1 Getting Started
| Tutorials | Basics of building scripts |
|---|---|
| Running Scripts | Covers how to import and execute script files, such as map scripts and plugins |
| Typecasting | Covers how and when to use typecasts |
| Debugging | Debugging scripts |
| Entity Basics | Covers the basics of what entities are and how to use them. |
| Entity Intermediate | Covers intermediate topics regarding entities. |
| Custom Entities | Build your own custom entity |
2 API Features
| API Features | Covers some fundamental aspects of writing scripts for Sven Co-op |
|---|---|
| Entity Functions | How to use the various entity functions. |
| Player Functions | Various player related functions |
| Sound System | How to use the sound system. |
| Engine Functions | How to use engine functions. |
| Custom Keyvalues | Covers the usage of custom keyvalues in scripts. |
| CEngine | Covers the CEngine class. This class includes the current time and frametime, as well as engine configuration and the global trace. |
| CGame | Contains methods integral to the game's operation. |
| Tracing | Covers performing traces and usage of the TraceResult class, as well as related enumerations. |
| Utility Functions | Covers various utility methods |
| Hooks | Covers the purpose and use of hooks. |
| Scheduler | Covers the use of the scheduler. |
| Math | Covers the use of various math operations |
| HUD | Covers the usage of various HUD elements |
| Temporary Effects | Covers the use of temporary entities. |
| File System | Covers the use of the virtual file system |
| Console Command System | Covers the console command system. This is used to add console commands and variables. |
| trigger_script | Build a trigger_script entity function |
| squadmaker function | Describes the usage of the squadmaker entity to call script functions. |
| ondestroyfn | Describes the usage of the "ondestroyfn" function |
3 Data Types
| Data Types | Covers some common data types used in scripts |
|---|---|
| Strings | Covers the basics of strings in scripts |
| Vectors | Covers the basics of Vectors in scripts |
| RGBA | Covers the basics of the RGBA structure |
| EHandle | Covers the usage of EHandle structure for storing entity handles |
| CCVar | Covers how to create and use custom CVars |
4 Miscellaneous
| Page | Description |
|---|---|
| DateTime | Covers the basics of the date and time structure |
| SayParameters | Stores data used by the ClientSay hook. |
| Animation Extensions | Animation Extensions used by weapons for player models. |
| Default Ammo Types | Default Ammo Types used by the game. |
| Bullet | The Bullet enum contains bullet types used by the game. |
| KeyValueBuffer | Key Value Buffer |