Results 1 to 13 of 13
  1. #1
    MSgt. Shooter Person
    Join Date
    Jan 2002
    Posts
    406

    [UT2k4] RegularEngine Framework

    Name: RegularEngine Framework
    Version: Beta 1
    Compatibility: UT2004


    Description: Well, I meant to do this a while ago, but got side tracked by Real Life (tm). RegularEngine is a generic example of how one might build a mod. This uses the class based pawns from the latest Riftwar as well as a simplified version of the campaign mode. It also includes the versatile key bind code, which is a key bind set that can rest on top of Epic's (so that one can have multiple keysets without conflict).

    The zip includes all the source code as well as a running example, which is a Humans vs Skaarj campaign mode.

    It's not intended to be included wholesale into another mod. Including the RegularEngine package in your mod may very well conflict with someone else's, especially if they made the unwise mistake of altering the code.

    If one was to use this, my suggestion would be to copy the code into another folder and change every "Regular" to "MyModName".

    Anyway, this should be generally fairly solid. It has actually already been used in a few released mods (when people would ask me about the Class-Based tutorial on the wiki, I would tell them to use this instead). But if some people could beat on it and try to find open holes, I'd like to clean up anything gaping before writing tutes on it.


    Comments: This does not include anything about making a mod menu, etc. Nor does it contain any of the weapon or powers code from Riftwar. A lot of that belongs to Wong's SSP set.

    Download: http://www.webcosa.com/regularx/rge.zip

  2. #2
    MSgt. Shooter Person
    Join Date
    Jan 2002
    Posts
    406

    Default

    Cleaned up the zip so that you can extract it to the UT2004 dir.

    If anyone has any questions about the code, now would be probably be a good time to ask, before I write the docs.

  3. #3
    Redeemer
    Join Date
    Sep 2002
    Posts
    1,517

    Default

    Nice.

  4. #4
    MSgt. Shooter Person
    Join Date
    Jan 2002
    Posts
    406

    Default

    Now available in wiki form:

    http://wiki.beyondunreal.com/wiki/RegularEngine

    Did notice a bug when I was making the wiki pages. Fixed on the wiki, will update the zip later. It's pretty tiny.

  5. #5
    Skaarj
    Join Date
    Sep 2002
    Posts
    26

    Default

    I think I'm probably missing something here because when I plonk it in my Systems folder and load the RegularEngine Example from Instant Action it doesn't seem to do anything other then a regular DM. How do you open the class selector? And how do I access this Human Vs Skaarj Campaign?

  6. #6
    MSgt. Shooter Person
    Join Date
    Jan 2002
    Posts
    406

    Default

    It should prompt you when you first enter the game to pick a class.

    Or you should be able to press alt fire while spectating or right after you die.

    Then at the end of a match you should see the maps/campaign.

    If you enter "keybinds" into the console, you should get the VKB menu.

  7. #7
    Skaarj
    Join Date
    Sep 2002
    Posts
    26

    Default

    None of that works for me.
    Has anybody else got this working?

  8. #8
    Skaarj
    Join Date
    Sep 2002
    Posts
    26

    Default

    I just checked the log and found these errors a couple of times.

    Warning: Failed to load 'RGXUDS': Can't find file for package 'RGXUDS'
    Warning: Failed to load 'RegularEngine': Can't find file for package 'RGXUDS'
    Warning: Failed to load 'Class RegularEngine.RegularGame': Can't find file for package 'RGXUDS'

  9. #9
    MSgt. Shooter Person
    Join Date
    Jan 2002
    Posts
    406

    Default

    Huh, I wouldn't have thought that would have caused a dependency.

    You may be able to simply recomplile the package, or just redownload the zip that is there now.

  10. #10
    Skaarj
    Join Date
    Sep 2002
    Posts
    26

    Default

    I just tried compiling it myself and got a Bad expression in IF on line 18 of RegularPlayer.

    if ( UDSVersatileKeyBind(Player.LocalInteractions[i]) != None )


    Is there any chance of you separating the three basic mods (Classes/Campaign/VersatileKeys) so you can download and use them independently?

  11. #11
    MSgt. Shooter Person
    Join Date
    Jan 2002
    Posts
    406

    Default

    Ah wonderful, when I fixed the package I uploaded the old RegularPlayer.u

    If the UDSVersatileKeyBind referred to a RegularVersatileKeyBind, you'd have no problem. Try redownloading the latest. Sorry for the mixup, haven't had much time with the holidays.

    The three sections are small, and outlined off the Wiki:

    http://wiki.beyondunreal.com/wiki/Re...Player_Classes
    http://wiki.beyondunreal.com/wiki/Re.../Campaign_Mode
    http://wiki.beyondunreal.com/wiki/Re...tile_Key_Binds

    Making it easy to use or not use either section. As I said above, this is not intended as plug and play code. It's intended that someone will read it, understand it a bit, and then adopt the parts that they require. There are variations of the Player Classes which might work better in certain situations (and I'll probably write another tute as I get the time).

  12. #12
    Skaarj
    Join Date
    Sep 2002
    Posts
    26

    Default

    Ah thanks working great now, good stuff RegularX.

  13. #13
    MSgt. Shooter Person
    Join Date
    Jan 2002
    Posts
    406

    Default

    No problemo. Sorry for the double mixup. Last time I say something is a small bug outloud.


 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Copyright ©2009-2011 Epic Games, Inc. All Rights Reserved.
Digital Point modules: Sphinx-based search vBulletin skin by CompletevB.com.