Beispiel #1
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();
		}
	}
}
Beispiel #2
0
static void ApplyPasswall() {
	MakeSpCol();
	DisplayCheatText("!!! PassWall !!!");

	if(USE_PLAYERCOLLISIONS)
		USE_PLAYERCOLLISIONS = false;
	else
		USE_PLAYERCOLLISIONS = true;
}
Beispiel #3
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.__-~~-__-~");
	}
}
Beispiel #4
0
static void EERIE_OBJECT_SetBHMode() {
	if(BH_MODE) {
		BH_MODE = 0;
	} else {
		BH_MODE = 1;
		MakeCoolFx(player.pos);
		MakeSpCol();
		DisplayCheatText("!!!_Super-Deformed_!!!");
	}
}
Beispiel #5
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;
}
Beispiel #6
0
static 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;
	}

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

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

		giveToPlayer(ioo);

		MakeSpCol();
		
		const char * text = "!! Toi aussi cherches les Cheats !!";

		switch (sp_arm)
		{
		case 0:
			text = "------ZoliChapo------";
		break;
		case 1:
			text = "-----TiteBottine-----";
		break;
		case 2:
			text = "-----Roooo-La-La-----";
		break;
		default:
			return;
		}
		DisplayCheatText(text);
	}

	sp_arm++;
}
Beispiel #7
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_!!!");
	}
}
Beispiel #8
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_!!!");
		}
	}
}
Beispiel #9
0
static void ApplyCurMr() {
	if(cur_mr == 3) {
		MakeSpCol();
		DisplayCheatText("!!! Marianna !!!");
	}
}
Beispiel #10
0
static void ApplySPRf() {
	if(cur_rf == 3) {
		MakeSpCol();
		DisplayCheatText("!!! RaFMode !!!");
	}
}
Beispiel #11
0
static void ApplyCurSOS() {
	MakeSpCol();
	g_miniMap.reveal();
	DisplayCheatText("!!!_Temple of Elemental Lavis_!!!");
}
Beispiel #12
0
static void ApplyConsole() {
	MakeSpCol();
	DisplayCheatText("!!! Arx Libertatis !!!");
	g_console.open();
}
Beispiel #13
0
static void ApplyPasswall() {
	MakeSpCol();
	DisplayCheatText("!!! PassWall !!!");
	USE_PLAYERCOLLISIONS = !USE_PLAYERCOLLISIONS;
}