Function; ATI_LoadTemplates - HWRM/KarosGraveyard GitHub Wiki

ATI_LoadTemplates(<sFileName>)

Description

Load one or more ATI templates from a particular script.
Contents of table SCAR_ATITemplates will be loaded as ATI templates.
Contents of table SCAR_UIGraphic2D will be loaded as UIGraphic2Ds.
Contents of table SCAR_UIGraphic3D will be loaded as UIGraphic3Ds.
Also loads UIGraphics if specified.

Example

ATI_LoadTemplates("data:LevelData\Multiplayer\ResourceRace\ATI.lua")

Arguments

<sFileName>: the name and path of the file to load templates from.

Related Pages

Function Reference

Gametype Scope

SCAR (SCripting at Relic) Reference

Basic tutorial for ATI text templates

Comments

I can't understand the description.

--Mikali (2006-04-25 14:40:33)

It is Relic's :D The function just loads tables from a script that are used to format text/graphics displayed with ATI_ functions. There is an example of those tables in the resource race gametype in RDN documents.

--SunTzu (2006-04-26 13:21:35)

er... huh?

--Mikali (2006-05-06 08:49:03)

lol I can't see where is the problem. Did you look at the resource race files from the RDN package?

--SunTzu (2006-05-09 14:58:39)

I think we need a working example that isn't tied to the resource race mod, I vote for a simple thing like a variable being displayed to an ATI rectangle in minimal code, cause I certianly haven't gotten it to work...

--EvilleJedi (2006-05-31 19:58:20)

Example given in a tutorial page (last link in related pages)

--SunTzu (2006-06-01 08:31:34)

Page Status

Updated Formatting? Initial
Updated for HWRM? Initial

⚠️ **GitHub.com Fallback** ⚠️