GTA: Modification Area

A website for the GTA modding scene

Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» Big-game starts raising Schneider's profile
Sun Mar 04, 2012 2:28 am by lavivi

» [Help] cleo created lighting
Thu Oct 14, 2010 1:03 am by findmy012

» Mission Question
Thu Oct 14, 2010 1:02 am by findmy012

» [IV] Spoiler Script
Thu Oct 14, 2010 1:02 am by findmy012

» Mission mod [help]
Sat Sep 18, 2010 5:50 pm by jayd00

» Bc7 Mod Help
Fri Aug 20, 2010 11:19 am by pengpeng

» Found a bug
Fri Dec 18, 2009 4:22 am by _CJ360_

» [IV] Novitec Rosso 599 GTB
Tue Nov 17, 2009 4:22 pm by Kotton

» Hello/Guidance Request
Mon Oct 12, 2009 6:45 am by Adler

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search
Affiliates
image

Image

Image

Image

Image

Image

Image

Image

Image

Image

image

Image

steve-m.com

Image


----- Русский -----

Если ваш сайт содержит большую коллекцию SCM/CLEO-скриптов (больше 16), напишите на мой e-mail, и я добавлю его в список. Приветствуются скрипты, которые не встречаются на других сайтах ... Спасибо. ))))


----- English -----

If your website has a big enough collection of SCM/CLEO scripts (more than 16) notify me by e-mail
, and I will add it to the list. The unique scripts are preferable ... Thank you. ))))

Log in

I forgot my password



January 2017
MonTueWedThuFriSatSun
      1
2345678
9101112131415
16171819202122
23242526272829
3031     

Calendar Calendar


You are not connected. Please login or register

Effects.fxp

View previous topic View next topic Go down  Message [Page 1 of 1]

1 Effects.fxp on Sat Mar 21, 2009 11:41 am

Effects.fxp is a file in which can be found in the Models folder of the San Andreas dir, it can be opened with a text editor, such as Notepad, or Wordpad, the file can not be changed in run-time to make effect you have to restart the game.

Here is an example of editing the spray-can's color via that file:

1: Search for the word "spray"
2: You should see something like this:


Code:

FILENAME: X:\SA\FxTools\Data\effects\gta_pc\systems/code/spraycan.fxs
NAME: spraycan
LENGTH: 5.000


3: After that search for the colour data column something like this:


Code:

FX_INFO_COLOUR_DATA:
TIMEMODEPRT: 1


After this goes the R:


Code:

RED:
FX_INTERP_DATA:
LOOPED: 0
NUM_KEYS: 2
FX_KEYFLOAT_DATA:
TIME: 0.000
VAL: 17.000
FX_KEYFLOAT_DATA:
TIME: 1.000
VAL: 0.000


After this goes the G:


Code:

GREEN:
FX_INTERP_DATA:
LOOPED: 0
NUM_KEYS: 2
FX_KEYFLOAT_DATA:
TIME: 0.000
VAL: 73.000
FX_KEYFLOAT_DATA:
TIME: 1.000
VAL: 0.000


After this goes the B:


Code:

BLUE:
FX_INTERP_DATA:
LOOPED: 0
NUM_KEYS: 2
FX_KEYFLOAT_DATA:
TIME: 0.000
VAL: 21.000
FX_KEYFLOAT_DATA:
TIME: 1.000
VAL: 0.000


After this goes the Alpha:


Code:

ALPHA:
FX_INTERP_DATA:
LOOPED: 0
NUM_KEYS: 2
FX_KEYFLOAT_DATA:
TIME: 0.000
VAL: 255.000
FX_KEYFLOAT_DATA:
TIME: 1.000
VAL: 0.000


We need to edit these lines in the columns to set the colour effect:


Code:

VAL: 255.000


(The one after FX_KEYFLOAT_DATA):
In each column (R, G, B, Alpha exist them line), edit them to change the color of the spray-can like if you set column RED line to 0.000, set also column GREEN to 255.000, and set column BLUE line to 255.000, then the result would be a blue spray colour can.

Example:

free image host

View user profile http://gtamodding.com

View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum