2000FUN論壇

標題: 有冇人識轉APB入面既背景效果 [打印本頁]

作者: 仙跡    時間: 13-1-1 03:13 PM     標題: 有冇人識轉APB入面既背景效果

有冇人識轉APB入面既背景效果
http://www.youtube.com/watch?v=oILooQFghG4
好似影片紙板噤既背景
作者: hcs999    時間: 13-1-1 03:18 PM

本帖最後由 hcs999 於 13-1-1 03:19 PM 編輯

Shaders
http://forums.gamersfirst.com/to ... acting-crap-config/
http://forums.gamersfirst.com/to ... restoration-project


http://forums.gamersfirst.com/to ... ization-megathread/
作者: 仙跡    時間: 13-1-1 04:52 PM

唔該曬~再問一問邊隻似影片入面個隻?~?
作者: hcs999    時間: 13-1-1 10:25 PM

回覆 仙跡 的帖子

not clear,
我都係用RTW shader

不過應該係D border shaders
something like this: http://www.youtube.com/watch?v=iqjcIsDjcdw
作者: 仙跡    時間: 13-1-2 04:38 PM

你呢隻又好似太灰~~~
作者: love_mayu    時間: 13-1-2 06:52 PM

會唔會BAN嫁
因為畢竟也要改動D file
作者: hcs999    時間: 13-1-2 07:21 PM

nop, 係個gray area

改file Punkbuster知, 但係都唔會ban

連 dot/shader crosshair APB Mods都話依家暫時唔會ban


作者: a26181314    時間: 13-1-2 08:32 PM

回覆 hcs999 的帖子

我想整個Cross hair
我搵到個網   但係唔係好睇得明D英文
我依家果個Cross hair唔係本身想整果個
可唔可以幫幫手?

OK的話聽日PM你

Thx
作者: hcs999    時間: 13-1-2 11:29 PM

回覆 a26181314 的帖子

1) Copy D file
2)crosshair settings 改screen resolution, 開cross hair (crossXXXXXX:0 -> crossXXXXXX:1)
0=唔開, 1 = 開


###一定要開high quality bloom####

大約係咁啦, 不過自從上次repair 完我就用唔到- -
不過可以教你用
作者: hcs999    時間: 13-1-3 05:36 PM

Found it!
http://www.youtube.com/watch?v=13-pyVDpB44

Video discription
作者: a26181314    時間: 13-1-3 06:28 PM

回覆 hcs999 的帖子

多謝你先

我睇過依個網
#//forums.gamersfirst.com/topic/298190-universal-shader-crosshair/

想整依個人個HairCross   
#//zh-tw.twitch.tv/grlfflth/c/1757578

白色   GAME像素 1024x768

但係整在第二隻

幫幫手  THX

#=http:
作者: a26181314    時間: 13-1-3 06:31 PM

回覆 hcs999 的帖子

我個Crosshair Setting (txt) 係咁
唔知要點樣改
/***************************************************************************************/
/*! \file CrosshairSettings.usf
*
* Configuration options for modular crosshair
*
*
* Owned by dreamss, some code stolen from tobii and spec
*
* variable crosshair size added by Kimiko
* and pretty much every change after that ... DYNAMIC_COLOR, internal color options, and making it work on rtw/1.9.1 shaders
* fuckshadercoding
*
* Thanks to Blizzie for the alternative crosshair shapes Dot 2, Circle, and Cross
* Thanks to Inteoix for OPGL-shaped crosshairs and pointing out how to fix alpha
*
*
* Usage:
*   See below for what each setting does, and edit to your liking.
*
* DONT FORGET TO EDIT SCREEN_SIZE_X and SCREEN_SIZE_Y
*
* IF THE GAME CRASHES CROSSHAIR_SIZE IS WAY TOO BIG!
****************************************************************************************/

