Jump to content

script effectiveness 2 different scipts same effect?


aputamkon

Recommended Posts

im trying to figure out which of the 2 scripts below are more effective? are they both the same as in resource useage? will one of them slow down my FPS?

 

; ==== Chameleon status

; Display the chameleon percentage, hidden if 0

set tnoHSB.hud_val to sv_Construct "GetAV Chameleon"

set tnoHSB.hud_max to sv_Construct "100" ; 100 is max for all resists

set tnoHSB.hud_type to HUDbarEffectIcon ; Display the effect icon

set tnoHSB.hud_spell_effect to sv_Construct "CHML" ; Effect code for Chameleon

set tnoHSB.hud_textColor to sv_Construct "HudColorWhite" ; Use yellow grey for text

set tnoHSB.hud_textDisplay to HUDtxtPercent ; Display as percent of max

set tnoHSB.hud_y to 35

set tnoHSB.hud_x to 95

set tnoHSB.hud_size to 60

set tnoHSB.hud_updateInterval to 5

set tnoHSB.hud_alpha to 225

SetStage tnoHSB 10 ;

 

or this===================================================================================================

 

;Chameleon

set tnoHSB.hud_color to sv_Construct "HudColorGrey"

set tnoHSB.hud_val to sv_Construct "Player.getactorvalue chameleon"

set tnoHSB.hud_max to sv_Construct "100"

set tnoHSB.hud_min to sv_Construct "0"

 

set tnoHSB.hud_x to HUDdefault

set tnoHSB.hud_y to HUDprevBarBelow

set tnoHSB.hud_custom to sv_Construct "Misc\chameleon"

set tnoHSB.hud_custom_h to 64

set tnoHSB.hud_custom_w to 64

set tnoHSB.hud_custom_color to HUDcolorSpecial

set tnoHSB.hud_type to 1

 

set tnoHSB.hud_size to 40

set tnoHSB.hud_name to sv_Construct " "

set tnoHSB.hud_textColor to sv_Construct "tnoHSB.color"

set tnoHSB.hud_textDisplay to HUDtxtPercent

set tnoHSB.hud_textPos_x to HUDtxtRight

set tnoHSB.hud_textPos_y to HUDtxtCenter

set tnoHSB.hud_textSize to 10

set tnoHSB.hud_textAdjust_y to 4

setStage tnoHSB 10

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...