Exemplo n.º 1
0
void ApplySPRf() {
	if(cur_rf == 3) {
		MakeSpCol();
		sp_max_ch = "!!! RaFMode !!!";
		sp_max_start=arxtime.get_updated();
	}
}
Exemplo n.º 2
0
static void ApplySPMax() {
	
	MakeCoolFx(player.pos);
	sp_max = ~sp_max;
	
	if (sp_max) {
		MakeSpCol();
		DisplayCheatText("!!!_FaNt0mAc1e_!!!");
		
		player.skin = 4;
		
		ARX_EQUIPMENT_RecreatePlayerMesh();
		
		ARX_PLAYER_Rune_Add_All();
		std::string text = "!!!!!!! FanTomAciE !!!!!!!";
		notification_add(text);
		player.Attribute_Redistribute += 10;
		player.Skill_Redistribute += 50;
		player.level = std::max(player.level, short(10));
		player.xp = GetXPforLevel(10);
	} else {
		TextureContainer * tcm;
		tcm = TextureContainer::Load("graph/obj3d/textures/npc_human_cm_hero_head");
		if(tcm) {
			delete tcm;
			player.heads[0] = TextureContainer::Load("graph/obj3d/textures/npc_human_base_hero_head");
			player.heads[1] = TextureContainer::Load("graph/obj3d/textures/npc_human_base_hero2_head");
			player.heads[2] = TextureContainer::Load("graph/obj3d/textures/npc_human_base_hero3_head");
			ARX_EQUIPMENT_RecreatePlayerMesh();
		}
	}
}
Exemplo n.º 3
0
void ApplyCurMr() {
	if(cur_mr == 3) {
		MakeSpCol();
		sp_max_ch = "!!! Marianna !!!";
		sp_max_start=arxtime.get_updated();
	}
}
Exemplo n.º 4
0
static void ApplyPasswall() {
	MakeSpCol();
	DisplayCheatText("!!! PassWall !!!");

	if(USE_PLAYERCOLLISIONS)
		USE_PLAYERCOLLISIONS = false;
	else
		USE_PLAYERCOLLISIONS = true;
}
Exemplo n.º 5
0
static void ApplySPuw() {
	uw_mode_pos=0;
	uw_mode=~uw_mode;
	ARX_SOUND_PlayCinematic("menestrel_uw2", true);
	MakeCoolFx(player.pos);
	if(uw_mode) {
		MakeSpCol();
		DisplayCheatText("~-__-~~-__.U.W.__-~~-__-~");
	}
}
Exemplo n.º 6
0
static void EERIE_OBJECT_SetBHMode() {
	if(BH_MODE) {
		BH_MODE = 0;
	} else {
		BH_MODE = 1;
		MakeCoolFx(player.pos);
		MakeSpCol();
		DisplayCheatText("!!!_Super-Deformed_!!!");
	}
}
Exemplo n.º 7
0
void ApplyPasswall() {
	MakeSpCol();
	sp_max_ch = "!!! PassWall !!!";
	sp_max_start=arxtime.get_updated();

	if(USE_PLAYERCOLLISIONS)
		USE_PLAYERCOLLISIONS = false;
	else
		USE_PLAYERCOLLISIONS = true;
}
Exemplo n.º 8
0
static void ApplyCurPNux() {

	MakeSpCol();
	DisplayCheatText("! PhilNux & Gluonne !");

	player.m_cheatPnuxActive = (player.m_cheatPnuxActive + 1) % 3;

	// TODO-RENDERING: Create a post-processing effect for that cheat... see original source...

	cur_pnux=0;
}
Exemplo n.º 9
0
void ApplySPArm() {
	ARX_SPSound();

	res::path cls;
	switch (sp_arm) {
		case 0:
			cls = "graph/obj3d/interactive/items/armor/helmet_plate_cm/helmet_plate_cm";
		break;
		case 1:
			cls = "graph/obj3d/interactive/items/armor/legging_plate_cm/legging_plate_cm";
		break;
		case 2:
			cls = "graph/obj3d/interactive/items/armor/chest_plate_cm/chest_plate_cm";
		break;
		default:
			return;
		break;
	}

	Entity * ioo = AddItem(cls);
	if(ioo) {

		sp_wep = 1;
		MakeCoolFx(player.pos);
		MakeCoolFx(player.pos);
		ioo->scriptload = 1;
		SendInitScriptEvent(ioo);

		giveToPlayer(ioo);

		MakeSpCol();
		sp_max_ch = "!! Toi aussi cherches les Cheats !!";

		switch (sp_arm)
		{
		case 0:
			sp_max_ch = "------ZoliChapo------";
		break;
		case 1:
			sp_max_ch = "-----TiteBottine-----";
		break;
		case 2:
			sp_max_ch = "-----Roooo-La-La-----";
		break;
		default:
			return;
		break;
		}
		
		sp_max_start=arxtime.get_updated();
	}

	sp_arm++;
}
Exemplo n.º 10
0
void ApplySPuw() {
	uw_mode_pos=0;
	uw_mode=~uw_mode;
	ARX_SOUND_PlayCinematic("menestrel_uw2", true);
	MakeCoolFx(player.pos);
	if(uw_mode) {
		MakeSpCol();
		sp_max_ch = "~-__-~~-__.U.W.__-~~-__-~";
		sp_max_start=arxtime.get_updated();
	}
}
Exemplo n.º 11
0
void ApplyCurPNux() {

	MakeSpCol();
	sp_max_ch = "! PhilNux & Gluonne !";

	SPECIAL_PNUX = (SPECIAL_PNUX + 1) % 3;

	// TODO-RENDERING: Create a post-processing effect for that cheat... see original source...

	cur_pnux=0;
	sp_max_start=arxtime.get_updated();
}
Exemplo n.º 12
0
void EERIE_OBJECT_SetBHMode()
{
	if (BH_MODE)
		BH_MODE=0;
	else
	{
		BH_MODE=1;
		MakeCoolFx(player.pos);
		MakeSpCol();
		sp_max_ch = "!!!_Super-Deformed_!!!";
		sp_max_start=arxtime.get_updated();
			}
}
Exemplo n.º 13
0
static void ApplySPBow() {

	ARX_SPSound();

	const char * cls = "graph/obj3d/interactive/items/weapons/bow_mx/bow_mx";
	Entity * ioo = AddItem(cls);
	if(ioo) {

		MakeCoolFx(player.pos);
		MakeCoolFx(player.pos);

		ioo->scriptload = 1;
		SendInitScriptEvent(ioo);

		giveToPlayer(ioo);

		MakeSpCol();
		DisplayCheatText("!!!_Bow to Samy & Anne_!!!");
	}
}
Exemplo n.º 14
0
void ApplySPBow() {

	ARX_SPSound();

	const char * cls = "graph/obj3d/interactive/items/weapons/bow_mx/bow_mx";
	Entity * ioo = AddItem(cls);
	if(ioo) {

		MakeCoolFx(player.pos);
		MakeCoolFx(player.pos);

		ioo->scriptload = 1;
		SendInitScriptEvent(ioo);

		giveToPlayer(ioo);

		MakeSpCol();
		sp_max_ch = "!!!_Bow to Samy & Anne_!!!";
		sp_max_start=arxtime.get_updated();
	}
}
Exemplo n.º 15
0
static void ApplySPWep() {
	
	if(!sp_wep) {
		
		ARX_SPSound();
		
		res::path cls = "graph/obj3d/interactive/items/weapons/sword_mx/sword_mx";
		Entity * ioo = AddItem(cls);
		if(ioo) {
			sp_wep = 1;
			MakeCoolFx(player.pos);
			MakeCoolFx(player.pos);
			ioo->scriptload = 1;
			SendInitScriptEvent(ioo);
			
			giveToPlayer(ioo);
			
			MakeSpCol();
			DisplayCheatText("!!!_Grosbillite_!!!");
		}
	}
}
Exemplo n.º 16
0
void ApplySPMax() {

	MakeCoolFx(player.pos);
	sp_max=~sp_max;

	if (sp_max)
	{
		MakeSpCol();
		sp_max_ch = "!!!_FaNt0mAc1e_!!!";
		sp_max_start=arxtime.get_updated();

			player.skin=4;

			ARX_EQUIPMENT_RecreatePlayerMesh();

		ARX_PLAYER_Rune_Add_All();
		std::string text = "!!!!!!! FanTomAciE !!!!!!!";
		ARX_SPEECH_Add(text);
		player.Attribute_Redistribute+=10;
		player.Skill_Redistribute+=50;
		player.level=std::max((int)player.level,10);
		player.xp=GetXPforLevel(10);
	}
	else
	{
		TextureContainer * tcm;
		tcm = TextureContainer::Load("graph/obj3d/textures/npc_human_cm_hero_head");
		if(tcm) {
			delete tcm;
			player.heads[0]
				= TextureContainer::Load("graph/obj3d/textures/npc_human_base_hero_head");
			player.heads[1]
				= TextureContainer::Load("graph/obj3d/textures/npc_human_base_hero2_head");
			player.heads[2]
				= TextureContainer::Load("graph/obj3d/textures/npc_human_base_hero3_head");
			ARX_EQUIPMENT_RecreatePlayerMesh();
		}
	}
}
Exemplo n.º 17
0
void ApplySPWep() {

	if(!sp_wep) {

		ARX_SPSound();

		res::path cls = "graph/obj3d/interactive/items/weapons/sword_mx/sword_mx";
		Entity * ioo = AddItem(cls);
		if(ioo) {

			sp_wep = 1;
			MakeCoolFx(player.pos);
			MakeCoolFx(player.pos);
			ioo->scriptload = 1;
			SendInitScriptEvent(ioo);

			giveToPlayer(ioo);

			MakeSpCol();
			sp_max_ch = "!!!_Grosbillite_!!!";
			sp_max_start=arxtime.get_updated();
		}
	}
}
Exemplo n.º 18
0
void ApplyCurSOS() {
	MakeSpCol();
	g_miniMap.reveal();
	sp_max_ch = "!!!_Temple of Elemental Lavis_!!!";
	sp_max_start=arxtime.get_updated();
}
Exemplo n.º 19
0
static void ApplyCurSOS() {
	MakeSpCol();
	g_miniMap.reveal();
	DisplayCheatText("!!!_Temple of Elemental Lavis_!!!");
}
Exemplo n.º 20
0
static void ApplyPasswall() {
	MakeSpCol();
	DisplayCheatText("!!! PassWall !!!");
	USE_PLAYERCOLLISIONS = !USE_PLAYERCOLLISIONS;
}
Exemplo n.º 21
0
static void ApplyConsole() {
	MakeSpCol();
	DisplayCheatText("!!! Arx Libertatis !!!");
	g_console.open();
}
Exemplo n.º 22
0
static void ApplySPRf() {
	if(cur_rf == 3) {
		MakeSpCol();
		DisplayCheatText("!!! RaFMode !!!");
	}
}
Exemplo n.º 23
0
static void ApplyCurMr() {
	if(cur_mr == 3) {
		MakeSpCol();
		DisplayCheatText("!!! Marianna !!!");
	}
}