Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Learn me good!
Re: Learn me good! [message #411258 is a reply to message #411245] Wed, 18 November 2009 05:26 Go to previous messageGo to previous message
CarrierII is currently offline  CarrierII
Messages: 3804
Registered: February 2006
Location: England
Karma:
General (3 Stars)

Assuming you've got a large (preferably alphabetical) list of every preset:
Psuedocode:
CODE

Where the input file must look like this:
*PRESET_NAME*[U],[/U] DAMAGE_VALUE


In short, a simple text file and then check every line for whether the first part (before the comma) is a valid preset name (by binary searching an alphabetical list of every preset name) then setting the damage points for that preset (I don't know how that's achieved, so I made a up a routine for it. Smile )


Renguard is a wonderful initiative
Toggle Spoiler

[Updated on: Wed, 18 November 2009 05:26]

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
Previous Topic: request - Nod Rocket Soldier bug
Next Topic: music not working for map
Goto Forum:
  


Current Time: Sat Jan 11 09:54:06 MST 2025

Total time taken to generate the page: 0.00673 seconds