Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » New PT's
New PT's [message #427455] Mon, 03 May 2010 14:17 Go to previous message
Omar007 is currently offline  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:
index.php?t=getfile&id=12688&private=0

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 Wink

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.


http://tiberiumredux.omarpakker.nl/Old Unused Parts/Plaatjes/PromoteBanner_Hades_small.jpg

[Updated on: Mon, 03 May 2010 14:30]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Editor Help!
Next Topic: M10_Playertype_Nod
Goto Forum:
  


Current Time: Fri Oct 25 20:19:13 MST 2024

Total time taken to generate the page: 0.00889 seconds