UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

FOV slider in game options

broken avatar :(
Created 9 years ago
by Koan
0 Members and 1 Guest are viewing this topic.
8,692 views
broken avatar :(
×
broken avatar :(
Location: kp
Date Registered: 29 July 2015
Last active: 5 years ago
Posts
435
Respect
Forum Rank
Perk Hacker
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
Personal Quote
children should not be playing call of duty
Signature
⠀⠀⠀⣴⣴⡤
⠀⣠⠀⢿⠇⡇⠀⠀⠀⠀⠀⠀⠀⢰⢷⡗
⠀⢶⢽⠿⣗⠀⠀⠀⠀⠀⠀⠀⠀⣼⡧⠂⠀⠀⣼⣷⡆
⠀⠀⣾⢶⠐⣱⠀⠀⠀⠀⠀⣤⣜⣻⣧⣲⣦⠤⣧⣿⠶
⠀⢀⣿⣿⣇⠀⠀⠀⠀⠀⠀⠛⠿⣿⣿⣷⣤⣄⡹⣿⣷
⠀⢸⣿⢸⣿⠀⠀⠀⠀⠀⠀⠀⠀⠈⠙⢿⣿⣿⣿⣿⣿
⠀⠿⠃⠈⠿⠆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠹⠿⠿⠿

⠀⢀⢀⡀⠀⢀⣤⠀⠀⠀⠀⠀⠀⠀⡀⡀
⠀⣿⡟⡇⠀⠭⡋⠅⠀⠀⠀⠀⠀⢰⣟⢿
⠀⣹⡌⠀⠀⣨⣾⣷⣄⠀⠀⠀⠀⢈⠔⠌
⠰⣷⣿⡀⢐⢿⣿⣿⢻⠀⠀⠀⢠⣿⡿⡤⣴⠄⢀⣀⡀
⠘⣿⣿⠂⠈⢸⣿⣿⣸⠀⠀⠀⢘⣿⣿⣀⡠⣠⣺⣿⣷
⠀⣿⣿⡆⠀⢸⣿⣿⣾⡇⠀⣿⣿⣿⣿⣿⣗⣻⡻⠿⠁
⠀⣿⣿⡇⠀⢸⣿⣿⡇⠀⠀⠉⠉⠉⠉⠉⠉⠁
×
Koan's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Oil Rig Beta Access
Oil Rig Beta Access
Koan's Contact & Social Linksh-r_Koan_my website
This allows the player to change their FOV without using the console.

Didn't really take long to figure out. You can learn a little bit by reading the stock menu files.







Step 1:
Once your map is compiled, go to Root\raw\ui, find "options_game_pc.menu", and open it in your preferred text editor.

Step 2:
Go to the bottom of the file. Find this:
Code Snippet
Plaintext
		CHOICE_DDVARALTTEXT_VIS( 25, "@MENU_MATURE", "@MENU_MATURE_REDUCED", when( ( !dvarBool(cg_allow_mature) || INGAME ) && dvarString( "cg_mature" ) == "0" && !dvarBool(ui_multiplayer) ) )

Insert this underneath
Code Snippet
Plaintext
		CHOICE_DVARSLIDER( 26, "Field of View", cg_fov, <initial value>, <minimum value>, <maximum value>, ; )

so that it looks something like this:


  • Initial value by default is 65. Change if you want, but I recommend leaving it at 65.
  • Minimum value and maximum value are the minimum and maximum values the player can user. (Duh.) I use 65 and 90. The game can use anything between 1 and 160, but use your common sense.

Save your file. I recommend naming it something like "options_game_pc_MAPNAME.menu" or something, but it's not essential. I'll name mine "options_game_pc_fovtut.menu".

Step 3:
Go into the Launcher and type this into the Fastfile mod.csv:
Code Snippet
Plaintext
menufile,ui/options_game_pc_MAPNAME.menu

Mine looks like this:

Then build mod as usual. Make sure "mod.csv" is selected in the IWD File List.

Step 4:
Test your map.  :)  The images at the top of this post are what it looks like with the settings I used above (65, 65, 90).

Note: If you've disabled the console in your map, for example via the UGX script placer, make sure your new file doesn't overwrite the script placed by UGX. You probably shouldn't have any problems with it.
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 21 July 2015
Last active: 8 years ago
Posts
18
Respect
Forum Rank
Legless Crawler
Primary Group
Member
Personal Quote
I Gona Stl ur Gril M8
Signature
Mr.StealYourGrill Out!
                                 (with your grill)
×
MrStealYourGrill's Contact & Social Links
good script but don't tell people to mess with their raw, make a ui folder in your maps folder, then mess with stuff in there. otherwise you might have to reinstall your mod tools if you screw up.
broken avatar :(
×
broken avatar :(
OnionmanVere Bo21
Location: ieu dnt wnt 2 no
Date Registered: 27 September 2013
Last active: 1 year ago
Posts
1,864
Respect
Forum Rank
Zombie Destroyer
Primary Group
Community Mapper
My Groups
More
Personal Quote
ok
Signature
Aye mate you don't know me so y don't you shut tf up ok buddy :)

×
Scobalula's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Box Mappers Elite
Box Mappers Elite
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Scobalula's Contact & Social Links
http://ugx-mods.com/forum/index.php/topic,6870.0.html ???

Also wrong section, this is for if you have a download for someone. :)

good script but don't tell people to mess with their raw, make a ui folder in your maps folder, then mess with stuff in there. otherwise you might have to reinstall your mod tools if you screw up.

I have tried this, and couldn't get it to work, and reinstall mod tools? I think not, just extract the .menu file from the RAR download from the mod tools, fixed. :) And there's very little that can go wrong here. :P
broken avatar :(
×
broken avatar :(
[UGX] Documentation Writer & Programmer
Location: usLos Angeles, CA
Date Registered: 23 August 2013
Last active: 6 months ago
Posts
1,322
Respect
Forum Rank
Zombie Colossus
Primary Group
UGX Team Member
My Groups
More
My Contact & Social Links
More
Personal Quote
(ง º ω º )ง u wont sum m8y?
Signature
Do not take life too seriously. You will never get out of it alive.
×
DidUknowiPwn's Groups
UGX Team Member
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Scripter Elite Has shown excellence and experience in the area of custom scripting in the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
Copy the ui to your mods folder and rename it like mod_hud then in csv menufile,ui\mod_hud.menu
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 21 July 2015
Last active: 8 years ago
Posts
18
Respect
Forum Rank
Legless Crawler
Primary Group
Member
Personal Quote
I Gona Stl ur Gril M8
×
MrStealYourGrill's Contact & Social Links
Sorry Scobalula, Still New to scripting :-\ Just been told by alot of people never to touch Raw files without extracting them to mods folder.
broken avatar :(
×
broken avatar :(
Location: kp
Date Registered: 29 July 2015
Last active: 5 years ago
Posts
435
Respect
Forum Rank
Perk Hacker
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
Personal Quote
children should not be playing call of duty
×
Koan's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Oil Rig Beta Access
Oil Rig Beta Access
Koan's Contact & Social Linksh-r_Koan_my website
http://ugx-mods.com/forum/index.php/topic,6870.0.html ???

Also wrong section, this is for if you have a download for someone.

I had no idea that existed! I tried using the search to see if one had been made already but it came up with nothing... Sorry :P

This was my first post, I realised it was in the wrong section as I posted it.
broken avatar :(
×
broken avatar :(
The Voice in your Eyes
Location: deBavaria
Date Registered: 26 June 2013
Last active: 2 years ago
Posts
830
Respect
Forum Rank
The Decider
Primary Group
Community Mapper
My Groups
More
My Contact & Social Links
More
Personal Quote
Breton boys do what Breton boys do.
×
Alerion's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
I moved it to the tutorial-section.
Should have done that before approving it, but well.. ::)
broken avatar :(
×
broken avatar :(
Location: gb
Date Registered: 22 September 2014
Last active: 4 years ago
Posts
360
Respect
Forum Rank
Perk Hacker
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
Personal Quote
Here to make epic maps
×
pcmodder's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
pcmodder's Contact & Social Linkspcmodderugxken5hir0
It would be better for this option to be standard in all maps.
broken avatar :(
×
broken avatar :(
JbirdHaX
Location: se
Date Registered: 12 March 2012
Last active: 11 months ago
Posts
1,043
Respect
Forum Rank
Zombie Colossus
Primary Group
Community Mapper Elite
My Groups
More
My Contact & Social Links
More
Personal Quote
(_̅(_̅м̅a̅я̅i̅j̅u̅a̅n̅a̅_̅0 ด้้้้้็็็็็้้้้้็็็็็้
Signature
▒█▀▄▀█ ░█▀▀█ ▒█▀▀█ ▒█▀▀█ ▒█▀▀▀ ▒█▀▀█  ▒█▀▀▀ ▒█░░ ▀█▀ ▀▀█▀▀ ▒█▀▀▀
▒█▒█▒█ ▒█▄▄█ ▒█▄▄█ ▒█▄▄█ ▒█▀▀▀ ▒█▄▄▀  ▒█▀▀▀ ▒█░░ ▒█░ ░▒█░░ ▒█▀▀▀
▒█░░▒█ ▒█░▒█ ▒█░░░ ▒█░░░ ▒█▄▄▄ ▒█░▒█  ▒█▄▄▄ ▒█▄▄ ▄█▄ ░▒█░░ ▒█▄▄▄
×
RadimaX's Groups
Community Mapper Elite Has shown excellence and experience in the area of custom mapping in the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
Koan scripter elite confirmed :D nice job
broken avatar :(
×
broken avatar :(
OnionmanVere Bo21
Location: ieu dnt wnt 2 no
Date Registered: 27 September 2013
Last active: 1 year ago
Posts
1,864
Respect
Forum Rank
Zombie Destroyer
Primary Group
Community Mapper
My Groups
More
Personal Quote
ok
×
Scobalula's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Box Mappers Elite
Box Mappers Elite
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Scobalula's Contact & Social Links
Koan scripter elite confirmed :D nice job

broken avatar :(
×
broken avatar :(
Location: fi
Date Registered: 22 November 2014
Last active: 8 years ago
Posts
10
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
Herneinen's Groups
Herneinen's Contact & Social Links
It only says WARNING: menu file not found: ui/options_game_pc_.menu to me on the console and i have done everything you said.
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 14 September 2013
Last active: 4 years ago
Posts
1,895
Respect
Forum Rank
Zombie Destroyer
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
BE ORIGINAL
Signature
×
MakeCents's Groups
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
It only says WARNING: menu file not found: ui/options_game_pc_.menu to me on the console and i have done everything you said.

If you are using it in your mods folder then build your mod twice to make sure, after reconfirming everything of course. Personally I keep things in raw/ui, and just rename the files due to this annoying issue.

Edit: actually, what did you put in your mod.csv? Looks like you didn't put the menu file name in? And what did you rename that menu?
Last Edit: December 14, 2015, 04:42:12 pm by MakeCents
broken avatar :(
×
broken avatar :(
Location: fi
Date Registered: 22 November 2014
Last active: 8 years ago
Posts
10
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
Herneinen's Groups
Herneinen's Contact & Social Links
If you are using it in your mods folder then build your mod twice to make sure, after reconfirming everything of course. Personally I keep things in raw/ui, and just rename the files due to this annoying issue.

Edit: actually, what did you put in your mod.csv? Looks like you didn't put the menu file name in? And what did you rename that menu?
If you are using it in your mods folder then build your mod twice to make sure, after reconfirming everything of course. Personally I keep things in raw/ui, and just rename the files due to this annoying issue.

Edit: actually, what did you put in your mod.csv? Looks like you didn't put the menu file name in? And what did you rename that menu?

Well this is what my mod.csv looks like http://imgur.com/ZlVNGa3 and it still says can't find it..

 
Loading ...