| 
		
			| New PT's [message #427455] | Mon, 03 May 2010 14:17  |  
			| 
				
				|  |  Omar007 Messages: 1711
 Registered: December 2007
 Location: Amsterdam
 
	Karma: 
 | General (1 Star) |  |  |  
	| Im wondering whether it is possible to change the PT's Purchase List I dont even know how it chooses its default actually, but i basically want to replace that with another entry.
 
 Picture to illustrate:
 
  
 So when Secrets is chosen, only the entries in Secrets must be visible in the PT. GDI must not.
 (chosen as in selected with a script ingame)
 
 And please look at Secrets as if its a new entry and not the extra characters
  
 What i did found in engine_pt.cpp was these rows (i hope the comments are indeed what they mean):
 
 DefinitionArray = (PurchaseSettingsDefClass **)0x0085E180; //The entries inside the Character Classes of the picture above??
Find_Purchase_Definition = (void *)0x006F2BD0; //The characters tab
Find_Team_Purchase_Definition = (void *)0x006F3430; //The enlisted (main) entries
 Would it be possible to point these to one of the new entries?
 Using the Set_Preset() method and hardcode every new preset is what i want to avoid with this.
 
 
   [Updated on: Mon, 03 May 2010 14:30] Report message to a moderator |  
	|  |  |