Menu

Playing The Main Game With Demoness?

2015-12-20
2023-07-18
  • Ryan Spidell

    Ryan Spidell - 2015-12-20

    I'm curious as to why the demoness isn't added to the list of characters when playing the main game when runninng -portals. It's possible to create shortcuts to play the main game using her and I've never noticed any bugs doing so.

     
  • Ozkan Sezer

    Ozkan Sezer - 2015-12-21

    Original game doesn't allow that through the menu system, so uHexen2 doesn't do it either. However, you can still enter "playerclass 5" on the console and start a map and you'll be playing with demoness class, provided that mission pack is active.

     
    • Ryan Spidell

      Ryan Spidell - 2015-12-21

      Alright I looked at the code and the fastest way of fixing this is to simply change line 801 and 826 to read:

      f = MAX_PLAYER_CLASS;

      instead of:

      f = MAX_PLAYER_CLASS - PORTALS_EXTRA_CLASSES;

      The other check will still work as intended, preventing her from showing up if you are not running in Portals.

       

      Last edit: Ryan Spidell 2015-12-22
  • Ozkan Sezer

    Ozkan Sezer - 2015-12-22

    You edit engine/h2shared/h2config.h and change DISALLOW_DEMONESS_IN_OLD_GAME definition from 1 to 0, and recompile.

     
  • Ryan Spidell

    Ryan Spidell - 2015-12-22

    Even easier. :) Where is the order of the New Game menu items at? I know menu.c has the order to show the strings for them but I'm not sure where they're ordered.

     
  • Ozkan Sezer

    Ozkan Sezer - 2015-12-22

    Look at M_SinglePlayer_Draw(), if I understand the question correctly.
    Or, if you are looking for the class select menu, it is M_Class_Draw().

     
  • Ryan Spidell

    Ryan Spidell - 2015-12-22

    Within M_SinglePlayer_Draw(), it seems to just print the strings. Is it also getting a selection from this? What if I wanted to reorder the choices under this menu?

     
  • Ozkan Sezer

    Ozkan Sezer - 2015-12-22

    Sorry pal, if you want me to revisit the code for you
    I can't do it right now. You have the source already,
    so just follow the code :)

     
  • Ryan Spidell

    Ryan Spidell - 2015-12-30

    Figured it out and simplified the menu code in the process. Thanks for the help. I changed the number of savegames to 20 to match QuakeSpasm and enabled the Demoness on the original game. Also I used one of the nicer-looking icons for building in Windows which I've shared here.

     

    Last edit: Ryan Spidell 2016-01-03
  • warner

    warner - 2023-07-18

    Figured it out and simplified the menu code within the manner. Thanks for the help. but I also play this kind of games because it's very interesting other thing i want to share one other

     

    Last edit: warner 2024-04-27

Log in to post a comment.