Yes, you should be able to use all the ones exported by the engine,
material system, filesystem and studiorender. The game factory supplies
ones exported by the game dll. The missing factory is the vphysics
library, I will look at getting that added, in the mean time try this
snippet:

 // Load the dependent components
 g_PhysicsDLL = filesystem->LoadModule( "vphysics" , NULL, false );
 physicsFactory = Sys_GetFactory( g_PhysicsDLL );
 if ( !physicsFactory )
 {
      Error( "Sys_LoadPhysicsDLL:  Failed to load vphysics\n" );
 }

!(physics = (IPhysics*)physicsFactory(VPHYSICS_INTERFACE_VERSION, NULL))



Make sure you also do a filesystem->UnloadModule() on destruction.

- Alfred

----Original Message----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ronny
Schedel Sent: Friday, December 03, 2004 5:23 PM To:
[EMAIL PROTECTED] Subject: [hlcoders] Other interfaces in
serverplugin

> Hello,
>
> I tried to use another interface in the serverplugin, but it didnt
> worked. Can we use other interfaces there? If yes, which?
>
> Greets,
>
> Ronny
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list
> archives, please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to