Jump to content

Recommended Posts

Posted

Has anyone come across a large map script for GE10...or know how to update the one for GE9?  This is the script i was using on editor 9......

setAudioCullingWorldProperties(-8192, -100, -8192, 8192, 500, 8192, 16);
setLightCullingWorldProperties(-8192, -100, -8192, 8192, 500, 8192, 16);
setShapeCullingWorldProperties(-8192, -100, -8192, 8192, 500, 8192, 64);

 

When trying to run this in GE10...I get errors listed below. 

 

Warning (script): Function 'setAudioCullingWorldProperties' called with invalid number of arguments. 7 instead of 9.

Script error in setAudioCullingWorldProperties: Function 'setAudioCullingWorldProperties' called with invalid number of arguments. 7 instead of 9
LUA call stack:
  =[C]:-1 setAudioCullingWorldProperties
  =C:/Users/xxxxx/AppData/Local/GIANTS Editor 64bit 10.0.3/scripts/LargeMap.lua:9 
Warning (script): Function 'setLightCullingWorldProperties' called with invalid number of arguments. 7 instead of 9.

Script error in setLightCullingWorldProperties: Function 'setLightCullingWorldProperties' called with invalid number of arguments. 7 instead of 9
LUA call stack:
  =[C]:-1 setLightCullingWorldProperties
  =C:/Users/xxxxx/AppData/Local/GIANTS Editor 64bit 10.0.3/scripts/LargeMap.lua:10 
Warning (script): Function 'setShapeCullingWorldProperties' called with invalid number of arguments. 7 instead of 9.

Script error in setShapeCullingWorldProperties: Function 'setShapeCullingWorldProperties' called with invalid number of arguments. 7 instead of 9
LUA call stack:
  =[C]:-1 setShapeCullingWorldProperties
  =C:/Users/xxxxx/AppData/Local/GIANTS Editor 64bit 10.0.3/scripts/LargeMap.lua:11

 

 

Posted

You could try this modified from this post

https://gdn.giants-software.com/thread.php?categoryId=4&threadId=15656

 

setAudioCullingWorldProperties(-8192, -100, -8192, 8192, 500, 8192, 16, 0, 0);
setLightCullingWorldProperties(-8192, -100, -8192, 8192, 500, 8192, 16, 0, 0);
setShapeCullingWorldProperties(-8192, -100, -8192, 8192, 500, 8192, 16, 0, 0);

or

setAudioCullingWorldProperties(-8192, -100, -8192, 8192, 500, 8192, 16, 0, 9000)
setLightCullingWorldProperties(-8192, -100, -8192, 8192, 500, 8192, 16, 0, 9000)
setShapeCullingWorldProperties(-8192, -100, -8192, 8192, 500, 8192, 16, 0, 9000)

from

https://gdn.giants-software.com/thread.php?categoryId=4&threadId=15658

or this one for 16x maps

-- Author:jcalv
-- name:JuotcaX16RandSolved
-- Namespace: local
-- Description:
-- Icon:
-- Hide: no
-- AlwaysLoaded: yes
setAudioCullingWorldProperties(-4096, -100, -4096, 4096, 500, 4096, 16, 200, 1000)
setLightCullingWorldProperties(-4096, -100, -4096, 4096, 500, 4096, 16, 200, 1000)
setShapeCullingWorldProperties(-4096, -100, -4096, 4096, 500, 4096, 64, 200, 1000)

 

  • Like 1
  • 3 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now