GithubHelp home page GithubHelp logo

gwyndolynmarchant / gzphotography Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 1.14 MB

A small bespoke mod which adds a photography camera into any gzDoom load order

License: The Unlicense

ZenScript 100.00%
doom gzdoom gzdoom-mod doom-mod

gzphotography's Introduction

Icon gzPhotography

gzPhotography is a small bespoke mod which adds a photography camera into any gzDoom load order. It has been designed with maximum compatibility with other mods, placing the camera in your inventory under slot 0, and providing a universal printscreen button replacement which takes clean, unobstructed photos.

To enable photo-taking, you will need to turn on Options > Miscellaneous > Enable making screenshots by script.

Features

Sorry Cyberimp DSC-P72

The photography camera is a "weapon" which allows taking clean photographs by "firing", and clean selfies by "alt-firing".

Sony Cybershot DSC-P72, renamed to a Sorry Cyberimp

It has clean animations and graphics based on a Sony Cybershot DSC-P72. It does not aim to replicate this camera in functionality, it is just a cute model that i thought made a good visual reference. Due to the aim of being maximally compatible with other mods, the camera is presented "floating" as opposed to showing specific hands.

Selfie Mode

A selfie taken in the opening of Doom 2

Alt-firing produces a selfie, by placing the camera in front of you and shooting backwards. Note that this means you will not be photographing what is in front of you, but instead what is behind you. Moving will return the perspective to normal.

Flash and Fill Flash

Fill Modes
Natural lighting Fill-flash lighting
Flash lighting Full flash with lighting

The photography camera features both a flash and fill-flash for photographing dark rooms and close-up objects. They can be seperately toggled in the options menu. The full flash is toggleable with a keybinding (default configuration F for "Flash").

Universal clean screenshots

A series of console commands are preconfigured (taken from the zdoom wiki) that enable taking clean screenshots in any load order. Unlike the camera itself, these screenshots have been configured to replace the default in-engine PrintScreen with the new clean shots. The hotkey can be changed in the options menu.

Shot composition overlays

The camera supports multple composition overlays, which can be toggled to cycle through them (default configuration G for "Grid"). These exist as seperate crosshairs, and thus can have their scaling tweaked from the options menu. The camera crosshair is selected seperately from your main crosshairs.

Note that the camera overlay will follow the same colouring as your crosshair.

Overlays

  • None (default)
  • Thirds
  • Golden Ratio
  • Root 2 Armature
  • Diamond

Photo information overlay

When taking a picture, you may have the mod print map and megawad information onto the photograph. This feature is toggleable in the settings, and provides an override to megawad detection. The color of the overlay defaults to white, but can be changed in the options menu. Note that megawad detection is performed upon starting play, not entering the main menu.

The photo information overlay features two fonts:

Compatibility Notes

  • Fill flash may not work correctly with mods which modify the default firing modes of weapons in the engine. (ex: Castlevania: Simon's Destiny)
  • The camera will not be accessible or functional with mods which entirely disable weapons. (ex: GZ P.T.) In these cases, the universal hotkey should still function.
  • Screen clearing is done by translating the screen 42069 screen units down-right, so if there's anything else being drawn in that corner it will be revealed.
  • Although the photography mod itself works on all preconfigured screen resolutions, some options menu text will be cut off at resolutions below 1024 horizontal pixels

For full compatibility notes, please see the documentation.

gzphotography's People

Contributors

gwyndolynmarchant avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

gzphotography's Issues

Seperate offset inversion code into seperate CVAR

Currently at WorldLoaded the game checks which vid_rendermode is active, and if it is 4 (hardware) it uses positive offsets instead of negatives. This mostly works, but i am trying to debug edge cases and it would be better if it was a seperate value.

Current cvars:

  • camera_osd_offset : float ; defines where off-screen text is being rendered

Proposed change:

  • camera_osd_offset : float ; defines how far off-screen OSD is being rendered
  • camera_osd_neg : bool ; defines whether OSD is in positive or negative space

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.