player.viewbop for custom PlayerPawn

Moderator: GZDoom Developers

User avatar
Tormentor667
Posts: 13554
Joined: Wed Jul 16, 2003 3:52 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia (Modern GZDoom)
Location: Germany
Contact:

player.viewbop for custom PlayerPawn

Post by Tormentor667 »

Is there a way to add something like a "player.viewbop" to a custom player?
User avatar
Enjay
 
 
Posts: 26993
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: player.viewbop for custom PlayerPawn

Post by Enjay »

Do you mean how much the view moves up and down? If so, there are the user configurable options of movebob and stillbob. Because they are user options, I'm going to guess that it will not be exposed to be set by mods.

(BTW, I have stillbob=0.2 in my ini which I like because it give a nice "doomguy breathing" effect without being so obvious as to get in the way.)
User avatar
Tormentor667
Posts: 13554
Joined: Wed Jul 16, 2003 3:52 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia (Modern GZDoom)
Location: Germany
Contact:

Re: player.viewbop for custom PlayerPawn

Post by Tormentor667 »

I already expected that :( The problem is that with lower movement speeds the standard viewbop looks very unnatural and it doesn't make much sense to provide a ini for that :(
User avatar
Ryan Cordell
Posts: 4349
Joined: Sun Feb 06, 2005 6:39 am
Preferred Pronouns: No Preference
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia (Modern GZDoom)
Location: Capital of Explodistan

Re: player.viewbop for custom PlayerPawn

Post by Ryan Cordell »

Enjay wrote:(BTW, I have stillbob=0.2 in my ini which I like because it give a nice "doomguy breathing" effect without being so obvious as to get in the way.)
That's fricking cool. Thanks! :D
User avatar
Macil
Posts: 2529
Joined: Mon Mar 22, 2004 7:00 pm
Preferred Pronouns: He/Him
Location: California, USA. Previously known as "Agent ME".
Contact:

Re: player.viewbop for custom PlayerPawn

Post by Macil »

Wasn't there a feature request to make the viewbob relative to the player's speed? Whatever happened to that?
User avatar
Tormentor667
Posts: 13554
Joined: Wed Jul 16, 2003 3:52 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia (Modern GZDoom)
Location: Germany
Contact:

Re: player.viewbop for custom PlayerPawn

Post by Tormentor667 »

Someone should dig it out... :) Yesterday, Enjay did a short test through what I have so far done and he also noticed that the viewbop looks terribly ugly for low player speeds. I also do not understand why this is placed into the INI instead of the KEYCONF settings. I mean, "stillbop" and "viewbop" are definitely playerpawn dependent properties that should be changeable by the author of a mod :(
User avatar
Skippy
Posts: 695
Joined: Sun Nov 20, 2005 9:57 am
Location: Belfast, NI

Re: player.viewbop for custom PlayerPawn

Post by Skippy »

@Torm: I know you shot down the idea when TCoTD2 was in development, but for your new mod you're going to have to consider bundling a custom .cfg and batch file with it. That way you can control the bob settings (plus automap colours, GL lighting settings and other things you'll no doubt wish to change in some way) in a way that isn't destructive to the user's general-purpose zdoom.ini file.
User avatar
Tormentor667
Posts: 13554
Joined: Wed Jul 16, 2003 3:52 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia (Modern GZDoom)
Location: Germany
Contact:

Re: player.viewbop for custom PlayerPawn

Post by Tormentor667 »

I am still no friend of custom cfgs, especially if it concerns light settings - don't forget, every person has a different monitor - so a feature for at least the viewbop think might be a better solution. :(
User avatar
Enjay
 
 
Posts: 26993
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: player.viewbop for custom PlayerPawn

Post by Enjay »

You custom cfg doesn't have to set everything, just the items that are important to your mod.
User avatar
Tormentor667
Posts: 13554
Joined: Wed Jul 16, 2003 3:52 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia (Modern GZDoom)
Location: Germany
Contact:

Re: player.viewbop for custom PlayerPawn

Post by Tormentor667 »

Sure, but in my opinion it just sucks if the player has to load a custom cfg instead of simply loading a pk3... oh well... is it possible to put a cfg in a pk3?
User avatar
Rachael
Posts: 13934
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: player.viewbop for custom PlayerPawn

Post by Rachael »

What you could do, and I've seen it done before, is just copy the user's config to a custom config file (only if it doesn't exist), and launch ZDoom executing a console script to set defaults (only if the config hasn't existed before), then afterwards, the player would be allowed to set their own options from there. I know it was done with one of the more recent Wolfensttein TC's, I forgot who did it but that's what he did.

After the first run, the bat file would load the alternate config, however, it would not reload the defaults again. I suppose it could have helped if he added in an alias "reloaddefaults" or something in case players wanted it, which would run the console script again, but it's still pretty simple to just delete the alternate config file. :P
User avatar
Tormentor667
Posts: 13554
Joined: Wed Jul 16, 2003 3:52 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia (Modern GZDoom)
Location: Germany
Contact:

Re: player.viewbop for custom PlayerPawn

Post by Tormentor667 »

That solution doesn't feel right, it's simply too hacky for my taste :(
User avatar
Xaser
 
 
Posts: 10774
Joined: Sun Jul 20, 2003 12:15 pm
Contact:

Re: player.viewbop for custom PlayerPawn

Post by Xaser »

Oh god, I feel so terrible for being the guy to do this, but it's a bit pet-peevy to a certain person (me) so I can't resist...

B-O-B

:P
User avatar
Enjay
 
 
Posts: 26993
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: player.viewbop for custom PlayerPawn

Post by Enjay »

Image
User avatar
Medricel
Posts: 1138
Joined: Sat Nov 20, 2004 9:47 am

Re: player.viewbop for custom PlayerPawn

Post by Medricel »

Enjay wrote:Image
*twitch*
:evil:


But yeah, I think the best you're going to get without modifying players' configs is a suggestion to players to alter thier movebob value in your .txt file.
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”