Page 2 of 2

Posted: Wed Jan 12, 2005 4:13 pm
by Saturn_V
look at the Hoth lua file, you'll see a line that refers to Tow Cables

SetMemoryPoolSize("OrdnanceTowCable", 8 ) -- need extra for wrapped/fallen cables

you need to add a similar one to your mod's lua.

Posted: Wed Jan 12, 2005 11:04 pm
by konicon
heya. I made a fresh map with a size of 1024 x 1024 and i walked north, south, east and west from the spawn point, but i still got those Unit Flew Out of world errors

Message Severity: 2
.\source\EntitySoldier.cpp(2663)
Unit flew out of world, x = 1000.004028, z = -27.204935


Message Severity: 2
.\source\EntitySoldier.cpp(2663)
Unit flew out of world, x = 30.333670, z = -1000.036377

It seems that if i try to travel any more than 1000 metres on foot away from the centre of the map, i die. Anyone else wana try this out on their machine and see if its a problem on their system as well?

Posted: Thu Jan 13, 2005 2:26 pm
by TAW_pinx
Hi Saturn - I really appreciate your help...Thanks!

I'm having a little problem making my racing map. My map is set up with 6 spawns, 2 in the middle and 4 on the outskirts.

2 in the middle spawn my vehicles fine (2 vehicles each)

4 on the outside only spawn about 3 at each spawn when I specified 12 at each spawn. Do I have to change the value of the "EntityHover", 12 to say 52 instead of 12 or something like that?
I'm not sure I know what the 12 stands for and was thinking that it was the problem.

Basically the error I'm getting is that Unable to build "EntityHover" - but it must be specified to the vehicle spawns that aren't spawning.

Any thoughts?

Posted: Thu Jan 13, 2005 2:38 pm
by Saturn_V
spawn less vehicles to start with. get it working one step at a time. Be mindful of what SPTest tells you in the error log.

Konicon - make smaller maps, dude. A small, well-designed map will be better than a huge, empty do-nothing-but-eat-your-computer's memory map

Posted: Thu Jan 13, 2005 2:42 pm
by TAW_pinx
Well - like you can see in my Scrim Map for download, I got all of those vehicles working.
It was only 6 per side and they all spawned, so can you confirm that the SetMemoryPoolSize("EntityHover",12) - 12 refers to the amount of hover vehicles that I want to spawn?

Basically if I set that to 52 - all 52 vehicles should work. I think that's the only issue, Saturn.

Posted: Thu Jan 13, 2005 3:43 pm
by Saturn_V
yes, 12 refers to the total hover vehicles - but do run it in SPTest and note any errors.

Posted: Thu Jan 13, 2005 4:44 pm
by TAW_pinx
Thank you - I believe this should solve the problem. I will try tonight.

WOOHOO! 52 Vehicles baby!

Working on my race track now...I made a HUGE trench and whenever you go over a bump if you're not a pilot - DEAD.

Thanks again Saturn for your help in understanding the .lua files.

Posted: Fri Jan 14, 2005 3:31 am
by konicon
:shock: That stil doesn't solve the problem saturn, only avoids it. And besides if i can't make maps bigger than 256 x 256, i doubt we'll be seeing a decent version of my Death Star Trench Run map. :cry:

Any idea whats goin on here psyhch0fred? The game seems to kill me if i try to venture out of maps larger than 256 x 256. Could this be a limitation of the game coded into it or something or is there some little file somewhere i can just change to correct this problem? I'd really appreciate your help fred!!!

Posted: Fri Jan 14, 2005 1:42 pm
by Saturn_V
I stand by my comment: big empty map = rubbish game ; big map full of stuff = death by lag

Why not try making maps that are progressively larger and find your limit that way?

Edit: I just made a map with a terrain that is 1024x1024 that runs ok.

Posted: Sat Jan 15, 2005 12:25 am
by konicon
Fair enough.

I tried making a map a mere 304 x 304 this time, but it still gave me the same error:

Message Severity: 2
.\source\EntitySoldier.cpp(2663)
Unit flew out of world, x = -1000.030396, z = 122.906479

It's almost like the game still thinks it's a 256 x 256 map, and it kills me if i try to venture beyond that limit. Mind you this only happens when you do it on foot, not in vehicles.

When you made that 1024 x 1024 map saturn, did u try venturing out towards the edges on foot?

Posted: Sat Jan 15, 2005 4:20 am
by Saturn_V
Err, not on foot. I flew an Xwing out to the edge of the terrain, and then beyond it. If I still have the test map, i'll try getting out near the edge and seeing what happens.

Posted: Sun Jan 16, 2005 1:53 am
by konicon
Ok thanks let me know what happens.

Posted: Sun Jan 30, 2005 7:59 am
by Dragonum
Message Severity: 2
.\graphics\pc\pcRedSegment.cpp(309)
pcShaderSegment: no shader for rendertype glow [0x6a3827bc]

what does this mean, the map crashed a few secands after the bots spawned and vehicles are on the map.

without vehicles it work.
i test, to put one vehicle,typ after the other and it crashed, when a lot of vehicle are on the map.
is this a problem, with the number of vehicles on the map.
i try to put 72 vehicles and 110 bots on my map, is this to much?
and there is the problem?