It's basically a bunch of courtyards and generators (BASICALLY. Obviously it's much more than that!) but AIs who run into the sides of the courtyards look like total morons, and in doing so make me look like one
I fear planning
Moderator: Moderators
-
jedimoose32
- Field Commander

- Posts: 938
- Joined: Thu Jan 24, 2008 12:41 am
- Projects :: Engineering Degree
- Location: The Flatlands of Canada
I fear planning
I'm working on my Iridonia map and have run into a problem: planning.
It's basically a bunch of courtyards and generators (BASICALLY. Obviously it's much more than that!) but AIs who run into the sides of the courtyards look like total morons, and in doing so make me look like one
. Before I continue I would like to say that I have searched this website for mentions of the words "hubs" "planning" and other related terms as well as reading the Everything you need topics on it. So far on my map I have been fine just using lots of barriers but now I need planning. When I tried to add some however the game crashes. When I remove it the game works fine. HELP!!
It's basically a bunch of courtyards and generators (BASICALLY. Obviously it's much more than that!) but AIs who run into the sides of the courtyards look like total morons, and in doing so make me look like one
-
Grev
- Hoth Battle Chief

- Posts: 3132
- Joined: Sun Dec 09, 2007 11:45 pm
- Projects :: No Mod project currently.
- Location: A Certain Box Canyon
Re: I fear planning
Best planning in small spaces= small hubs= small connectors= easy through tight spaces.
-
ryukaji
- Major

- Posts: 513
- Joined: Mon Sep 17, 2007 7:46 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
Re: I fear planning
Planning is really easy.
Step 1: Add hubs

-Make sure to place hubs over spawn areas
Step 2: Add Connections

-Drag mouse from one hub to another to add a connection. Connect hubs where you want Ai to be able to go
Save then munge and you should be fine and AI should follow connections.
Step 1: Add hubs

-Make sure to place hubs over spawn areas
Step 2: Add Connections

-Drag mouse from one hub to another to add a connection. Connect hubs where you want Ai to be able to go
Save then munge and you should be fine and AI should follow connections.
-
MasterSaitek009
- Black Sun Slicer
- Posts: 619
- Joined: Wed Aug 23, 2006 4:10 pm
Re: I fear planning
Post your log and Lua. It may be that a memory pool is set too low.
-
Grev
- Hoth Battle Chief

- Posts: 3132
- Joined: Sun Dec 09, 2007 11:45 pm
- Projects :: No Mod project currently.
- Location: A Certain Box Canyon
Re: I fear planning
How do you change memory pool?
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: I fear planning
from a conquest lua:
Code: Select all
SetMemoryPoolSize ("ClothData",20)
SetMemoryPoolSize ("Combo",50) -- should be ~ 2x number of jedi classes
SetMemoryPoolSize ("Combo::State",650) -- should be ~12x #Combo
SetMemoryPoolSize ("Combo::Transition",650) -- should be a bit bigger than #Combo::State
SetMemoryPoolSize ("Combo::Condition",650) -- should be a bit bigger than #Combo::State
SetMemoryPoolSize ("Combo::Attack",550) -- should be ~8-12x #Combo
SetMemoryPoolSize ("Combo::DamageSample",6000) -- should be ~8-12x #Combo::Attack
SetMemoryPoolSize ("Combo::Deflect",100) -- should be ~1x #combo
SetMemoryPoolSize("Aimer", 75)
SetMemoryPoolSize("AmmoCounter", weaponCnt)
SetMemoryPoolSize("BaseHint", 1024)
SetMemoryPoolSize("EnergyBar", weaponCnt)
SetMemoryPoolSize("EntityCloth", 32)
SetMemoryPoolSize("EntityFlyer", 32)
SetMemoryPoolSize("EntityHover", 32)
SetMemoryPoolSize("EntityLight", 200)
SetMemoryPoolSize("EntitySoundStream", 4)
SetMemoryPoolSize("EntitySoundStatic", 32)
SetMemoryPoolSize("MountedTurret", 32)
SetMemoryPoolSize("Navigator", 128)
SetMemoryPoolSize("Obstacle", 1024)
SetMemoryPoolSize("PathNode", 1024)
SetMemoryPoolSize("SoundSpaceRegion", 64)
SetMemoryPoolSize("TreeGridStack", 1024)
SetMemoryPoolSize("UnitAgent", 128)
SetMemoryPoolSize("UnitController", 128)
SetMemoryPoolSize("Weapon", weaponCnt)
- elfie
- Field Commander

- Posts: 931
- Joined: Fri Jan 25, 2008 8:26 pm
- xbox live or psn: no live
- Location: Coruscant, Jedi Temple
- Contact:
Re: I fear planning
planning is very simple. All you have to do is go in the planning section in ZE, add a hub, add another hub and connect the hubs and when the AI enter the hubs they will follow the specified path. Get it?
-
MasterSaitek009
- Black Sun Slicer
- Posts: 619
- Joined: Wed Aug 23, 2006 4:10 pm
Re: I fear planning
I think that he already knows how to add them.
Post your log and Lua and we might have a little more to go on.
But for some reason they are making the map crash.jedimoose32 wrote:When I tried to add some however the game crashes. When I remove it the game works fine. HELP!!
Post your log and Lua and we might have a little more to go on.
-
jedimoose32
- Field Commander

- Posts: 938
- Joined: Thu Jan 24, 2008 12:41 am
- Projects :: Engineering Degree
- Location: The Flatlands of Canada
Re: I fear planning
Where do I find the log? I've never needed it or cared before.
Here is the lua:
Don't ask why things are randomly indented I use Notepad++ for editing and when I switched it over to regular notepad it indented all the stuff that I added or editted plus some other random stuff. Would you like ZE screenshots as well?
PS: Yes, I do know how to plan, as I mentioned before. That's why I'm asking what the heck is happening.
EDIT: So far, since my map is mostly outdoors, I've been getting past by using barriers, which I might stick to for the rest of this map. But for my next map that I'm planning I WILL REALLY NEED to do planning. Also, my barrier count is currently 197 so it would be much easier to plan.
Here is the lua:
Hidden/Spoiler:
PS: Yes, I do know how to plan, as I mentioned before. That's why I'm asking what the heck is happening.
EDIT: So far, since my map is mostly outdoors, I've been getting past by using barriers, which I might stick to for the rest of this map. But for my next map that I'm planning I WILL REALLY NEED to do planning. Also, my barrier count is currently 197 so it would be much easier to plan.
-
ryukaji
- Major

- Posts: 513
- Joined: Mon Sep 17, 2007 7:46 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
Re: I fear planning
Did you do anything other than add planning before you got crashes? I see you have custom sides and there could be an issue there.
To get a log you can run the BF2_Modtools.exe but first it must be placed in your Star Wars Battlefront II/GameData directory
To get a log you can run the BF2_Modtools.exe but first it must be placed in your Star Wars Battlefront II/GameData directory
-
jedimoose32
- Field Commander

- Posts: 938
- Joined: Thu Jan 24, 2008 12:41 am
- Projects :: Engineering Degree
- Location: The Flatlands of Canada
Re: I fear planning
No. I just did planning. I always finish up with the sides first to get the dirty work out of the way, and it worked fine, until I started the map and the planning and...you know.ryukaji wrote:Did you do anything other than add planning before you got crashes? I see you have custom sides and there could be an issue there.
