Giter Club home page Giter Club logo

quake-portal-gun's Introduction

Quake Portal Gun

Description

Portal Gun (Handheld Portal Device) is a device that creates and inter-spatial portal (wormhole) in level. It is quaked version of the gun from game Portal (part of Orange box) by Valve software <www.valvesoftware.com> also implemented in some half-life games. Ussage is simple: fire with the portal gun to the desired locations to opend first and second portals. Now, the wormhole is created between them. You can enter it, or close it down.

This mod tries to simulate (poorly) the physic as seen in original Portal game. That means, when you enter the first portal, your velocity and angles is restored on the other side of wormhole. This allows you to do big jumps and other tricks.

Teleporting of pickups is possible, which allows interesting strategies (like gathering pickups on one place and the pick them all up at once; or reaching distant items just by shooting at them.)

Portal Gun can also be used as item carrier. Simply aim the item and press 'f'. To drop carried item, press 'f' again.

Fig. 1 - Example of clever usage of portal gun - power of gravity:
(see 'tricks' file for more)
*EXIT*
  __      ,.,
 |  |   ,'   ',
-|  |--|-----, ',
 |  | \|/   / | |    Create portals, jump to the lower one (arrow 1)
___________/  | 2      ,.,   and the higher one will shoot you up (arrow 2)
          |   | |    ,'   ',  
          |   | |  O       ', 
          |   | |  |-       |
          |  /'-|--/\-,     |
          | /  (_)   / |    |
          |/________/  |    1
                   |   |    |
                   |   |    |
                   |   |   \|/
                   |  /'----'-- - -
                   | /     (_)
                   |/_________ _ _

Portal gun modes

Portal gun mod includes two modes: deathmatch and cooperative variant.

  • In cooperative, only one wormhole can be created. That's pretty useful in quake cooperative mode, when two players can create quick link between them - each player creates one portal gate near him. Default mode.

  • In deathmatch, every portal gun can create one wormhole; so number of possible wormholes in game equals number of players.

Compiling and usage

Use any QuakeC compiler. The fteqcc (https://github.com/xonotic/fteqcc) is even in debian repositories.

After that, you can run the mod with

$ quake -game quake-portal-gun

For demonstration, toggle console and type 'playdemo portal'.

Maps can be compiled by Quake Utils. (https://github.com/id-Software/Quake-Tools/tree/master/qutils)

They use portal.wad, which is included, and base.wad from original game data.

Commands

  • impulse 99 - use Portal Gun
  • impulse 98 - close portals down
  • impulse 97 - toggle deathmatch/cooperative mode
  • impulse 96 - fire blue portal
  • impulse 95 - fire red portal
  • impulse 94 - use item carrier

Portal Gun mod should contain autoexec.cfg file, where he keybindings are set. Controls defined in autoexec.cfg:

 [Q][W][E][R] ... [P]
  [A][S][D][F] 

P - use Portal Gun

R - close portals

Q - fire blue portal

E - fire red portal

F - use item carrier

'portal_mode' - toggle deathmatch/cooperative mode

Why I made it

My computer is too slow for running the original Valve's Portal game, but I love the YouTube videos and generally the gameplay of it. The first version of portal mod by Lag.Com was designed for making incredible fast speed demos (see http://speeddemosarchive.com - SDA; great site!). My mod was made independently and each mod had pros and cons (thanks for Mark "Markzilla" Ehlke for summary).

First version of this mod was v2.0 although there was no 1.0. It is fusion of two independently made portal gun mods.

Appeal

Note, that the mod is still in development phase. This is my very first quake mod, so I would like to ask anybody for helping me with models, levels and other things from TODO section.

On the other hand, feel free to use this gun in your mod! Just give me a credit :)

quake-portal-gun's People

Contributors

robsis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

quake-portal-gun's Issues

detailed instruction to make debian packagin in debin oficial

there are some interes in debian to contirb and packge to provide oficial package mods of quake 1 , 2 and 3 engines

but compiling documentation are very weak and lazy...

please provide detailed info about that for non-familiar developers can made packages with less effors and can be mantained

this also makes colaboration more to this and others mod projects

_

_

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.