How to change the race of the player

Kei

New member
Messages
101
Points
0
how can i change the race of the player.? i want them to choose what race they want.

 
I think what you meant is like faction system which is not available in our server at this moment. Maybe you need to hire a great dev. to add it in your server.

 
i don't think faction system is i'm looking .. i just want a system like in daredevilRO where they have a armors that will change your race from demihuman to fish,demon etc.

 
You could always use bonuses to alter in certain ways a player interact with other races (from doc/item_bonus.txt with some modifications, I changed some variable names to "default" them)

Code:
n: 	0=Formless, 1=Undead, 2=Brute, 3=Plant, 4=Insect,	5=Fish, 6=Demon, 7=Demi-Human, 8=Angel, 9=Dragon, 	10=Boss monster, 11=Other than (normal monster) boss monster(Check db/mob_race2_db.txt)bonus bIgnoreDefRace,n;			Disregard DEF against enemies of race nbonus bIgnoreMDefRace,n;		Disregard MDEF against enemies of race nbonus bDefRatioAtkRace,n;		Does more damage depending on monster Defense against race n (defense disregard)bonus2 bAddRace,n,x;            +x% physical damage against race nbonus2 bMagicAddRace,n,x;       +x% magical damage against race nbonus2 bSubRace,n,x;            +x% damage reduction against race nbonus2 bIgnoreMdefRate,n,x;          Disregard x% of the target's MDEF if the target belongs to race n;bonus3 bAddMonsterDropItem,x,n,y;	Adds a y/100% chance for item x to be dropped, when killing any monster of race n.					If 'y' is negative value, then it's a part of formula						chance = -y*(killed_mob_level/10)+1bonus2 bCriticalAddRace,n,r;      Critical + r vs. enemies of race nbonus2 bAddRace2,n,x;             Increase damage by x% vs. enemies of race n					y:	0=Don't show damage 1=Show damagebonus2 bExpAddRace,n,x;         Increase exp gained by x% vs. enemies of race nbonus2 bSPGainRace,n,x;         When killing a monster of race n by physical attack gain x amount of spbonus2 bSubRace2,n,x;           Damage x% reduction from enemies of race nbonus2 bAddMonsterDropChainItem,x,n;	Able to get item of chain type x (only constant applicable) when you kill a monster of race nbonus2 bWeaponComaRace,n,y;		y/100% chance to cause Coma when attacking a monster of race n with a normal attackbonus2 bIgnoreDefRate,n,x;		Disregard x% of the target's DEF if the target belongs to race n;bonus3 bHPDrainRateRace,n,r,x;		Adds a r/10% chance to receive x% of damage dealt as HP from a monster of race n with normal attack.bonus3 bSPDrainRateRace,n,r,x;		Adds a r/10% chance to receive x% of damage dealt as SP from a monster of race n with normal attack.bonus2 bHPDrainValueRace,n,x;		Heals +x HP when attacking a monster of race r with normal attack.bonus2 bSPDrainValueRace,n,x;		Heals +x SP when attacking a monster of race r with normal attack.bonus2 bHPGainRaceAttack,n,x;		Heals x HP when attacking n Race on every hitbonus2 bSPGainRaceAttack,n,x;		Heals x SP when attacking n Race on every hit
If you really need a source mod you could always ask for a new bonus that alters a player race, if you want so you can post in this topic...
 
You could always use bonuses to alter in certain ways a player interact with other races (from doc/item_bonus.txt with some modifications, I changed some variable names to "default" them)

n: 0=Formless, 1=Undead, 2=Brute, 3=Plant, 4=Insect, 5=Fish, 6=Demon, 7=Demi-Human, 8=Angel, 9=Dragon, 10=Boss monster, 11=Other than (normal monster) boss monster(Check db/mob_race2_db.txt)bonus bIgnoreDefRace,n; Disregard DEF against enemies of race nbonus bIgnoreMDefRace,n; Disregard MDEF against enemies of race nbonus bDefRatioAtkRace,n; Does more damage depending on monster Defense against race n (defense disregard)bonus2 bAddRace,n,x; +x% physical damage against race nbonus2 bMagicAddRace,n,x; +x% magical damage against race nbonus2 bSubRace,n,x; +x% damage reduction against race nbonus2 bIgnoreMdefRate,n,x; Disregard x% of the target's MDEF if the target belongs to race n;bonus3 bAddMonsterDropItem,x,n,y; Adds a y/100% chance for item x to be dropped, when killing any monster of race n. If 'y' is negative value, then it's a part of formula chance = -y*(killed_mob_level/10)+1bonus2 bCriticalAddRace,n,r; Critical + r vs. enemies of race nbonus2 bAddRace2,n,x; Increase damage by x% vs. enemies of race n y: 0=Don't show damage 1=Show damagebonus2 bExpAddRace,n,x; Increase exp gained by x% vs. enemies of race nbonus2 bSPGainRace,n,x; When killing a monster of race n by physical attack gain x amount of spbonus2 bSubRace2,n,x; Damage x% reduction from enemies of race nbonus2 bAddMonsterDropChainItem,x,n; Able to get item of chain type x (only constant applicable) when you kill a monster of race nbonus2 bWeaponComaRace,n,y; y/100% chance to cause Coma when attacking a monster of race n with a normal attackbonus2 bIgnoreDefRate,n,x; Disregard x% of the target's DEF if the target belongs to race n;bonus3 bHPDrainRateRace,n,r,x; Adds a r/10% chance to receive x% of damage dealt as HP from a monster of race n with normal attack.bonus3 bSPDrainRateRace,n,r,x; Adds a r/10% chance to receive x% of damage dealt as SP from a monster of race n with normal attack.bonus2 bHPDrainValueRace,n,x; Heals +x HP when attacking a monster of race r with normal attack.bonus2 bSPDrainValueRace,n,x; Heals +x SP when attacking a monster of race r with normal attack.bonus2 bHPGainRaceAttack,n,x; Heals x HP when attacking n Race on every hitbonus2 bSPGainRaceAttack,n,x; Heals x SP when attacking n Race on every hitIf you really need a source mod you could always ask for a new bonus that alters a player race, if you want so you can post in this topic...
i think this one is for bonus and not will change the race of the player.. what i need is a source(i think) that will change the race of the player

 
what you need is this Epoque Expansion pack its include bSetRace, n

but unfortunately this expansion pack is too old/outdated you need a good developer to make it compatible to your server. or do it your self to manually add it on your server.

 
Back
Top