Creating Accolades

To create your own accolades, you must create a MEDAL REGISTER file in the following directory

wos-vas/lua/wos/medalsys/medals

If you do not want to create your own file, you may add to the existing file

wos-vas/lua/wos/medalsys/medals/default_medals.lua

Your medal register will be of the following format

wOS.Medals:RegisterMedal({

Name = "NAME",

Description = "DESCRIPTION",

Model = "MODEL PATH",

OffsetAngle = Angle( P, Y, R ),

})

An explanation of each entry in the register can be found below

Name : The name of the medal. This is a STRING ( Requires quotations around it )

Description : The description of the medal when being selected in the admin menu. This is a STRING ( Requires quotations around it )

Model : The directory of the model you would like to use for the medal. This is a STRING ( Requires quotations around it )

OffsetAngle : The angular offset the model will have when being placed on a player model. This is an ANGLE ( Requires pitch, yaw, and roll in angular-vector format )

Finally, an example of a completed MEDAL REGISTER can be found below

wOS.Medals:RegisterMedal({

Name = "wiltOS Community Badge",

Description = "A commemorative medal celebrating the wiltOS loyal community",

Model = "models/wos/lct/badges/plaque/woscom.mdl",

OffsetAngle = Angle( 180, -90, 180 ),

})

  • VAS, Accolades, Visual Accolade System, Create
  • 0 Корисниците го најдоа ова како корисно
Дали Ви помогна овој одговор?

Понудени резултати

Where do I find the content?

Depending on your usage of the product, there are up to two content packs you will require. For...

How do I install the addon?

In order to install the addon, you'll want to make sure you have the latest version. You can do...

How do I configure the addon?

To configure the addon, you can navigate to the addon's configuration directory, located at...

How do I access the Visual Accolade Menu?

To access the Visual Accolade Menu, you must be in-game and press your CONTEXT MENU key. On the...

How do I award/revoke accolades?

To reward/revoke medals from players, you must ensure your Usergroup is has sufficient...