DieHard Wolfers Forum Index DieHard Wolfers
A Wolfenstein 3d Fan Community


  Hosted by: MCS & Areyep.com - Designed by: BrotherTank

Original Yahoo Forum - Die Hard Archives

AReyeP HomepageAreyep Homepage DieHard Wolfenstein BunkerDieHard Wolfenstein Bunker Log inLog in RegisterRegister Banlist FAQFAQ Search ForumsSearch

  Username:    Password:      Remember me       

[Code] Fullscreen display with Statusbar (HUD)-Dugtrio17
Page 1 of 1
DieHard Wolfers Forum Index -> Code Tutorials View Previous TopicRefresh this PageAdd Topic to your Browser FavoritesSearch ForumsPrint this TopicE-mail TopicGoto Page BottomView Next Topic
Post new topicReply to topic
Author Message
Dugtrio17
Code Master
Code Master


Joined: 11 Mar 2003
Last Visit: 03 Oct 2013

Topics: 49
Posts: 901
Location: Seattle
usa.gif

PostPosted: Thu May 22, 2003 1:35 pm
   Subject: [Code] Fullscreen display with Statusbar (HUD)-Dugtrio17
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Next PostGoto Bottom of Posts

As the topic implies, this is a way to be able to increase the screen size so far as to eliminate the border. very simple, really; most people who can code at all probably already know how to do this (or could very easily figure it out looking at the CP_ChangeView function)

But some newbie coders out there might not know how to do it (even though they might want to).

So here goes: Open "wl_menu.c" and go to the CP_ChangeView function. Look for the lines below.... They should be:

::: CODE :::
      if (newview>19)
        newview=19;


(should be around lines 2768 and 2769. If not, then scan up and down til you find them, then change the 19's to 20's.

::: CODE :::
      if (newview>20)
        newview=20;


toldja it was simple Smile

Dugtrio17

_________________
Chris
DieHard Wolfer
DieHard Wolfer


Joined: 11 Mar 2003
Last Visit: 22 Aug 2019

Topics: 56
Posts: 2236
Location: Canada
blank.gif

PostPosted: Thu May 22, 2003 1:54 pm
   Subject: compile a 492k file or change one that's 0.5k
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Next PostGoto Bottom of Posts

Yeah, or you can just change the 4th last byte in the config.wl6 file to 14 (20 in decimal). It's funny how the walls on the outer width display as gray lines sometimes. Smile

heheh... gotta love hex editing...

EDIT: I was just looking through the source, and noticed that you can easily make the game full screen too. In SetViewSize() of Wl_Main.C just change the values to: viewwidth = 320, viewheight = 200, screenofs = 0 (of course, adding some 'if statements' for it's option and in WL_Agent.c for the status bar purposes could help make it even better - but I'll let you set your own preferences) ...
jamez
I am Death Incarnate
I am Death Incarnate


Joined: 16 Mar 2003
Last Visit: 17 Jan 2019

Topics: 13
Posts: 186
Location: Yorkshire, UK
uk.gif

PostPosted: Wed May 28, 2003 4:08 pm
   Subject: Re: fullscreen display with hud
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Bottom of Posts

Hey,

I was just thinking, in WolfTest and rippers tutorial for full screen, you can press tab and get a status bar with out th eborder colour... so surly you can make transparent colours to work... do you think it could be possible to just have ful screen and say a picture of say Bj's Face, health next to it, picture of bullets/medi kit etc with data, a bit like Quake??? If anyone knows what im going on about and think they can do it, can you e-mail me :p

_________________
~ James
Display posts from previous:   
Post new topicReply to topic Time synchronized with the forum server time
DieHard Wolfers Forum Index -> Code Tutorials View Previous TopicRefresh this PageAdd Topic to your Browser FavoritesSearch ForumsPrint this TopicE-mail TopicGoto Page TopView Next Topic
Page 1 of 1
Jump to:  

Related topics
 Topics   Replies   Views   Last Post 
No new posts [Code] Add Text to Screen at Skill Level select - Chris
Author: Chris
3 3700 Tue Sep 28, 2010 6:59 pm
Tricob View latest post
No new posts [Code] Display Different Ammo Types on Statusbar-BrotherTank
Author: BrotherTank
1 3314 Fri Feb 11, 2005 9:18 pm
Zombie_Plan View latest post
No new posts [Code] Adding a Frames per Second Counter - Darkone
Author: BrotherTank
0 2446 Sat Mar 13, 2004 2:07 pm
BrotherTank View latest post
No new posts [Code] Changing an Enemies Attack Strength - BrotherTank
Author: BrotherTank
0 2738 Tue Jan 27, 2004 10:29 am
BrotherTank View latest post
No new posts [Code] Changing Weapons -CheckWeaponChange- BrotherTank
Author: BrotherTank
2 3660 Sun Oct 26, 2003 1:21 am
Guest View latest post
 
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


Copyright ©2003-2008 DieHard Wolfers
A Modified subBunker Theme by BrotherTank
Powered by phpBB © 2001, 2005 phpBB Group