Hint node question & terrain problem [Solved]

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
501st_commander
Master Bounty Hunter
Master Bounty Hunter
Posts: 1570
Joined: Wed Dec 10, 2008 7:48 pm

Hint node question & terrain problem [Solved]

Post by 501st_commander »

I just resized my hoth map to give it more outside of the area room.

The question is,
if a hint node is buried in the ground, will the Al still use it?

Edit:

I made a new terrain (256x256), but its not saving. What is going on?
Last edited by 501st_commander on Thu Mar 18, 2010 11:05 am, edited 1 time in total.
User avatar
lucasfart
Sith
Sith
Posts: 1440
Joined: Tue Feb 24, 2009 5:32 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Australia

Re: Hint node question & terrain problem

Post by lucasfart »

How CAN they use the hintnodes if they're underground?
AI need to be able to go into the hintnode to use it im pretty sure. If its underground they can't reach it, unless you're talking about underground tunnels/caves in which case it would probably be yes. The easiest way to find out is to put a sniping/other hintnode under the terrain where you want it and see if it works.
Also, try a manual clean and munge to fix your munge error, probably.
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: Hint node question & terrain problem

Post by Teancum »

AI only see "paths" in two dimensions, so it probably wouldn't matter.
User avatar
lucasfart
Sith
Sith
Posts: 1440
Joined: Tue Feb 24, 2009 5:32 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Australia

Re: Hint node question & terrain problem

Post by lucasfart »

What do you mean by "it wouldn't matter"? That the AI would just ignore the hintnodes?
501st_commander
Master Bounty Hunter
Master Bounty Hunter
Posts: 1570
Joined: Wed Dec 10, 2008 7:48 pm

Re: Hint node question & terrain problem

Post by 501st_commander »

lucasfart wrote:Also, try a manual clean and munge to fix your munge error, probably.
Not the munge. I click "save" in ZE close it. Then repoen and load the map - its back to how it was before i made terrain changes. :?
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: Hint node question & terrain problem

Post by AQT »

lucasfart wrote:What do you mean by "it wouldn't matter"? That the AI would just ignore the hintnodes?
The AI would use the hint nodes anyway granted if they can access them. This falls under the same category as overlaying paths.
User avatar
lucasfart
Sith
Sith
Posts: 1440
Joined: Tue Feb 24, 2009 5:32 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Australia

Re: Hint node question & terrain problem

Post by lucasfart »

@AQT - oh ok. thats basically what i was saying :) .
@501st - hmm. i think i remember someone else having this problem. have you tried a search yet?
501st_commander
Master Bounty Hunter
Master Bounty Hunter
Posts: 1570
Joined: Wed Dec 10, 2008 7:48 pm

Re: Hint node question & terrain problem

Post by 501st_commander »

yes i have searched, no luck


So i have to have the nodes on top?
User avatar
lucasfart
Sith
Sith
Posts: 1440
Joined: Tue Feb 24, 2009 5:32 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Australia

Re: Hint node question & terrain problem

Post by lucasfart »

They have to be somewhere where the ai can get to them. If you have underground tunnels and place one in them, the ai will use it. if it is just randomly placed under the terrain, with no way to get down to it, the ai wont use it.
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: Hint node question & terrain problem

Post by AQT »

lucasfart wrote:@AQT - oh ok. thats basically what i was saying :) .
Well not exactly based on what you stated above. Let me be very clear: the AI only think in two dimensions. Imagine a coordinate plane, just the X and Y axes. Now regardless of whatever height a hint node is placed, an AI will use it being that the AI is directly on it, below it, or above it. In other words, imagine a vertical line drawn straight through the node going both directions to infinity, and if an AI is anywhere on this line it will use the node (unless passage to the node is impeded by an obstacle of course).
User avatar
lucasfart
Sith
Sith
Posts: 1440
Joined: Tue Feb 24, 2009 5:32 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Australia

Re: Hint node question & terrain problem

Post by lucasfart »

ohhh i get you now. thanks for that AQT
FragMe!
Gametoast Staff
Gametoast Staff
Posts: 2244
Joined: Sat May 13, 2006 12:34 am
Projects :: Not sure keep changing my mind.
Games I'm Playing :: F1 and SWBF
xbox live or psn: No gamertag set
Location: Origin name GT_FragMe
Contact:

Re: Hint node question & terrain problem

Post by FragMe! »

Easiest way to check behavior of hint nodes is to place a couple of mine or snipe nodes, one on the ground and one in the air and see what the AI does with it.

As for your other question, are you changing the map size after you have started, if so this is not really a good thing to do as a lot of your objects will be misplaced or displaced as the case maybe.
The way to know if you have successfully changed the terrain size is there will be no terrain texture. Once again the best way to check to see if you are doing it right is create a test map, change the size, save, close ZE, reopen and see if it worked.

I know simple suggestions but sometimes simple is good.
501st_commander
Master Bounty Hunter
Master Bounty Hunter
Posts: 1570
Joined: Wed Dec 10, 2008 7:48 pm

Re: Hint node question & terrain problem

Post by 501st_commander »

FragMe! wrote:As for your other question, are you changing the map size after you have started, if so this is not really a good thing to do as a lot of your objects will be misplaced or displaced as the case maybe.
The way to know if you have successfully changed the terrain size is there will be no terrain texture. Once again the best way to check to see if you are doing it right is create a test map, change the size, save, close ZE, reopen and see if it worked.

I know simple suggestions but sometimes simple is good.
When i did resize the map none of the objects where misplaced.

Yes, the maps texture was wiped.

I went an resized the map then saved it. Closed ZE. Repoend and loaded the map. Everything was back to normal..

Edit:
I have successfully resized the map!

If you are wondering how:
Hidden/Spoiler:
backed up the world
Deleted all the layers except the base
Then removed all the objects, nodes, paths, regions, etc. on the base layer
saved the map
resized the map
saved it again
closed ZE
moved the backup layers to the old world file (not the .ter file or .wld)
reloaded ZE
map is resized and my objects are there!
Post Reply