[REF] Advanced Modder Interface

Panzer / Allied General Remake: Strategies, Tactics, Efiles, Custom Campaigns, Customizations, Documentation.

Moderator: Radoye

Post Reply
HexCode
Specialist
Specialist
Posts: 165
Joined: 2019-09-30 18:54, Monday

[REF] Advanced Modder Interface

Post by HexCode » 2020-02-15 03:04, Saturday

CONTENT LINKS
==============

Introduction
viewtopic.php?f=95&t=304#p3257

Key AMI File Types
viewtopic.php?f=95&t=304#p3294


===================================================================

INTRODUCTION
==============

We're all familiar with the term User Interface (UI). When it comes to PGF, however, who are the "users" ? In my "books", there are three types of "user roles": Player, Light Modder and Advanced Modder. Players take obvious advantage of PGF's Player Interface (PI). Light Modders are reasonably assisted by PGF's Light Modder Interface (LMI). Finally, Advanced Modders mightily depend on PGF's Advanced Modder Interface (AMI). PGF's AMI is the current topic's focus.

PGF's LMI comprises PGF's PI in its entirety and more. In turn, PGF's AMI comprises PGF's LMI in its entirety and much more. Being a... self-anointed Advanced Modder, I intend to provide technical information specifically targeting Advanced Modders. However, subsets of such information may be of some interest to Light Modders, even Players.

A) PGF's PI constitutes what normally passes for a software's UI; namely, whatever is, well, readily visible to a Player and which directly supports play. PGF's PI combines and visually integrates many Textual and Pictorial Display elements.

B) In addition to PGF's PI, PGF's LMI comprises certain important aspects invisible to a Player. These aspects, when sufficiently mastered, allow Light Modders to do their "modding thing".

C) PGF's AMI comprises everything but the... kitchen sink. :) Advanced Modders seldom run out of new technical discoveries and design "tricks". PGF's AMI is essentially open-ended and constantly enables technical novelties applicable to "ambitious" custom content design, including the judicious hex editing of PGF's engine. :evil
Last edited by HexCode on 2020-02-17 18:26, Monday, edited 1 time in total.

HexCode
Specialist
Specialist
Posts: 165
Joined: 2019-09-30 18:54, Monday

KEY AMI FILE TYPES

Post by HexCode » 2020-02-17 18:24, Monday

KEY AMI FILE TYPES
==================

The numerous files residing in PGF's ...\UI subfolder collectively constitute the backbone of PGF's AMI.

HTM File Extension

Files sporting the HTM extension are used to format and display images and text. Such files contain Hypertext Markup Language (HTML) code which is stored in plain-text format. The HTML language allows a developer / designer to create structured documents by creating headings, paragraphs, lists, bullets, links and quotes. HTML code may contain links to images, audio, video and scripts.

HTM files can be edited in any text editor such as MS Notepad.

CSS File Extension

Files sporting the CSS extension are used to technically describe the presentation of HTM file content. Such files contain Cascading Style Sheet (CSS) code which is stored in plain-text format. The CSS code allows a developer / designer to separate presentation from content, including layout, colors, and fonts. This separation can improve content accessibility, provide more flexibility and control in the specification of presentation characteristics and reduce complexity and repetition in the structural content.

CSS files can be edited in any text editor such as MS Notepad.

PNG File Extension

Files sporting the PNG extension are used to display images. Such files contain Portable Network Graphics (PNG) code which is stored in binary format. A PNG file contains a single image in an extensible structure of "chunks", encoding the basic pixels and other information such as textual comments and integrity checks.

The PNG raster-graphics file format supports lossless data compression. More specifically, it supports palette-based images (with palettes of 24-bit RGB or 32-bit RGBA colors), grayscale images (with or without alpha channel for transparency) and full-color non-palette-based RGB or RGBA images.

Developers / designers can modify / edit images contained in PNG files via graphics manipulation utilities such as GIMP and Paint Shop.

CUR File Extension

Files sporting the CUR extension contain binary code and are used to display static cursor images in MS Windows OSs.

Developers / designers can modify / edit images contained in CUR files via graphics manipulation utilities such as Paint Shop Pro.

Post Reply