Author Topic: Changing entity values from a gui  (Read 61 times)

0 Members and 1 Guest are viewing this topic.

EoceneMiacid

  • Full Member
  • ***
  • Posts: 110
  • Karma: +4/-15
    • View Profile
Changing entity values from a gui
« on: December 04, 2018, 02:02:24 PM »
Kind of a stupid question, most likely. Apologies in advance.

I have several different player classes, each with their own set of weapons.

Set up like this:

Code: [Select]
entityDef player_class1{
   ...
}

entityDef player_class2{
   ...
}

entityDef player_doommarine{
   "inherit" "player_class1"
   ...
}

So I can change the class by editing player_doommarine.

Obviously, this is not ideal - I would like to have the player choose the desired class when playing a new game, with a nice 3D model representation.

So what is the best method to set the desired player class from a GUI?

EoceneMiacid

  • Full Member
  • ***
  • Posts: 110
  • Karma: +4/-15
    • View Profile
Re: Changing entity values from a gui
« Reply #1 on: December 07, 2018, 03:39:54 AM »
Anyone?...

bitterman

  • Sr. Member
  • ****
  • Posts: 350
  • Karma: +9/-5
  • Doom Newbie
    • View Profile
Re: Changing entity values from a gui
« Reply #2 on: December 07, 2018, 06:00:45 AM »
Try to find "lanSet" in Code and mainmenu.gui. Looks like the same.
« Last Edit: December 07, 2018, 06:02:33 AM by bitterman »