EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Archive::Database/World Building (https://www.eqemulator.org/forums/forumdisplay.php?f=625)
-   -   Quick faction info (https://www.eqemulator.org/forums/showthread.php?t=15797)

sotonin 09-11-2004 01:01 PM

Quick faction info
 
Ok, just trying to gather some quick info about faction levels before i implement my faction editor.

Anybody have a full list of the different consider levels (scowling, dubious etc) and what their corresponding number values are in the emu?

Code:

_ ally
_ warmly
_ kindly
_ amiably
_ indifferently
_ apprehensively
_ dubiously
_ threateningly
_ ready to attack

If somebody could fill in the blanks here it would be great
thanks )

eq_addict_08 09-11-2004 01:51 PM

Quote:

FACTION_VALUE CalculateFaction(FactionMods* fm, sint32 tmpCharacter_value)
{
sint32 character_value = tmpCharacter_value;
if (fm)
character_value += fm->base + fm->class_mod + fm->race_mod + fm->deity_mod;
if(character_value >= 1101) return FACTION_ALLY;
if(character_value >= 701 && character_value <= 1100) return FACTION_WARMLY;
if(character_value >= 401 && character_value <= 700) return FACTION_KINDLY;
if(character_value >= 101 && character_value <= 400) return FACTION_AMIABLE;
if(character_value >= 0 && character_value <= 100) return FACTION_INDIFFERENT;
if(character_value >= -100 && character_value <= -1) return FACTION_APPREHENSIVE;
if(character_value >= -700 && character_value <= -101) return FACTION_DUBIOUS;
if(character_value >= -999 && character_value <= -701) return FACTION_THREATENLY;
if(character_value <= -1000) return FACTION_SCOWLS;
return FACTION_INDIFFERENT;
}
from faction.cpp

sotonin 09-11-2004 02:05 PM

Cool. so the following would be correct?

Code:

1100_ ally
700_ warmly
400_ kindly
100_ amiably
0_ indifferently
-1_ apprehensively
-101_ dubiously
-701_ threateningly
-1000_ ready to attack

*note, i used the values of when they first "become" that faction. Lowest numbers to achieve the faction

eq_addict_08 09-12-2004 03:17 AM

well, looks like 1101, 701, 401, and 101, but what's the big diff... You got it figured out.


All times are GMT -4. The time now is 12:33 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.