Tady je na ukázku modifikace, která v původním RP 1.2 nebyla, je to relativní novinka, kterou chci zařadit jako volitelnou instalaci. Jmenuje se
(viz. screeny)
.
Hero Appearance Mod for sfall
**********************************************
Created by "Mash" Matt Wells 27 October 2009
mashw@bigpond.net.auThis mod is a part of "sfall" by Timeslip
http://timeslip.chorrol.com/sfall.htmlAbout
This mod was created to change the default hero character art with new custom art created by fans. Your character's appearance can be modified by pressing the "Appearance" button on the New Character Screen or in-game via three new script functions.
It was originally created for Josan12 and x'il's "long haired dude" style character but has since evolved to cater for future character creations as well, including the possibility of different sets of styles for other races.
Requirements
sfall version 2.0c
Instructions
To use this mod you must first set "EnableHeroAppearanceMod=1" in the [Misc] section of sfalls "ddraw.ini". This will make available a new button on the New Character Screen labelled "Appearance". Clicking this button will open a new Appearance Selection Window where you can scroll through the available appearances for your new character. At the time of writing there is only one new appearance to choose from this being the "long haired dude" created by Josan12 and x'il for a male character.
File and Folder details
This Mod is designed so that new hero appearances can be added over time as they are created. The new appearances are stored in the "Appearance" folder in your fallout2 installation directory. Within this folder each different style is stored in its own folder and is labelled in a special way, here's an example "HMR00S00". The name of this folder can be broken down into three parts.
1. "HM" signifies that the folder contains new art for a male character, for a female character this would read "HF".
2. "R00" is the racial appearance number for the default character. A folder containing new art for a different race would be labelled "R01", then "R02" etc.
3. "S00" is the style appearance number for the default character of a particular race. A folder containing new art for a different style would be labelled "S01", then "S02" etc.
Due to the way the Appearance Selection Window scrolls through appearances, it is important that the race and style numbers of different folder be labelled consecutively. eg "HMR00S01" should be followed by "HMR00S02" then "HMR00S03" etc. If there are any gaps in the sequence the following folder will be unselectable. Internally the folder structure is laid out like the "critter.dat" file, with new hero art located under "art\critters\".
All replacement art files should be labelled like the originals with an underscore character placed at the front eg "HMWARRAA.FRM" becomes "_HMWARRAA.FRM". This will prevent their use by NPC's who usually share the same art.
Global Variables
The hero's race and style numbers are stored in two sfall globals. Their Variable names are "HAp_Race" for race and "HApStyle" for style. So you should be able to use the sfall script function get_sfall_global_int(string varname); to retrieve their values if needed. To change their values use one of the new script functions below.
Script functions
I've created three new script functions which can be used to change your characters appearance in game.
1. hero_select_win(int value); This brings up the Appearance Selection Window. To cycle though the available races "value" should be set to 0. To cycle through the available styles "value" should be set to 1.
2. set_hero_race(int value); Changes the current race. "value" equals the race number to change too.
3. set_hero_style(int value); Changes the current style. "value" equals the style number to change too.
To compile scripts using these functions you will need the script compiler for sfall found on Timeslips Web site.