Download

Extend WorldInfo class?

I’m trying to find an appropriate place to spawn a custom Translation class. Seems WorldInfo is the one constant class available for clients and servers, so I’d like to spawn it in there.

However I don’t see any means to specify an extended class for WorldInfo. Any ideas?

Maybe try using the GameReplicationInfo class

I seem to recall that one of the ini files (engine ini maybe) holds the class type for a few things (its how I extended the gameviewport class). maybe check there.
failing that, you can add a custom MapInfo into your level, which should be available from WorldInfo IIRC