{
// 1 = enable
#define ENABLE_CROSSHAIR 1
#define ENABLE_CROSSHAIR_DOT_1 0
#define ENABLE_CROSSHAIR_DOT_2 0
#define ENABLE_CROSSHAIR_TOP_CHEVRON 0
#define ENABLE_CROSSHAIR_BOTTOM_CHEVRON 0
#define ENABLE_CROSSHAIR_CIRCLE 0
#define ENABLE_CROSSHAIR_CROSS 1
#define ENABLE_CROSSHAIR_OPGL 0
#define ENABLE_CROSSHAIR_SQUARE 0
#define ENABLE_CROSSHAIR_DIAMOND 0

// User created crosshairs (not included). default filenames are CrosshairCustom1.usf CrosshairCustom2.usf CrosshairCustom3.usf CrosshairCustom4.usf CrosshairCustom5.usf
#define ENABLE_CROSSHAIR_CUSTOM_1 0
#define ENABLE_CROSSHAIR_CUSTOM_2 0
#define ENABLE_CROSSHAIR_CUSTOM_3 0
#define ENABLE_CROSSHAIR_CUSTOM_4 0
#define ENABLE_CROSSHAIR_CUSTOM_5 0


// Monitor resolution, INCLUDE THE .0 OR OTHER THINGS BREAK!!!
#define SCREEN_SIZE_X 1900.0
#define SCREEN_SIZE_Y 900.0


// Limit the area at the center to check where to draw the crosshair. We dont want to run on every pixel do we?
// Set it bigger if your crosshair gets cutoff
// 0.0-100.0 where 100 means scan 100% of the screen
#define CROSSHAIR_PIXEL_SCAN_LIMIT 8.0


// Dot 1 shape settings
#define CROSSHAIR_DOT_1_SIZE .6
// R, G, B, Alpha with a range of 0.0 to 1.0
#define IN_CROSSHAIR_DOT_1_COLOR float4( 1.0, 0.4, 1.0, 0.5)
#define OUT_CROSSHAIR_DOT_1_COLOR float4( 1.0, 0.4, 1.0, 0.5)
// Dynamic color - ignores color settings above (but uses alpha settings!!) and instead does roughly the inverse of whatever it's over.
#define IN_CROSSHAIR_DOT_1_DYNAMIC_COLOR 0
#define OUT_CROSSHAIR_DOT_1_DYNAMIC_COLOR 0


// Blizzie dot shape settings
// R, G, B, Alpha with a range of 0.0 to 1.0
#define CROSSHAIR_DOT_2_COLOR float4(1.0, 0.0, 0.0, 0.1)


// Chevron aspect ratio settings, leave this alone for a standard 90 degree spacing. Don't touch if you don't know what you're doing.
#define chevronaspectRatio SCREEN_SIZE_Y/SCREEN_SIZE_X

// Top chevron shape settings
#define CROSSHAIR_TOP_CHEVRON_THICKNESS .001
#define CROSSHAIR_TOP_CHEVRON_SIZE .01
#define CROSSHAIR_TOP_CHEVRON_GAP .003
// R, G, B, Alpha with a range of 0.0 to 1.0
#define CROSSHAIR_TOP_CHEVRON_COLOR float4(1.0, 0.0, 0.0, 0.5)
// Dynamic color - ignores color settings above (but uses alpha settings!!) and instead does roughly the inverse of whatever it's over.
#define CROSSHAIR_TOP_CHEVRON_DYNAMIC_COLOR 0


// Bottom chevron shape settings
#define CROSSHAIR_BOTTOM_CHEVRON_THICKNESS .001
#define CROSSHAIR_BOTTOM_CHEVRON_SIZE .01
#define CROSSHAIR_BOTTOM_CHEVRON_GAP .003
// R, G, B, Alpha with a range of 0.0 to 1.0
#define CROSSHAIR_BOTTOM_CHEVRON_COLOR float4(1.0, 0.0, 0.0, 0.5)
// Dynamic color - ignores color settings above (but uses alpha settings!!) and instead does roughly the inverse of whatever it's over.
#define CROSSHAIR_BOTTOM_CHEVRON_DYNAMIC_COLOR 0


// Circle shape settings - credit: Blizzie
#define CROSSHAIR_CIRCLE_RADIUS  .023
// R, G, B, Alpha with a range of 0.0 to 1.0
#define CROSSHAIR_CIRCLE_COLOR float4(1.0, 0.0, 0.0, 0.5)
// Dynamic color - ignores color settings above (but uses alpha settings!!) and instead does roughly the inverse of whatever it's over.
#define CROSSHAIR_CIRCLE_DYNAMIC_COLOR 0


// Cross shape settings - credit: Blizzie
#define CROSSHAIR_CROSS_SIZE .01
#define CROSSHAIR_CROSS_THICKNESS .000417
#define CROSSHAIR_CROSS_BORDER_THICKNESS .000417
#define CROSSHAIR_CROSS_GAP .005                          // Set this to 0.0 for no center gap
// R, G, B, Alpha with a range of 0.0 to 1.0
#define CROSSHAIR_CROSS_INNER_COLOR float4(1.0, 1.0, 1.0, 0.5)
#define CROSSHAIR_CROSS_BORDER_COLOR float4(0.0, 0.0, 0.0, 0.5)
// Dynamic color - ignores color settings above (but uses alpha settings!!) and instead does roughly the inverse of whatever it's over.
#define CROSSHAIR_CROSS_INNER_DYNAMIC_COLOR 0
#define CROSSHAIR_CROSS_BORDER_DYNAMIC_COLOR 0


// OPGL shape settings - credit: Inteoix
#define CROSSHAIR_OPGL_RADIUS 0.00575
#define CROSSHAIR_OPGL_WIDTH 0.0015
#define CROSSHAIR_OPGL_CUTOFF 0.65
// R, G, B, Alpha with a range of 0.0 to 1.0
#define CROSSHAIR_OPGL_COLOR float4(1.0, 1.0, 1.0, 0.75)
// Dynamic color - ignores color settings above (but uses alpha settings!!) and instead does roughly the inverse of whatever it's over.
#define CROSSHAIR_OPGL_DYNAMIC_COLOR 1


// Square shape settings
// These *should* be after aspect ratio correction, making them appear the same size.
#define CROSSHAIR_SQUARE_HEIGHT 0.01
#define CROSSHAIR_SQUARE_WIDTH 0.01
#define CROSSHAIR_SQUARE_THICKNESS 0.001
// SMALL values here, will create a gap in the center of each side
#define CROSSHAIR_SQUARE_HORIZ_GAP 0.005
#define CROSSHAIR_SQUARE_VERT_GAP 0.005
// R, G, B, Alpha with a range of 0.0 to 1.0
#define CROSSHAIR_SQUARE_COLOR float4(1.0, 1.0, 1.0, 0.75)
// Dynamic color - ignores color settings above (but uses alpha settings!!) and instead does roughly the inverse of whatever it's over.
#define CROSSHAIR_SQUARE_DYNAMIC_COLOR 0


// Diamond shape settings - credit: Kimiko
#define CROSSHAIR_DIAMOND_THICKNESS 0.001
#define CROSSHAIR_DIAMOND_OUTLINE_ENABLE 1
#define CROSSHAIR_DIAMOND_OUTLINE_THICKNESS 0.001
#define CROSSHAIR_DIAMOND_OUTLINE_INSIDE_THICKNESS 0.0
#define CROSSHAIR_DIAMOND_SIZE 0.01
#define CROSSHAIR_DIAMOND_ANGLE 1.0 // not yet implemented!
#define CROSSHAIR_DIAMOND_GAP 0.01 // currently buggy, set to same value as SIZE for best results
// R, G, B, Alpha with a range of 0.0 to 1.0
#define CROSSHAIR_DIAMOND_COLOR float4( 1.0, 0.0, 0.0, 0.75 )
#define CROSSHAIR_DIAMOND_OUTLINE_COLOR float4( 0.0, 0.0, 0.0, 1.0 )
// Dynamic color - ignores color settings above (but uses alpha settings!!) and instead does roughly the inverse of whatever it's over.
#define CROSSHAIR_DIAMOND_DYNAMIC_COLOR 0


//MAKE SURE THIS FILES EXIST!!!!
//THIS SETTING IS NOT USED.
#define CROSSHAIR_CUSTOM_1_NAME "CrosshairCustom1.usf"
#define CROSSHAIR_CUSTOM_2_NAME "CrosshairCustom2.usf"
#define CROSSHAIR_CUSTOM_3_NAME "CrosshairCustom3.usf"
#define CROSSHAIR_CUSTOM_4_NAME "CrosshairCustom4.usf"
#define CROSSHAIR_CUSTOM_5_NAME "CrosshairCustom5.usf"
}
作者: a26181314    時間: 13-1-3 06:41 PM

