Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Help On vet System
Help On vet System [message #328032] Sun, 27 April 2008 09:16 Go to previous message
_SSnipe_ is currently offline  _SSnipe_
Messages: 4121
Registered: May 2007
Location: Riverside Southern Califo...
Karma:
General (4 Stars)
the vet system me and a friend are working on the one release here on the forums... we have it so when u get promoted the metal says on ur body....but the problem is we need it so that when u buy an sbh or an stank the metal goes away and only shows on on ur body with any other char....

so simple way of saying it.......
metal always shows all the characters ingame
we need to find away to make it go away when u buy an sbh and get into a stank.....then come back if u change to another char besides sbh of course

	if (stricmp(Commands->Get_Preset_Name(obj),"CnC_Nod_FlameThrower_2SF") == 0) {
	Commands->Destroy_Object(Commands->Find_Object(vIconID));
 		Commands->Destroy_Object(Commands->Find_Object(vIconID2));
	}
	if (stricmp(Commands->Get_Preset_Name(obj),"CnC_Nod_FlameThrower_2SF") != 0) {
	int Points;
	Points = VetCheckPoints(Get_Player_ID(obj));	
 		if (Points >= 360) {
			GameObject *Icon = Commands->Create_Object_At_Bone(obj,"Invisible_Object", "C R UPPERARM");
		GameObject *Icon2 = Commands->Create_Object_At_Bone(obj,"Invisible_Object", "C L UPPERARM");
			Commands->Attach_Script(Icon,"MDB_SSGM_Destroy_When_Object_Destroyed",ToString(Commands->Get_ID(obj)).c_str());
		vIconID = Commands->Get_ID(Icon);
		vIconID2 = Commands->Get_ID(Icon2);
			Commands->Set_Model(Icon, "p_hemedal");
		Commands->Set_Model(Icon2, "p_armedal");
		Commands->Attach_To_Object_Bone(Icon, obj, "C R UPPERARM");
			Commands->Attach_To_Object_Bone(Icon2, obj, "C L UPPERARM");
		float Shield;
		Shield = Commands->Get_Shield_Strength(obj);
			Set_Max_Shield_Strength(obj, 160);
		Commands->Set_Shield_Strength(obj, 160);
	}



applied at Player::Created
he said heres a lil bit of it hes trying
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Map-Making Concept - Merged level W3ds
Next Topic: [Release] SSDM + SSHTP full package
Goto Forum:
  


Current Time: Wed Dec 25 08:24:17 MST 2024

Total time taken to generate the page: 0.00661 seconds