Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » New PT's
Re: New PT's [message #428242 is a reply to message #427655] Thu, 13 May 2010 14:53 Go to previous messageGo to previous message
saberhawk
Messages: 1068
Registered: January 2006
Location: ::1
Karma:
General (1 Star)
Omar007 wrote on Thu, 06 May 2010 17:41

Jerad Gray wrote on Thu, 06 May 2010 21:33

Omar007 wrote on Wed, 05 May 2010 14:10

Update_PT (or something) would solve that.
The name length would be indeed an issue if the selected is longer then the entry it started with.
Just make the default the longest. Wink

The issue that I'm talking about is getting the pt to update and match the host's pt data, pt icons are loaded to match what the client has in their objects.ddb file/temps20.ddb file. So you'd have to explicitly tell the client that the icons/strings were different and change them remotely via some currently nonexistent script function.

I dont really get you then.
If you would harcode everything, you call Set_Preset() to change the PT entries 1 by 1. Then you update every client with Update_PT.
AFAIK this is the way that works.

What i want now is only changing the way the PT entries get changed. It can already be done (Set_Preset()) but i want it to be changed according to a new Character Class entry in LE instead of hardcoded data.


So don't hardcode the data? Either load it via some other method or basically copy it over from the "secrets" menu.
 
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: Sat Oct 26 00:28:09 MST 2024

Total time taken to generate the page: 0.01240 seconds