Wikis / Unreal Wiki / Legacy:MultiSkyboxZoneInfo

UT2003 Version

  1. //=============================================================================
  2. // MultiSkyboxZoneInfo.
  3. // Input the tag of the skybox you want the fake backdrop surfaces of the zone to display
  4. //
  5. // (c) Zxanphorian 2002
  6. // tornado.f5@worldnet.att.net
  7. //=============================================================================
  8. class MultiSkyboxZoneInfo extends ZoneInfo
  9. 	placeable;
  10.  
  11.  
  12.  
  13. var() name SkyZoneTag;
  14.  
  15.  
  16.  
  17. simulated function LinkToSkybox()
  18. {
  19. 	local SkyZoneInfo Skybox;
  20.  
  21. 	Super.LinkToSkybox();
  22. 	foreach AllActors( class 'SkyZoneInfo', Skybox, SkyZoneTag )
  23. 	{
  24. 		SkyZone = Skybox;
  25. 	}
  26.  
  27.  
  28. }

UT Version

  1. class SelectiveSkyZoneInfo expands ZoneInfo;
  2.  
  3. var() name SelectedSky;
  4.  
  5. simulated function LinkToSkybox()
  6. {
  7. 	local skyzoneinfo TempSkyZone;
  8.  
  9. 	if(SelectedSky != 'None')
  10. 	{
  11. 		foreach AllActors(class'SkyZoneInfo', TempSkyZone, SelectedSky)
  12. 		{
  13. 			SkyZone = TempSkyZone;
  14. 			return;
  15. 		}
  16. 	}
  17.  
  18. 	foreach AllActors( class 'SkyZoneInfo', TempSkyZone, '' )
  19. 		SkyZone = TempSkyZone;
  20.  
  21. 	foreach AllActors( class 'SkyZoneInfo', TempSkyZone, '' )
  22. 		if( TempSkyZone.bHighDetail == Level.bHighDetailMode )
  23. 			SkyZone = TempSkyZone;
  24. }

UT version (alternate version?)

class MultiSkyZoneInfo expands ZoneInfo;
 
simulated function LinkToSkybox()
{
	local skyzoneinfo Sky;
 
	Super.LinkToSkybox();
 
	foreach AllActors( class 'SkyZoneInfo', Sky, Event )
	{
		SkyZone = Sky;
	}
}

Page Information

2022-11-18T09:48:20.662380Z 2006-01-26T19:59:04Z C906a28e.virtua.com.br * This version is inside the multisky example map, dunno what the difference https://wiki.beyondunreal.com/Legacy:MultiSkyboxZoneInfo Attribution-NonCommercial-ShareAlike 3.0