PCS Game Hosting
 
  Forum Index    Search    Usergroups    Edit your profile    Members    Arcade    Ranks

 Reputation    Medals    Staff    Statistics    Board Rules    Forum FAQ    Private MessagesLogin, Check Messages    Log in 

Search for at
Soldier Of Fortune 2 Advanced Search



Post new topicReply to topicprinter-friendly viewThank Post
   Soldier Of Fortune 2 Forum Index » SOF2 Tutorials » 1 Image Scope
 View previous topic :: View next topic  
Author Message
Punisher
Administrator
Administrator


In Game: The Punisher
Gender: Gender:Male
Joined: May 04, 2012
Last Visit: Nov 01, 2019
Age: 22
Posts: 740

Netherlands.png 
Reputation: 4027
votes: 3
Medals: 2 (View more...)
Dedication (Amount: 1)

Status: Offline
PostPosted: Thu Feb 19, 2015 3:53 pm
PostPost subject: No icon 1 Image Scope
Reply with quote

Hi Guys,

I was looking through the forum the see if there might be some usefull things.
After a while i found the 1 image scope from last year.
Be aware that its for rocmod 2.1c.

You can find this script in the UI folder -> rochud file.
Search fo Scope and you'll find it near line 223.
Thanks to Floo.

Code:


// Sniper scope
menuDef
{
name "sniperscope"
fullScreen 0
visible 1
rect 0 0 640 480

itemDef
{
name window
style WINDOW_STYLE_FILLED
rect 0 0 320 240  //there the first number is X position, second is Y position, the last 2 numbers are how large and how high is the image....disabled
                       rect            70 9 500 475 //new position....full image....floo
background "gfx/menus/hud/scope/background/background"
backcolor 1 1 1 1
visible 1
decoration

ownerdrawflag CG_SHOW_HUD_SNIPERSCOPE

this part is in 4 parts to complete the image of the scope

i modificated this part to make more simple with 1 image

// Sniper scope
menuDef
{
name "sniperscope"
fullScreen 0
visible 1
rect 0 0 640 480

itemDef
{
name window
style WINDOW_STYLE_FILLED
//rect 0 0 320 240
                       rect            70 9 500 475 //floo, other position
background "gfx/menus/hud/scope/background/background"
backcolor 1 1 1 1
visible 1
decoration

ownerdrawflag CG_SHOW_HUD_SNIPERSCOPE
}
/*   why?...DISABLED .... from here
itemDef
{
name window
style WINDOW_STYLE_FILLED
rect 640 0 -320 240
background "gfx/menus/hud/scope/background/background"
backcolor 1 1 1 1
visible 1
decoration

ownerdrawflag CG_SHOW_HUD_SNIPERSCOPE
}

itemDef
{
name window
style WINDOW_STYLE_FILLED
rect 0 480 320 -240
background "gfx/menus/hud/scope/background/background"
backcolor 1 1 1 1
visible 1
decoration

ownerdrawflag CG_SHOW_HUD_SNIPERSCOPE
}

itemDef
{
name window
style WINDOW_STYLE_FILLED
rect 640 480 -320 -240
background "gfx/menus/hud/scope/background/background"
backcolor 1 1 1 1
visible 1
decoration

ownerdrawflag CG_SHOW_HUD_SNIPERSCOPE
}

itemDef
{
name window
style WINDOW_STYLE_FILLED
rect 88 238 247 16
background "gfx/menus/hud/scope/reticle/reticle"
backcolor 1 1 1 1
visible 1
decoration

ownerdrawflag CG_SHOW_HUD_SNIPERSCOPE
}

itemDef
{
name window
style WINDOW_STYLE_FILLED
rect 552 238 -247 16
background "gfx/menus/hud/scope/reticle/reticle"
backcolor 1 1 1 1
visible 1
decoration

ownerdrawflag CG_SHOW_HUD_SNIPERSCOPE
}

itemDef
{
name window
style WINDOW_STYLE_FILLED
rect 308 9 16 247
background "gfx/menus/hud/scope/reticle/reticle2"
backcolor 1 1 1 1
visible 1
decoration

ownerdrawflag CG_SHOW_HUD_SNIPERSCOPE
}

itemDef
{
name window
style WINDOW_STYLE_FILLED
rect 308 471 16 -247
background "gfx/menus/hud/scope/reticle/reticle2"
backcolor 1 1 1 1
visible 1
decoration

ownerdrawflag CG_SHOW_HUD_SNIPERSCOPE
}


Website: House of Pain Server - Website
Serverlist: House of Pain Server - Serverlist

<a><img></a>

<a><img></a>
Back to top
View user's profile Send private message
Sponsor
Display posts from previous:
Post new topicReply to topic printer-friendly viewThank Post
Soldier Of Fortune 2 Forum Index »  SOF2 Tutorials
 
Page 1 of 1
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Related topics
 Topics   Replies   Author   Views   Last Post 
No new posts Hi guys 12 Rockertjen 7025 Wed Dec 18, 2013 9:47 am
Punisher View latest post
No new posts Hey guys if anyone remembers playing with me hit me up 1 playdoh 3161 Thu Dec 05, 2013 9:07 am
Teo View latest post
No new posts Sup guys!!! 5 VenOm 5529 Thu Sep 12, 2013 12:01 pm
Hoffers View latest post
No new posts have a good week end guys....dont drink and drive.. 1 LilJoe 2900 Thu Aug 29, 2013 10:58 pm
Teo View latest post
No new posts hello guys! 1 crusher 2948 Sun May 26, 2013 8:25 pm
Teo View latest post
 




Back to Top

SOF2.ORG Multiplayer Community © 2019 All times are UTC + 2 Hours [DST enabled]
 

Copyright ©