New PT's [message #427455] |
Mon, 03 May 2010 14:17 |
|
Omar007
Messages: 1711 Registered: December 2007 Location: Amsterdam
Karma: 0
|
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
|
|
|
|
|
|
|
|
|
|
|
|
Re: New PT's [message #428570 is a reply to message #427455] |
Mon, 17 May 2010 02:20 |
|
Omar007
Messages: 1711 Registered: December 2007 Location: Amsterdam
Karma: 0
|
General (1 Star) |
|
|
I can indeed copy the Secret menu but that is because that's already loaded.
If i had only 1 other team this would be no issue but i happen to have 3 in total
I'm a little stuck now i guess
[Updated on: Mon, 17 May 2010 02:44] Report message to a moderator
|
|
|
|
|