回覆 hcs999 的帖子

我諗你比錯左條片我睇
條片係講AK

我依家做完COPY FILES個STEP

STEP 2  改CrossHairSetting

之前試過做
但係唔到我想要果隻CrossHair
同埋SET左個GAME解像都入唔到GAME (1024X768)


唔該
作者: hcs999    時間: 13-1-4 05:20 PM

本帖最後由 hcs999 於 13-1-4 05:24 PM 編輯

回覆 a26181314 的帖子

1) 系crosshair
2) 要開high quality bloom
3) APB ingame resolution 一定要等一於 CrosshairSettings.usg 個resolution
4) which one do you want? The link is dead - -



已經幫你改左mon resolution 同開左cross

/***************************************************************************************/
/*! \file CrosshairSettings.usf
*
* Configuration options for modular crosshair
*
*
* Owned by dreamss, some code stolen from tobii and spec
*
* variable crosshair size added by Kimiko
* and pretty much every change after that ... DYNAMIC_COLOR, internal color options, and making it work on rtw/1.9.1 shaders
* fuckshadercoding
*
* Thanks to Blizzie for the alternative crosshair shapes Dot 2, Circle, and Cross
* Thanks to Inteoix for OPGL-shaped crosshairs and pointing out how to fix alpha
*
*
* Usage:
*   See below for what each setting does, and edit to your liking.
*
* DONT FORGET TO EDIT SCREEN_SIZE_X and SCREEN_SIZE_Y
*
* IF THE GAME CRASHES CROSSHAIR_SIZE IS WAY TOO BIG!
****************************************************************************************/

