I started doing a little project recently. Basicly it is a 12 second opening video that uses cameras, ThingSound, and a crap load of textures which are all controled by acs.
I then went a step further and used fraggle script to adjust the gamma, and to set the crosshair to 0. All my settings reverted back to normal when I went to the next level. Which is what I hoped for, cuz I didn't want to piss off other people by forcing these settings on to them.
I then decided to try and use fraggle to shut off the hud by use of the sizeup command. Needless to say, it didn't work. I do not know if this is intentional, in order to limit any damage poor use of fraggle script could do. Or if I was just doing it wrong.
I tried like this first
[spoiler][level info]
levelname = The Abyss
creator = Lumpy
[Scripts]
include("things.h");
script 1
{
runcommand("crosshair 0");
runcommand("gamma 1.5");
runcommand("r_visibility 0");
runcommand("sizeup");
runcommand("sizeup");
runcommand("sizeup");
runcommand("sizeup");
runcommand("sizeup");
runcommand("sizeup");
runcommand("sizeup");
runcommand("sizeup");
}[/spoiler]
I put sizeup in there 8 times that way no matter what size the hud was set at I was sure it would of been taken away totally.
Then when I saw that didn't work I thought to my self "sizeup doesn't have a value behind it like the others do". So I tried it like this.
[spoiler][level info]
levelname = The Abyss
creator = Lumpy
consolecmd = sizeup
[Scripts]
include("things.h");
script 1
{
runcommand("crosshair 0");
runcommand("gamma 1.5");
runcommand("r_visibility 0");
}[/spoiler]
I only used it once there just to see if it would work. But that also doesn't work.
I then tried looking in the ZDoom wiki, and in my INI file to see if there is anything like a hud_size cvar that I could set in my fraggle script. I couldn't find anything that came close.
Which I find strange cuz how does GZDoom/ZDoom remember what size the hud is. I mean there is either no hud at all, all the way down to a tiny view window surrounded by the green brick texture.
Basically while this video is playing I want the end viewer/user to be totally oblivious that he is in a level.
SO......
Is there any way that such a cvar could be added?
And could that cvar be changable in fraggle script?
Also if there is another way of doing it (besides printing a message to tell the user to do it himself) I will be glad to hear them.
Fraggle Script, and the Hud?
Moderator: Graf Zahl
- Lumpy
- Posts: 20
- Joined: Fri Sep 02, 2005 4:54
- Location: PA, USA
- Contact:
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
- Lumpy
- Posts: 20
- Joined: Fri Sep 02, 2005 4:54
- Location: PA, USA
- Contact:
Ok so does anybody know of another way of accomplishing this.
I seen that there is a mapinfo option called NoInventoryBar, but that only hides......well the inventory bar. I might end up using that option cuz I am planning to add inventory items.
Also is there a list somewhere of the different Legacy fraggle script commands, and console commands that GZDoom supports.
Upon further testing I have noticed that runcommand("crosshair 0") was thw only one working. I didn't notice the others cuz the are not to far off from how my settings normally are.
I seen that there is a mapinfo option called NoInventoryBar, but that only hides......well the inventory bar. I might end up using that option cuz I am planning to add inventory items.
Also is there a list somewhere of the different Legacy fraggle script commands, and console commands that GZDoom supports.
Upon further testing I have noticed that runcommand("crosshair 0") was thw only one working. I didn't notice the others cuz the are not to far off from how my settings normally are.
- Risen
- Posts: 39
- Joined: Fri Sep 02, 2005 17:48
- Contact:
- Lumpy
- Posts: 20
- Joined: Fri Sep 02, 2005 4:54
- Location: PA, USA
- Contact:
Actually no I can't. This video will happen at the begining of an episode. But I am going to make one for a title map also. So that one will not have this problem. But the one in question, and about 5 more will.
Is there was a way to cover the hud, and/or althud with a transparent texture to hide the hud but still see threw it to the video?
Is there was a way to cover the hud, and/or althud with a transparent texture to hide the hud but still see threw it to the video?
- Lumpy
- Posts: 20
- Joined: Fri Sep 02, 2005 4:54
- Location: PA, USA
- Contact:
OK I got my problem solved using SetFont, SetHudSize, and HudMessage. Even though it is a long winded solution it does have some slight benefits. The pictures are display as bright as they should be, and not as bright as the sector. And there seems to be a more fluid movement to it all. But I foresee a problem.
This one is in the begining of a level so I have it in an open script. Which I hope will end up displaying it to all the players. But the others will not be. So how would I go about making them display to every player?
[Edit] Nevermind HudMessageBold is my friend[/Edit]
This one is in the begining of a level so I have it in an open script. Which I hope will end up displaying it to all the players. But the others will not be. So how would I go about making them display to every player?
[Edit] Nevermind HudMessageBold is my friend[/Edit]