Tutorial : Editing Radar.ini (English)

Hello everybody! Today I will show you how to edit Radar.ini properly from Alexander Blade's GTA_IV_HUD. I will use Cyber Sky HUD so you can understand it easier. OK, let's get start!

Step One : Identify Every Function of Line



As we see from that picture, there are many lines of codes that looks 'random' or 'mess'. But, if we look closely, we can find that those group of lines are making something called 'paragraph'. Now, this paragraph control of size and position from each element in GTA_IV_HUD.

Settings and Elements (Example are taken from Cyber Sky HUD's radar.ini)


1. This line control size and position of radar, for settings see Third Step.

2. This line control size and position of HUD border, for settings see Third Step.

3. This line doesn't do anything.

4. This line control size and position of health bar and armor bar, for settings see Third Step.

5. This line control size and position of bar altitude (parachute), for settings see Third Step.

6. Overall picture.

Step Two : Knowing Scale and Position


On this step we have to know that every lines has different element, like X-Scale and Y-Scale or just X and Y. Let us know the different and function.
1. X-Scale = set the texture to stretch from a horizontal direction (left and right)
2. Y-Scale = set the texture to stretch from a vertical direction (up and down)
3. X  = adjust the position of the texture to one direction, it is horizontal (left and right)
4. Y  = adjust the position of the texture to one direction, it is vertical (up and down)

Step Three : Adjust Each Settings


Now we will practice earlier Step 2! Don't worry! This time I will use a picture as an example. Setting the size and position of the radar, HUD frame, health bar, and a bar armor have the same settings form. This time, I will use as an example Radar's setting.

1. Form of Public Setting
Radar represent all settings EXCEPT bar code of altitude/parachute. Take a good look!
We'll start by setting the X-Scale first. First let's add a value, for example 10, to see the difference directly.
See the picture below!


 And see the difference!

Now we begin to set the Y-Scale, does it look easy as X-Scale? We'll try to add some values, example 10. See the picture below!

And see the difference!

Well practiced alone, try and see the results instantly!

I will not explain the change setting X and Y because it's easy to do.
If the number of X plus, it will move to the right, but if minus then will move to the left.
If the number of Y plus, it will move up, but if minus then will move down.

2. Form of Special Setting
And finally touches the last part, it is bar altitude/parachute. Actually I don't know some codes like Color.red, blue, green, and alpha. But these codes can change the color of a component bar altitude/parachute. Well, let's get started!

Radar.ZPosBar.Bar.X and Radar.ZPosBar.BackTexture.X is the main setting in the set position bar altitude/parachute to the right and left. Radar.ZPosBar.Bar.Y and Radar.ZPosBar.BackTexture.Y is the main setting in the set position bar altitude/parachute towards up and down. Both are the same concept as the change in X and Y in general. (If the minus and plus, etc.)

For example if Radar.ZPosBar.Bar.X = 77 to 74 and Radar.ZPosBar.BackTexture.X = 78 to 75, it will obtain the following result!

Now, we're going to X-Scale and Y-Scale!
To begin, we will add the values 20 on Radar.ZPosBar.BackTexture.X-Scale. See the picture below!

And see the results!

Last, we will try it to Radar.ZPosBar.BackTexture.Y-Scale, add some values 20 to that setting. And this is the results!

Well, the following tutorial is done! Keep watching this blog!

1 komentar: