BCU main page Bridge Commander Universe
...welcome to the new world.
 
 FAQFAQ  RanksRanks  RulesRules   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups  Staff SiteStaff Site    RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Quickbattle AI frustration

 
Post new topic   Reply to topic    Bridge Commander Universe Forum Index -> BC Scripting
View previous topic :: View next topic  
Author Message

Mongooser

Cadet 4th Class
Cadet 4th Class




Joined: 20 Aug 2006
Posts: 14

Offline

 

 



Reply with quote

Post Posted: 08-20-2006 04:12 PM Post subject: Quickbattle AI frustration

Hello all, i have a frustrating problem with the AI in quickbattle.

I am attempting to modify the fedattack.py Compound ai file by adding a conditional to the main priority web that does a "exists?" on if a "nebula" object exists. Attached to this conditional i have a "gotoside" plainAI. The plainAI uses "nebula" as the object and the vside is "App.TGPoint3_GetModelRight()". Obviously i put the object for the conditional and the "gotoside" as being "nebula" because i want all the vessels that call the fedattack AI to go to the side of the nebula in quickbattle. However, when i save this updated fedattack AI and start up quickbattle, what ends up happening is two things.

Firstly, it does not crash, so i guess that is a good thing. However, the ai the calls the fedattack AI do absolutly nothing. They just sit there letting enemies who use another AI string rip them apart.

Secondly, every time this happens, at the start of the quickbattle the view does not switch automatically from bridge perspective to 3rd person perspective behind the ship. That is to say, whenever it is going to bug out and have the AI do nothing, my view remains in the bridge for some odd reason..

If anyone knows how i can fix this so that my AI actually works, i would be extremely grateful. Thanks =/.

Back to top
View user's profile Send private message

MLeo

Fleet Admiral
Fleet Admiral


Age: 22
Zodiac: Aquarius
Joined: 26 Nov 2002
Posts: 11439
Location: Netherlands
Offline

 

 



Reply with quote

Post Posted: 08-20-2006 10:45 PM Post subject:

Anything in the console?

Crashing only happens when you are doing something very advanced (would crash Python) or doing things with nifs.


_________________

How to beat the Black Screen Of Death and Script problems Also handles Console/Screen/Error report/dump.
BC Technical FAQ [Last updated 26/12/2005]
"Trust me, I'm a con artist" - Moist von Lipwig, "Going Postal, Discworld"

Back to top
View user's profile Send private message Send e-mail MSN Messenger

Mongooser

Cadet 4th Class
Cadet 4th Class




Joined: 20 Aug 2006
Posts: 14

Offline

 

 



Reply with quote

Post Posted: 08-24-2006 05:54 PM Post subject:

I guess noone is around that can help or has any time. =-/

Back to top
View user's profile Send private message

Imperial_Destroyer

Rear Admiral
Rear Admiral


Age: 26
Zodiac: Sagittarius
Joined: 01 Nov 2004
Posts: 1604
Location: Georgia
Offline

 

 



Reply with quote

Post Posted: 08-24-2006 06:37 PM Post subject:

no, we need console report to help you


_________________
did you hear the one where a lawyer had to teach a priest about ethics?

Back to top
View user's profile Send private message

MLeo

Fleet Admiral
Fleet Admiral


Age: 22
Zodiac: Aquarius
Joined: 26 Nov 2002
Posts: 11439
Location: Netherlands
Offline

 

 



Reply with quote

Post Posted: 08-24-2006 07:12 PM Post subject:

Mongooser wrote:
I guess noone is around that can help or has any time. =-/

I believe I was trying to help.

But, we still don't have telepathic abilities.

Anyway, the reason why the view didn't change, is because a script error _has_ happend.

A console report will help to find out what the error is.


If BC freezes, try alt tabbing and see if you cand find the BC icon, it will be a console, copy the contents and post it here.


_________________

How to beat the Black Screen Of Death and Script problems Also handles Console/Screen/Error report/dump.
BC Technical FAQ [Last updated 26/12/2005]
"Trust me, I'm a con artist" - Moist von Lipwig, "Going Postal, Discworld"

Back to top
View user's profile Send private message Send e-mail MSN Messenger

Mongooser

Cadet 4th Class
Cadet 4th Class




Joined: 20 Aug 2006
Posts: 14

Offline

 

 



Reply with quote

Post Posted: 08-24-2006 08:22 PM Post subject:

Ok sorry. =D . mleo i will try to catch you on msn. I think it might be my idea that is wrong.

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic

All times are GMT

Page 1 of 1
   Bridge Commander Universe Forum Index -> BC Scripting
 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001, 2005 phpBB Group
Bridge Commander Universe is a Nightsoft company. All rights reserved.