FPS Engine Library v2.0

This is a fully-functional FPS/TPS engine with camera collision and pathing, four types of weapons, tracelines, etc. The one single thing you must do to make this work is create a camera with appropriate camera property values for an FPS, and then edit one single global variable (named 'camera') to have the camera object you just made as its default value. That is literally all there is to it, the rest is done for you. The library is filled with comments as well that explain what things are and what things do within the whole integrated system. This allows you to easily modify or add to my engine without getting confused or messing things up because rather than just looking at a bunch of triggers and blindly working with them you have things explained so that you know what to change or add in order to do what you want.

The beauty of it is that other than making a camera and changing that one variable's default value, it's literally plug and play. Copy the triggers from the library to your map, delete the library from your map after importation (otherwise the triggers in the library will run as well as the triggers in your map, making everything happen twice), create the camera, and edit that one variable, and you're done. Now you have a working FPS that can easily incorporate TPS elements because there's a TPS system built in as well. All you have to do is enable the TPS elements through a 'turn triggers on' action and you're good to go!

As of version 1.2, recently released, there's now an associated mod file. As of version 2.0, the most recent release, it is now required. In version 1.2 I explained that since the only custom data were the weapon effects, you didn't strictly have to use the mod file so long as you were wiling to make the damage effects for the weapons yourself. I also included a little instruction set as a comment explaining how to do that. Unfortunately, due to the additional uses of custom data in v2, the mod file is now required, no exceptions. I tried to get around this because I personally hate the idea of locking mappers into using something, but there's really no way to implement items (ammunition) without it, and now that there's enemy interaction (they shoot back) the data mod is also used for the player's invisible dummy unit. So, long story short, you need to make your map setting the 'FPS Engine Data Mod v2.0.sc2mod' file as first in the list of custom dependencies. Then import the 'FPS Engine v2.0' trigger library, make the camera, and set the one variable. Sorry guys, no real way around it from here on out. It does save you a ton of work implementing the weapons, items, and conbat system.

I'm recording a series of videos on the FPS Engine. There are two tutorials as of right now, and likely one on the way soon.

[TUTORIALS]

I feel I should note something about the videos. In the videos the map during playtesting appears to be very, very laggy. This is an artifact of the screencapture video program I use. I'm working on a Macbook Pro, and when I run the galaxy editor and the game for map testing its not laggy. But adding Camtasia, the video screencapture tool, seems to be more than my computer's 2 gig of ran can handle. The map won't be nearly as laggy as it appears in these videos when you play it yourself. The map I make in the demo videos is the same map listed as v2.0 Demo Map in the files tab of this asset page.

Tutorial 1 - Making a map using the mod file, making the First Person camera object, and implementing the trigger library. This covers making the map file itself. Watch this first.

Tutorial 2 Part 1 - This shows what to do once the map is made. Shows how to place units, demonstrates how they behave in the map, demonstrates the ammo system, shows how to place ammo-refill items.

Tutorial 2 Part 2 - This is just the finishing few minutes of the above listed Part 1.

Next is a video giving a brief summary of the trigger groups and showing how to make a new weapon.

--

BacklitAvenger

You must login to post a comment. Don't have an account? Register to get one!

  • 8 comments
  • Avatar of cxjiek cxjiek Feb 25, 2012 at 07:06 UTC - 0 likes

    Thanks for making this, I'll be modifying and using the rocket launcher for my map.

  • Avatar of M1n1sh4 M1n1sh4 Sep 25, 2010 at 12:52 UTC - 0 likes

    Hi, I'm still waiting.
    PLEASE REPAIR THE LIBRARIES

    Every time I create a new weapon every time that the libraries get useless with the message: lib1_gt_untitled error.

    http://img401.imageshack.us/img401/9973/doomsc2accescopia.png

  • Avatar of M1n1sh4 M1n1sh4 Sep 11, 2010 at 13:05 UTC - 0 likes

    This system is getting me crazy.
    I created a new weapon, with the ID: 5. I added the weapon to array (combat initialization). I changed the current weapon variable to 5. And, when I start the game: bloody message error.

    I don't understand anything... If I change a trigger all the system crashes and you can't revert it.

    Please help.

  • Avatar of BacklitAvenger BacklitAvenger Sep 07, 2010 at 17:33 UTC - 0 likes

    I feel I should note something about the tutorial videos. Check out my little disclaimer there if you're interested in lag.

    FPS Engine v2.0

    Check out my FPS engine! It's designed for easy implementation so that you can use it as a base from which you can make your own FPS maps and campaigns.

  • Avatar of Caipa Caipa Sep 07, 2010 at 12:12 UTC - 0 likes

    Mmmh is it laggy like in a older version because of the camera jumps? I think the only camera for ego shooter or near third view is the follow camera group function.

    The Camera is SC2 have 2 great flaws. First the Camera have a delay, which is not near zero, and editing in the data editor dont help me. The Other Point is that you cant follow a Point with offset to a unit without a dummy so ShoulderCams are a mess. When somebody use a WoW Like perspective with enough Room to the unit the camera is okay but in touch distance it looks not good when you char leve the screen because of the camdelay.

    Last edited Sep 07, 2010 by Caipa
  • Avatar of M1n1sh4 M1n1sh4 Aug 30, 2010 at 19:57 UTC - 0 likes

    Hi. I used this great system on my map but I have find a bug. The AoE constant weapon and the Linear fire constant weapon types are terribly bugged Uu Please fix them soon. Thanks :)

    Last edited Aug 30, 2010 by M1n1sh4
  • Avatar of edcbabe edcbabe Aug 30, 2010 at 01:16 UTC - 0 likes

    Is this for multiplayer?

  • Avatar of PepperLoaT PepperLoaT Aug 28, 2010 at 22:57 UTC - 0 likes

    This is why sc2 is so amazing. There is always someone who creates a library that you need. Save us, map developers, ton of time. Tnx for ur upload.

    regards, Pepper

    Team LoaT

  • 8 comments

Facts

Date created
Aug 27, 2010
Category
Last update
Sep 04, 2010
Development stage
Release
Language
  • enUS
License
Public use with credit
Downloads
2,930
Recent files

Authors