AnodyneXtras

We're So Sorry...

Because of the nature of downloading and uploading content with AnodyneXtras, it is not available on mobile devices. If you want to browse, search, and upload, please use a laptop or desktop computer.

You can also check out some of our other sites and services using the links below.


PNPC Icon MOD

by Matt

This relatively simple mod adds some additional logic into the personnel controller to detect when an NPC is associated to a user account. When this is the case, it changes the icon assigned to that character on the manifest.

It also has some additional logic in there for pulling up either the username or user ID, so that you can make use of the included personnel_index files to display the username of the user or the name of that player's main character.

Note: This does not create a new user class. These characters are still NPCs; this just allows the crew manifest page to change the icon for linked characters and display a little more data.

  1. Download and unzip the archive file.
  2. Upload the application and nova directories to the root of your site.

The default behaviour is to change the image for the character from combadge_npc.png to combadge_pnpc.png (it includes the _base image in the nova directory, but any changes you make to replace that image under the application directory will still take precedence, just as they do for the other combadge images), in addition to the last name of the player's main character.

Additional steps for customisation:

To display the full name of the player's main character:

  1. Open /application/views/_base_override/main/pages/personnel_index.php and comment out the code on lines 98, 99, 169 & 170 (each has a comment next to it)

To display the username of the player:

  1. Rename /application/views/_base_override/main/pages/personnel_index.php (or delete it)
  2. Rename /application/views/_base_override/main/pages/personnel_index_username.php to personnel_index.php

To only alter the icon, and display no additional info after the character name:

  1. Rename or delete /application/views/_base_override/main/pages/personnel_index.php

NOTE: If you have already modified the personnel_index.php file, do not upload the corresponding file here, or it will overwrite your changes. Same goes for the personnel controller. You will need to compare the code and merge the changes of the two files together.

1.0 - Initial version

1.1 - Suffix fix

In order to download Xtras, you must have an AnodyneID. You can log in or register your AnodyneID.

Details

Author
Matt
Downloads
76
Rating
No ratings
Added
10 March 2016