{
// 1 = enable
#define ENABLE_CROSSHAIR 1
#define ENABLE_CROSSHAIR_DOT_1 0
#define ENABLE_CROSSHAIR_DOT_2 0
#define ENABLE_CROSSHAIR_TOP_CHEVRON 0
#define ENABLE_CROSSHAIR_BOTTOM_CHEVRON 0
#define ENABLE_CROSSHAIR_CIRCLE 0
#define ENABLE_CROSSHAIR_CROSS 1
#define ENABLE_CROSSHAIR_OPGL 0
#define ENABLE_CROSSHAIR_SQUARE 0
#define ENABLE_CROSSHAIR_DIAMOND 0

// User created crosshairs (not included). default filenames are CrosshairCustom1.usf CrosshairCustom2.usf CrosshairCustom3.usf CrosshairCustom4.usf CrosshairCustom5.usf
#define ENABLE_CROSSHAIR_CUSTOM_1 0
#define ENABLE_CROSSHAIR_CUSTOM_2 0
#define ENABLE_CROSSHAIR_CUSTOM_3 0
#define ENABLE_CROSSHAIR_CUSTOM_4 0
#define ENABLE_CROSSHAIR_CUSTOM_5 0


// Monitor resolution, INCLUDE THE .0 OR OTHER THINGS BREAK!!!
#define SCREEN_SIZE_X 1024.0
#define SCREEN_SIZE_Y 768.0


// Limit the area at the center to check where to draw the crosshair. We dont want to run on every pixel do we?
// Set it bigger if your crosshair gets cutoff
// 0.0-100.0 where 100 means scan 100% of the screen
#define CROSSHAIR_PIXEL_SCAN_LIMIT 8.0


// Dot 1 shape settings
#define CROSSHAIR_DOT_1_SIZE .8
//thickness of the dot outline, make number bigger if it cant be seen
#define CROSSHAIR_DOT_1_OUT_SIZE_MULTI 2.0
// R, G, B, Alpha with a range of 0.0 to 1.0
#define IN_CROSSHAIR_DOT_1_COLOR float4( 1.0, 1.0, 1.0, 0.5)
#define OUT_CROSSHAIR_DOT_1_COLOR float4( 0.0, 0.0, 0.0, 0.5)
// Dynamic color - ignores color settings above (but uses alpha settings!!) and instead does roughly the inverse of whatever it's over.
#define IN_CROSSHAIR_DOT_1_DYNAMIC_COLOR 0
#define OUT_CROSSHAIR_DOT_1_DYNAMIC_COLOR 0


// Blizzie dot shape settings
// R, G, B, Alpha with a range of 0.0 to 1.0
#define CROSSHAIR_DOT_2_COLOR float4(1.0, 0.0, 0.0, 0.1)


// Chevron aspect ratio settings, leave this alone for a standard 90 degree spacing. Don't touch if you don't know what you're doing.
#define chevronaspectRatio SCREEN_SIZE_Y/SCREEN_SIZE_X

// Top chevron shape settings
#define CROSSHAIR_TOP_CHEVRON_THICKNESS .001
#define CROSSHAIR_TOP_CHEVRON_SIZE .01
#define CROSSHAIR_TOP_CHEVRON_GAP .003
// R, G, B, Alpha with a range of 0.0 to 1.0
#define CROSSHAIR_TOP_CHEVRON_COLOR float4(1.0, 0.0, 0.0, 0.5)
// Dynamic color - ignores color settings above (but uses alpha settings!!) and instead does roughly the inverse of whatever it's over.
#define CROSSHAIR_TOP_CHEVRON_DYNAMIC_COLOR 0


// Bottom chevron shape settings
#define CROSSHAIR_BOTTOM_CHEVRON_THICKNESS .001
#define CROSSHAIR_BOTTOM_CHEVRON_SIZE .01
#define CROSSHAIR_BOTTOM_CHEVRON_GAP .003
// R, G, B, Alpha with a range of 0.0 to 1.0
#define CROSSHAIR_BOTTOM_CHEVRON_COLOR float4(1.0, 0.0, 0.0, 0.5)
// Dynamic color - ignores color settings above (but uses alpha settings!!) and instead does roughly the inverse of whatever it's over.
#define CROSSHAIR_BOTTOM_CHEVRON_DYNAMIC_COLOR 0


// Circle shape settings - credit: Blizzie
#define CROSSHAIR_CIRCLE_RADIUS  .023
// R, G, B, Alpha with a range of 0.0 to 1.0
#define CROSSHAIR_CIRCLE_COLOR float4(1.0, 0.0, 0.0, 0.5)
// Dynamic color - ignores color settings above (but uses alpha settings!!) and instead does roughly the inverse of whatever it's over.
#define CROSSHAIR_CIRCLE_DYNAMIC_COLOR 0


// Cross shape settings - credit: Blizzie
#define CROSSHAIR_CROSS_SIZE .02
#define CROSSHAIR_CROSS_THICKNESS .000417
#define CROSSHAIR_CROSS_BORDER_THICKNESS .000417
#define CROSSHAIR_CROSS_GAP .005                          // Set this to 0.0 for no center gap
// R, G, B, Alpha with a range of 0.0 to 1.0
#define CROSSHAIR_CROSS_INNER_COLOR float4(1.0, 1.0, 1.0, 0.5)
#define CROSSHAIR_CROSS_BORDER_COLOR float4(1.0, 1.0, 1.0, 0.5)
// Dynamic color - ignores color settings above (but uses alpha settings!!) and instead does roughly the inverse of whatever it's over.
#define CROSSHAIR_CROSS_INNER_DYNAMIC_COLOR 0
#define CROSSHAIR_CROSS_BORDER_DYNAMIC_COLOR 0


// OPGL shape settings - credit: Inteoix
#define CROSSHAIR_OPGL_RADIUS 0.00575
#define CROSSHAIR_OPGL_WIDTH 0.0015
#define CROSSHAIR_OPGL_CUTOFF 0.65
// R, G, B, Alpha with a range of 0.0 to 1.0
#define CROSSHAIR_OPGL_COLOR float4(1.0, 1.0, 1.0, 0.75)
// Dynamic color - ignores color settings above (but uses alpha settings!!) and instead does roughly the inverse of whatever it's over.
#define CROSSHAIR_OPGL_DYNAMIC_COLOR 1


// Square shape settings
// These *should* be after aspect ratio correction, making them appear the same size.
#define CROSSHAIR_SQUARE_HEIGHT 0.01
#define CROSSHAIR_SQUARE_WIDTH 0.01
#define CROSSHAIR_SQUARE_THICKNESS 0.001
// SMALL values here, will create a gap in the center of each side
#define CROSSHAIR_SQUARE_HORIZ_GAP 0.005
#define CROSSHAIR_SQUARE_VERT_GAP 0.005
// R, G, B, Alpha with a range of 0.0 to 1.0
#define CROSSHAIR_SQUARE_COLOR float4(1.0, 1.0, 1.0, 0.75)
// Dynamic color - ignores color settings above (but uses alpha settings!!) and instead does roughly the inverse of whatever it's over.
#define CROSSHAIR_SQUARE_DYNAMIC_COLOR 0


// Diamond shape settings - credit: Kimiko
#define CROSSHAIR_DIAMOND_THICKNESS 0.001
#define CROSSHAIR_DIAMOND_OUTLINE_ENABLE 1
#define CROSSHAIR_DIAMOND_OUTLINE_THICKNESS 0.001
#define CROSSHAIR_DIAMOND_OUTLINE_INSIDE_THICKNESS 0.0
#define CROSSHAIR_DIAMOND_SIZE 0.01
#define CROSSHAIR_DIAMOND_ANGLE 1.0 // not yet implemented!
#define CROSSHAIR_DIAMOND_GAP 0.01 // currently buggy, set to same value as SIZE for best results
// R, G, B, Alpha with a range of 0.0 to 1.0
#define CROSSHAIR_DIAMOND_COLOR float4( 1.0, 0.0, 0.0, 0.75 )
#define CROSSHAIR_DIAMOND_OUTLINE_COLOR float4( 0.0, 0.0, 0.0, 1.0 )
// Dynamic color - ignores color settings above (but uses alpha settings!!) and instead does roughly the inverse of whatever it's over.
#define CROSSHAIR_DIAMOND_DYNAMIC_COLOR 0


//MAKE SURE THIS FILES EXIST!!!!
//THIS SETTING IS NOT USED.
#define CROSSHAIR_CUSTOM_1_NAME "CrosshairCustom1.usf"
#define CROSSHAIR_CUSTOM_2_NAME "CrosshairCustom2.usf"
#define CROSSHAIR_CUSTOM_3_NAME "CrosshairCustom3.usf"
#define CROSSHAIR_CUSTOM_4_NAME "CrosshairCustom4.usf"
#define CROSSHAIR_CUSTOM_5_NAME "CrosshairCustom5.usf"
}
作者: a26181314    時間: 13-1-4 07:19 PM

回覆 hcs999 的帖子

唔該你  不過都係整唔到我想要果個

我整左圖左果個
我係想要圖右果個

如果死Link話比我知
*//upload.lyfhk.net/?pm=5SD2

*http:
作者: a26181314    時間: 13-1-4 07:21 PM

依家的CrossHair Setting (txt)

