Jump to content

Difficulty settings


DoctorSpoodles

Recommended Posts

I've been searching for the location of where the player defines the value for Difficulty.
My goal is to give the fXPModBase different float value dependent on the difficulty.

I needed to create something like...

int difficulty ;
float fDiffMultXPVE = 0.500000 ;

float fDiffMultXPE = 0.750000 ;

float fDiffMultXPH = 1.250000 ;
float fDiffMultXPVH = 1.750000 ;
float fDiffMultXPSV = 2.250000 ;
float fXPModBase = 1.000000;

void draw(){
  if(difficulty == 1){
  fXPModBase = fDiffMultXPVE;
  }

  if(difficulty == 2){
  fXPModBase = fDiffMultXPE;
  }

  if(difficulty == 4){
  fXPModBase = fDiffMultXPH;
  }

  if(difficulty == 5){
  fXPModBase = fDiffMultXPVH;
  }

  if(difficulty == 6){
  fXPModBase = fDiffMultXPSV;
  }
}

Got what i'm trying to find? The FormID that set the game's difficulty! ;-; Please help me. Also how would I set on FO4Edit to multiply based on the difficulty. How would I put it on the script, wich float/int names would I put?

Edited by DoctorSpoodles
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...