logo   login
right
Home Forums Downloads Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Forum Info
Forum Members: 18,581
Total Threads: 8,668
Posts: 94,539

Administrators:
DeeZire, Redemption

There are currently 45 users online.
Partner Links

Free Credit Repair

Learn the Ticket Broker Secrets
Advertisements

DeeZire Online > Editing Community > Map Authoring » Need AI Scripting Help

Map Authoring Any map making or authoring related topics for C&C or BFME games go here.

Reply
 
LinkBack Thread Tools
Old 05-05-2005, 02:29 PM   #1 (permalink)
Junior Member
 
Join Date: May 2005
Posts: 3
Send a message via MSN to sekanz
Default Need AI Scripting Help

I need some help getting the AI to build units. Im want to write my own script for a particular map i made, to tailor the AI to the map to make it tougher. Sorry about the book i wrote, but i wanted to make sure there was no confusion in the case of my issue.

I can get it to build a base (all the way up to supers) and an extra dozer, but it wont build anything from the barracks or warfactory (experimenting with just USA).

Ive set the units' production condition to a subroutine that executes every frame, and checks if the barracks has been built. Ive set the teams' priorities, the number of frames to build for, and made sure that the subroutine is active and that nothing turns it off. Difficulty settings are all correct (i left all checkboxes checked on all the scripts), so everything should run no matter what settings are chosen by the player/tester.

The barracks builds (the entire base builds), but they never produce anything. Ive studied skirmish.scb for hours (literally hours, 20 or so), and i cant figure out how the AI decides WHEN to make a team. They dont deactivate the team production condition subroutines, so to me, the team should be built every frame (because the script is set to check itself every frame) once the conditions are met. I dont use a sub for the construction of the dozer, but neither does skirmish.scb (uses 'AI start building team ...'). All the other teams are created with subs, except i cant get them to create. Ive mimicked skirmish.scb as closely as ive seen possible...

So i must be missing something somewhere. Anyone know where?
sekanz is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-11-2005, 03:00 AM   #2 (permalink)
Junior Member
 
Join Date: May 2005
Posts: 3
Send a message via MSN to sekanz
Default

Anyone have any ideas?
sekanz is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
C&C3 Map Scripting Troilus98 Map Authoring 0 06-12-2007 12:25 PM
Scripting Monkeystuff Generals & Zero Hour Editing 5 11-11-2004 05:59 AM
AI Scripting ThePrinc3 Generals & Zero Hour Editing 6 08-18-2004 11:59 AM
Scripting Help Carbon Generals & Zero Hour Editing 0 07-14-2003 02:48 PM
AI scripting seebo Generals & Zero Hour Editing 8 04-19-2003 06:10 AM


All times are GMT -4. The time now is 02:06 PM.


Design By: Miner Skinz.com
Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.