/***************************************************************************************/
/*! \file CrosshairSettings.usf
*
* Configuration options for modular crosshair
*
*
* Owned by dreamss, some code stolen from tobii and spec
*
* variable crosshair size added by Kimiko
* and pretty much every change after that ... DYNAMIC_COLOR, internal color options, and making it work on rtw/1.9.1 shaders
* fuckshadercoding
*
* Thanks to Blizzie for the alternative crosshair shapes Dot 2, Circle, and Cross
* Thanks to Inteoix for OPGL-shaped crosshairs and pointing out how to fix alpha
*
*
* Usage:
*   See below for what each setting does, and edit to your liking.
*
* DONT FORGET TO EDIT SCREEN_SIZE_X and SCREEN_SIZE_Y
*
* IF THE GAME CRASHES CROSSHAIR_SIZE IS WAY TOO BIG!
****************************************************************************************/

{
// 1 = enable
#define ENABLE_CROSSHAIR 1
#define ENABLE_CROSSHAIR_DOT_1 0
#define ENABLE_CROSSHAIR_DOT_2 0
#define ENABLE_CROSSHAIR_TOP_CHEVRON 0
#define ENABLE_CROSSHAIR_BOTTOM_CHEVRON 0
#define ENABLE_CROSSHAIR_CIRCLE 0
#define ENABLE_CROSSHAIR_CROSS 1
#define ENABLE_CROSSHAIR_OPGL 0
#define ENABLE_CROSSHAIR_SQUARE 0
#define ENABLE_CROSSHAIR_DIAMOND 0

// User created crosshairs (not included). default filenames are CrosshairCustom1.usf CrosshairCustom2.usf CrosshairCustom3.usf CrosshairCustom4.usf CrosshairCustom5.usf
#define ENABLE_CROSSHAIR_CUSTOM_1 0
#define ENABLE_CROSSHAIR_CUSTOM_2 0
#define ENABLE_CROSSHAIR_CUSTOM_3 0
#define ENABLE_CROSSHAIR_CUSTOM_4 0
#define ENABLE_CROSSHAIR_CUSTOM_5 0


// Monitor resolution, INCLUDE THE .0 OR OTHER THINGS BREAK!!!
#define SCREEN_SIZE_X 1024.0
#define SCREEN_SIZE_Y 768.0


// Limit the area at the center to check where to draw the crosshair. We dont want to run on every pixel do we?
// Set it bigger if your crosshair gets cutoff
// 0.0-100.0 where 100 means scan 100% of the screen
#define CROSSHAIR_PIXEL_SCAN_LIMIT 8.0


// Dot 1 shape settings
#define CROSSHAIR_DOT_1_SIZE .8
//thickness of the dot outline, make number bigger if it cant be seen
#define CROSSHAIR_DOT_1_OUT_SIZE_MULTI 2.0
// R, G, B, Alpha with a range of 0.0 to 1.0
#define IN_CROSSHAIR_DOT_1_COLOR float4( 1.0, 1.0, 1.0, 0.5)
#define OUT_CROSSHAIR_DOT_1_COLOR float4( 0.0, 0.0, 0.0, 0.5)
// Dynamic color - ignores color settings above (but uses alpha settings!!) and instead does roughly the inverse of whatever it's over.
#define IN_CROSSHAIR_DOT_1_DYNAMIC_COLOR 0
#define OUT_CROSSHAIR_DOT_1_DYNAMIC_COLOR 0


// Blizzie dot shape settings
// R, G, B, Alpha with a range of 0.0 to 1.0
#define CROSSHAIR_DOT_2_COLOR float4(1.0, 0.0, 0.0, 0.1)


// Chevron aspect ratio settings, leave this alone for a standard 90 degree spacing. Don't touch if you don't know what you're doing.
#define chevronaspectRatio SCREEN_SIZE_Y/SCREEN_SIZE_X

// Top chevron shape settings
#define CROSSHAIR_TOP_CHEVRON_THICKNESS .001
#define CROSSHAIR_TOP_CHEVRON_SIZE .01
#define CROSSHAIR_TOP_CHEVRON_GAP .003
// R, G, B, Alpha with a range of 0.0 to 1.0
#define CROSSHAIR_TOP_CHEVRON_COLOR float4(1.0, 0.0, 0.0, 0.5)
// Dynamic color - ignores color settings above (but uses alpha settings!!) and instead does roughly the inverse of whatever it's over.
#define CROSSHAIR_TOP_CHEVRON_DYNAMIC_COLOR 0


// Bottom chevron shape settings
#define CROSSHAIR_BOTTOM_CHEVRON_THICKNESS .001
#define CROSSHAIR_BOTTOM_CHEVRON_SIZE .01
#define CROSSHAIR_BOTTOM_CHEVRON_GAP .003
// R, G, B, Alpha with a range of 0.0 to 1.0
#define CROSSHAIR_BOTTOM_CHEVRON_COLOR float4(1.0, 0.0, 0.0, 0.5)
// Dynamic color - ignores color settings above (but uses alpha settings!!) and instead does roughly the inverse of whatever it's over.
#define CROSSHAIR_BOTTOM_CHEVRON_DYNAMIC_COLOR 0


// Circle shape settings - credit: Blizzie
#define CROSSHAIR_CIRCLE_RADIUS  .023
// R, G, B, Alpha with a range of 0.0 to 1.0
#define CROSSHAIR_CIRCLE_COLOR float4(1.0, 0.0, 0.0, 0.5)
// Dynamic color - ignores color settings above (but uses alpha settings!!) and instead does roughly the inverse of whatever it's over.
#define CROSSHAIR_CIRCLE_DYNAMIC_COLOR 0


// Cross shape settings - credit: Blizzie
#define CROSSHAIR_CROSS_SIZE .01
#define CROSSHAIR_CROSS_THICKNESS .000417
#define CROSSHAIR_CROSS_BORDER_THICKNESS .000417
#define CROSSHAIR_CROSS_GAP .005                          // Set this to 0.0 for no center gap
// R, G, B, Alpha with a range of 0.0 to 1.0
#define CROSSHAIR_CROSS_INNER_COLOR float4(1.0, 1.0, 1.0, 0.5)
#define CROSSHAIR_CROSS_BORDER_COLOR float4(0.0, 0.0, 0.0, 0.5)
// Dynamic color - ignores color settings above (but uses alpha settings!!) and instead does roughly the inverse of whatever it's over.
#define CROSSHAIR_CROSS_INNER_DYNAMIC_COLOR 0
#define CROSSHAIR_CROSS_BORDER_DYNAMIC_COLOR 0


// OPGL shape settings - credit: Inteoix
#define CROSSHAIR_OPGL_RADIUS 0.00575
#define CROSSHAIR_OPGL_WIDTH 0.0015
#define CROSSHAIR_OPGL_CUTOFF 0.65
// R, G, B, Alpha with a range of 0.0 to 1.0
#define CROSSHAIR_OPGL_COLOR float4(1.0, 1.0, 1.0, 0.75)
// Dynamic color - ignores color settings above (but uses alpha settings!!) and instead does roughly the inverse of whatever it's over.
#define CROSSHAIR_OPGL_DYNAMIC_COLOR 1


// Square shape settings
// These *should* be after aspect ratio correction, making them appear the same size.
#define CROSSHAIR_SQUARE_HEIGHT 0.01
#define CROSSHAIR_SQUARE_WIDTH 0.01
#define CROSSHAIR_SQUARE_THICKNESS 0.001
// SMALL values here, will create a gap in the center of each side
#define CROSSHAIR_SQUARE_HORIZ_GAP 0.005
#define CROSSHAIR_SQUARE_VERT_GAP 0.005
// R, G, B, Alpha with a range of 0.0 to 1.0
#define CROSSHAIR_SQUARE_COLOR float4(1.0, 1.0, 1.0, 0.75)
// Dynamic color - ignores color settings above (but uses alpha settings!!) and instead does roughly the inverse of whatever it's over.
#define CROSSHAIR_SQUARE_DYNAMIC_COLOR 0


// Diamond shape settings - credit: Kimiko
#define CROSSHAIR_DIAMOND_THICKNESS 0.001
#define CROSSHAIR_DIAMOND_OUTLINE_ENABLE 1
#define CROSSHAIR_DIAMOND_OUTLINE_THICKNESS 0.001
#define CROSSHAIR_DIAMOND_OUTLINE_INSIDE_THICKNESS 0.0
#define CROSSHAIR_DIAMOND_SIZE 0.01
#define CROSSHAIR_DIAMOND_ANGLE 1.0 // not yet implemented!
#define CROSSHAIR_DIAMOND_GAP 0.01 // currently buggy, set to same value as SIZE for best results
// R, G, B, Alpha with a range of 0.0 to 1.0
#define CROSSHAIR_DIAMOND_COLOR float4( 1.0, 0.0, 0.0, 0.75 )
#define CROSSHAIR_DIAMOND_OUTLINE_COLOR float4( 0.0, 0.0, 0.0, 1.0 )
// Dynamic color - ignores color settings above (but uses alpha settings!!) and instead does roughly the inverse of whatever it's over.
#define CROSSHAIR_DIAMOND_DYNAMIC_COLOR 0


//MAKE SURE THIS FILES EXIST!!!!
//THIS SETTING IS NOT USED.
#define CROSSHAIR_CUSTOM_1_NAME "CrosshairCustom1.usf"
#define CROSSHAIR_CUSTOM_2_NAME "CrosshairCustom2.usf"
#define CROSSHAIR_CUSTOM_3_NAME "CrosshairCustom3.usf"
#define CROSSHAIR_CUSTOM_4_NAME "CrosshairCustom4.usf"
#define CROSSHAIR_CUSTOM_5_NAME "CrosshairCustom5.usf"
}

