Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Tiberian Technologies / Blackhand Studios » Tiberian Technologies Forum » Work is being resumed on scripts for Renegade
Re: Work is being resumed on scripts for Renegade [message #489247 is a reply to message #489246] Wed, 10 September 2014 17:20 Go to previous messageGo to previous message
dblaney1 is currently offline  dblaney1
Messages: 358
Registered: March 2014
Location: United States
Karma:
Commander
jonwil wrote on Wed, 10 September 2014 17:18

IF you really want to do things differently, just write your own listgamedefs console command as part of a SSGM plugin. All the things you need are already there. You can use the Get_Game_Definitions engine call to get the list of definitions that listgamedefs outputs. You can also remove the existing listgamedefs console command from the console functions list. And you can add your new one to the list.

The actual output code for listgamedefs is just this
Console_Output("Available game definitions:\n");
for (HashTemplateIterator<StringClass, GameDefinition> gameDefinition(gameDefinitions); gameDefinition; ++gameDefinition)
{
Console_Output("%s\n", gameDefinition.getValue().name);
}
Console_Output("\n");
where gameDefinitions is the same list you would get back from calling Get_Game_Definitions




Thanks, this works for now.

Edit: Just tested it, all good to go. Solves my issue for now.

[Updated on: Wed, 10 September 2014 17:56]

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
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
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
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
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
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
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
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
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
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
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
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
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: Now collecting scripts 4.1 bugs
Next Topic: Keyboard - Mouse stop functioning
Goto Forum:
  


Current Time: Wed Nov 27 11:02:03 MST 2024

Total time taken to generate the page: 0.02655 seconds