另外想問下
如果唔係high quality 會點
作者: hcs999    時間: 13-1-4 08:03 PM

回覆 a26181314 的帖子

1: 我比你果個就係開左cross, 不過你可以較個 gap 你係想有gap 定係冇?

2: 唔開high quality bloom (NOT High Quality)就用唔到

仲有, 係crosshair(十字準線/準星)
作者: a26181314    時間: 13-1-4 08:40 PM

回覆 hcs999 的帖子

我想較無GAP  
個十字癡住
好似  *//upload.lyfhk.net/?pm=5SD2  圖右咁

*=http

thx a lot
作者: hcs999    時間: 13-1-4 09:33 PM

  1. /***************************************************************************************/
  2. /*! \file CrosshairSettings.usf
  3. *
  4. * Configuration options for modular crosshair
  5. *
  6. *
  7. * Owned by dreamss, some code stolen from tobii and spec
  8. *
  9. * variable crosshair size added by Kimiko
  10. * and pretty much every change after that ... DYNAMIC_COLOR, internal color options, and making it work on rtw/1.9.1 shaders
  11. * fuckshadercoding
  12. *
  13. * Thanks to Blizzie for the alternative crosshair shapes Dot 2, Circle, and Cross
  14. * Thanks to Inteoix for OPGL-shaped crosshairs and pointing out how to fix alpha
  15. *
  16. *
  17. * Usage:
  18. *   See below for what each setting does, and edit to your liking.
  19. *
  20. * DONT FORGET TO EDIT SCREEN_SIZE_X and SCREEN_SIZE_Y
  21. *
  22. * IF THE GAME CRASHES CROSSHAIR_SIZE IS WAY TOO BIG!
  23. ****************************************************************************************/

  24. {
  25. // 1 = enable
  26. #define ENABLE_CROSSHAIR 1
  27. #define ENABLE_CROSSHAIR_DOT_1 0
  28. #define ENABLE_CROSSHAIR_DOT_2 0
  29. #define ENABLE_CROSSHAIR_TOP_CHEVRON 0
  30. #define ENABLE_CROSSHAIR_BOTTOM_CHEVRON 0
  31. #define ENABLE_CROSSHAIR_CIRCLE 0
  32. #define ENABLE_CROSSHAIR_CROSS 1
  33. #define ENABLE_CROSSHAIR_OPGL 0
  34. #define ENABLE_CROSSHAIR_SQUARE 0
  35. #define ENABLE_CROSSHAIR_DIAMOND 0

  36. // User created crosshairs (not included). default filenames are CrosshairCustom1.usf CrosshairCustom2.usf CrosshairCustom3.usf CrosshairCustom4.usf CrosshairCustom5.usf
  37. #define ENABLE_CROSSHAIR_CUSTOM_1 0
  38. #define ENABLE_CROSSHAIR_CUSTOM_2 0
  39. #define ENABLE_CROSSHAIR_CUSTOM_3 0
  40. #define ENABLE_CROSSHAIR_CUSTOM_4 0
  41. #define ENABLE_CROSSHAIR_CUSTOM_5 0


  42. // Monitor resolution, INCLUDE THE .0 OR OTHER THINGS BREAK!!!
  43. #define SCREEN_SIZE_X 1024.0
  44. #define SCREEN_SIZE_Y 768.0


  45. // Limit the area at the center to check where to draw the crosshair. We dont want to run on every pixel do we?
  46. // Set it bigger if your crosshair gets cutoff
  47. // 0.0-100.0 where 100 means scan 100% of the screen
  48. #define CROSSHAIR_PIXEL_SCAN_LIMIT 8.0


  49. // Dot 1 shape settings
  50. #define CROSSHAIR_DOT_1_SIZE .8
  51. //thickness of the dot outline, make number bigger if it cant be seen
  52. #define CROSSHAIR_DOT_1_OUT_SIZE_MULTI 2.0
  53. // R, G, B, Alpha with a range of 0.0 to 1.0
  54. #define IN_CROSSHAIR_DOT_1_COLOR float4( 1.0, 1.0, 1.0, 0.5)
  55. #define OUT_CROSSHAIR_DOT_1_COLOR float4( 0.0, 0.0, 0.0, 0.5)
  56. // Dynamic color - ignores color settings above (but uses alpha settings!!) and instead does roughly the inverse of whatever it's over.
  57. #define IN_CROSSHAIR_DOT_1_DYNAMIC_COLOR 0
  58. #define OUT_CROSSHAIR_DOT_1_DYNAMIC_COLOR 0


  59. // Blizzie dot shape settings
  60. // R, G, B, Alpha with a range of 0.0 to 1.0
  61. #define CROSSHAIR_DOT_2_COLOR float4(1.0, 0.0, 0.0, 0.1)


  62. // Chevron aspect ratio settings, leave this alone for a standard 90 degree spacing. Don't touch if you don't know what you're doing.
  63. #define chevronaspectRatio SCREEN_SIZE_Y/SCREEN_SIZE_X

  64. // Top chevron shape settings
  65. #define CROSSHAIR_TOP_CHEVRON_THICKNESS .001
  66. #define CROSSHAIR_TOP_CHEVRON_SIZE .01
  67. #define CROSSHAIR_TOP_CHEVRON_GAP .003
  68. // R, G, B, Alpha with a range of 0.0 to 1.0
  69. #define CROSSHAIR_TOP_CHEVRON_COLOR float4(1.0, 0.0, 0.0, 0.5)
  70. // Dynamic color - ignores color settings above (but uses alpha settings!!) and instead does roughly the inverse of whatever it's over.
  71. #define CROSSHAIR_TOP_CHEVRON_DYNAMIC_COLOR 0


  72. // Bottom chevron shape settings
  73. #define CROSSHAIR_BOTTOM_CHEVRON_THICKNESS .001
  74. #define CROSSHAIR_BOTTOM_CHEVRON_SIZE .01
  75. #define CROSSHAIR_BOTTOM_CHEVRON_GAP .003
  76. // R, G, B, Alpha with a range of 0.0 to 1.0
  77. #define CROSSHAIR_BOTTOM_CHEVRON_COLOR float4(1.0, 0.0, 0.0, 0.5)
  78. // Dynamic color - ignores color settings above (but uses alpha settings!!) and instead does roughly the inverse of whatever it's over.
  79. #define CROSSHAIR_BOTTOM_CHEVRON_DYNAMIC_COLOR 0


  80. // Circle shape settings - credit: Blizzie
  81. #define CROSSHAIR_CIRCLE_RADIUS  .023
  82. // R, G, B, Alpha with a range of 0.0 to 1.0
  83. #define CROSSHAIR_CIRCLE_COLOR float4(1.0, 0.0, 0.0, 0.5)
  84. // Dynamic color - ignores color settings above (but uses alpha settings!!) and instead does roughly the inverse of whatever it's over.
  85. #define CROSSHAIR_CIRCLE_DYNAMIC_COLOR 0


  86. // Cross shape settings - credit: Blizzie
  87. #define CROSSHAIR_CROSS_SIZE .02
  88. #define CROSSHAIR_CROSS_THICKNESS .000417
  89. #define CROSSHAIR_CROSS_BORDER_THICKNESS .000417
  90. #define CROSSHAIR_CROSS_GAP .000                          // Set this to 0.0 for no center gap
  91. // R, G, B, Alpha with a range of 0.0 to 1.0
  92. #define CROSSHAIR_CROSS_INNER_COLOR float4(1.0, 1.0, 1.0, 0.5)
  93. #define CROSSHAIR_CROSS_BORDER_COLOR float4(1.0, 1.0, 1.0, 0.5)
  94. // Dynamic color - ignores color settings above (but uses alpha settings!!) and instead does roughly the inverse of whatever it's over.
  95. #define CROSSHAIR_CROSS_INNER_DYNAMIC_COLOR 0
  96. #define CROSSHAIR_CROSS_BORDER_DYNAMIC_COLOR 0


  97. // OPGL shape settings - credit: Inteoix
  98. #define CROSSHAIR_OPGL_RADIUS 0.00575
  99. #define CROSSHAIR_OPGL_WIDTH 0.0015
  100. #define CROSSHAIR_OPGL_CUTOFF 0.65
  101. // R, G, B, Alpha with a range of 0.0 to 1.0
  102. #define CROSSHAIR_OPGL_COLOR float4(1.0, 1.0, 1.0, 0.75)
  103. // Dynamic color - ignores color settings above (but uses alpha settings!!) and instead does roughly the inverse of whatever it's over.
  104. #define CROSSHAIR_OPGL_DYNAMIC_COLOR 1


  105. // Square shape settings
  106. // These *should* be after aspect ratio correction, making them appear the same size.
  107. #define CROSSHAIR_SQUARE_HEIGHT 0.01
  108. #define CROSSHAIR_SQUARE_WIDTH 0.01
  109. #define CROSSHAIR_SQUARE_THICKNESS 0.001
  110. // SMALL values here, will create a gap in the center of each side
  111. #define CROSSHAIR_SQUARE_HORIZ_GAP 0.005
  112. #define CROSSHAIR_SQUARE_VERT_GAP 0.005
  113. // R, G, B, Alpha with a range of 0.0 to 1.0
  114. #define CROSSHAIR_SQUARE_COLOR float4(1.0, 1.0, 1.0, 0.75)
  115. // Dynamic color - ignores color settings above (but uses alpha settings!!) and instead does roughly the inverse of whatever it's over.
  116. #define CROSSHAIR_SQUARE_DYNAMIC_COLOR 0


  117. // Diamond shape settings - credit: Kimiko
  118. #define CROSSHAIR_DIAMOND_THICKNESS 0.001
  119. #define CROSSHAIR_DIAMOND_OUTLINE_ENABLE 1
  120. #define CROSSHAIR_DIAMOND_OUTLINE_THICKNESS 0.001
  121. #define CROSSHAIR_DIAMOND_OUTLINE_INSIDE_THICKNESS 0.0
  122. #define CROSSHAIR_DIAMOND_SIZE 0.01
  123. #define CROSSHAIR_DIAMOND_ANGLE 1.0 // not yet implemented!
  124. #define CROSSHAIR_DIAMOND_GAP 0.01 // currently buggy, set to same value as SIZE for best results
  125. // R, G, B, Alpha with a range of 0.0 to 1.0
  126. #define CROSSHAIR_DIAMOND_COLOR float4( 1.0, 0.0, 0.0, 0.75 )
  127. #define CROSSHAIR_DIAMOND_OUTLINE_COLOR float4( 0.0, 0.0, 0.0, 1.0 )
  128. // Dynamic color - ignores color settings above (but uses alpha settings!!) and instead does roughly the inverse of whatever it's over.
  129. #define CROSSHAIR_DIAMOND_DYNAMIC_COLOR 0


  130. //MAKE SURE THIS FILES EXIST!!!!
  131. //THIS SETTING IS NOT USED.
  132. #define CROSSHAIR_CUSTOM_1_NAME "CrosshairCustom1.usf"
  133. #define CROSSHAIR_CUSTOM_2_NAME "CrosshairCustom2.usf"
  134. #define CROSSHAIR_CUSTOM_3_NAME "CrosshairCustom3.usf"
  135. #define CROSSHAIR_CUSTOM_4_NAME "CrosshairCustom4.usf"
  136. #define CROSSHAIR_CUSTOM_5_NAME "CrosshairCustom5.usf"
  137. }
複製代碼

作者: a26181314    時間: 13-1-4 09:53 PM

回覆 hcs999 的帖子

編碼同我果個一樣  
我個CrossHair 係想咁整:
                w
                w
                w
wwwwwwwwwwwwwww
                w
                w
                w

依家係咁:
          w
     w       w
          w                           

係咪要係個SIZE到整?
作者: hcs999    時間: 13-1-5 10:41 AM

回覆 a26181314 的帖子

我上面個post 已經係冇gap
  1. #define CROSSHAIR_CROSS_GAP .000
複製代碼

作者: hcs999    時間: 13-1-5 10:49 AM

本帖最後由 hcs999 於 13-1-5 10:50 AM 編輯

教你用...


// Cross shape settings - credit: Blizzie
#define CROSSHAIR_CROSS_SIZE .02 <Cross的大小>
#define CROSSHAIR_CROSS_THICKNESS .000417 <厚度>
#define CROSSHAIR_CROSS_BORDER_THICKNESS .000417 <邊界厚度>
#define CROSSHAIR_CROSS_GAP .000                          // Set this to 0.0 for no center gap  <gap大小, .000=冇gap>
// R, G, B, Alpha with a range of 0.0 to 1.0 (顏色, 要用0-1 RGB colors)
#define CROSSHAIR_CROSS_INNER_COLOR float4(1.0, 1.0, 1.0, 0.5)
#define CROSSHAIR_CROSS_BORDER_COLOR float4(1.0, 1.0, 1.0, 0.5)
// Dynamic color - ignores color settings above (but uses alpha settings!!) and instead does roughly the inverse of whatever it's over. (另一個color code, 不過我唔識, 唔可以同上面果個共用)
#define CROSSHAIR_CROSS_INNER_DYNAMIC_COLOR 0
#define CROSSHAIR_CROSS_BORDER_DYNAMIC_COLOR 0
作者: a26181314    時間: 13-1-5 12:31 PM

回覆 hcs999 的帖子

我依家整到我想要果隻啦  THX

我想問下你係唔係玩左好耐?
見你識好多野

我係HAN到都玩左兩三果月
但係好少見到你玩
係唔係主要係晚上玩?
有機會同你一齊玩
作者: hcs999    時間: 13-1-6 06:50 PM

回覆 a26181314 的帖子

玩左一年, at least 700個鐘
我日日上youtube, official forum, 所以比你地知多好多野
我係hcs(Crim) 同 xXhcsXx(Enf) 同FallingAngel(Colby Enf, 只玩Fight Club)
其實我都唔常玩, 玩都玩得唔耐
我玩得唔勁, 但係都ok




歡迎光臨 2000FUN論壇 (https://www.2000fun.com/) Powered by Discuz! X1.5.1