Search found 9 matches
- 09 Feb 2007, 22:55
- Forum: Technical Help / Troubleshooting
- Topic: An AI Question...
- Replies: 15
- Views: 8432
Re: An AI Question...
Sorry bout the confusion... my last post (before this one) is a kind of update... no more cute trucks. And thanks Kamaze, I wasn't aware of that tag. Now for... INT numStructsByTypeInArea(PLAYER, TYPE, X1,Y1, X2,Y2) // What are the "TYPE"s avaliable? I have tried 'factory' which is defined...
- 07 Feb 2007, 23:59
- Forum: Technical Help / Troubleshooting
- Topic: An AI Question...
- Replies: 15
- Views: 8432
Re: An AI Question...
TYPE is referring to the structure types:factory,cyborg factory,research facility,power plant,headquarter I think trigger buildAndUpgradeFactoriesTr (wait, 150); ///////////////////////////////////////////////////////////////////// // Build and upgrade Factories <- !!! Does NOT upgrade ATM !!! even...
- 07 Feb 2007, 22:27
- Forum: Other Talk
- Topic: FMVs
- Replies: 13
- Views: 6593
Re: FMVs
Well, I guess one could record interesting 'new versions' from within their backyard ;P
- 07 Feb 2007, 04:11
- Forum: Technical Help / Troubleshooting
- Topic: An AI Question...
- Replies: 15
- Views: 8432
Re: An AI Question...
I am unclear on these two fuctions found in ScriptLang... INT numStructsByTypeInArea(PLAYER, TYPE, X1,Y1, X2,Y2) // What are the "TYPE"s avaliable? Return the number of structures of a certain type in an area. INT skGetFactoryCapacity( STRUCTURE str) Return the capacity of factory str. // ...
- 01 Feb 2007, 11:52
- Forum: Technical Help / Troubleshooting
- Topic: An AI Question...
- Replies: 15
- Views: 8432
Re: An AI Question...
ok, that sorts a bit out... thanks here is where im at currently; ///////////////////////////////////////////////////////////////////// event gameStart (CALL_GAMEINIT) { groupAddArea(buildGroup, player, 0, 0, (mapWidth*128), (mapHeight*128)); initIterateGroup(buildGroup); droid = iterateGroup(...
- 27 Jan 2007, 09:15
- Forum: Technical Help / Troubleshooting
- Topic: An AI Question...
- Replies: 15
- Views: 8432
Re: An AI Question...
already on the site here Do you mean the scriptlang.rtf? If so... it gives me some ideas, but I seem to have trouble actually getting it to work. And editing the original AI (which is what I have been doing as of late) seems so inefficient. This is because I'll eventually re-write the entire script...
- 27 Jan 2007, 01:20
- Forum: Technical Help / Troubleshooting
- Topic: An AI Question...
- Replies: 15
- Views: 8432
Re: An AI Question...
I'll use the numeric groups... and btw, would dling the source provide further docs that define the scriptlang?Watermelon wrote: the 'Group' here is referring to the commander group not the numeric ones(Ctrl+1,Ctrl+2 etc),not sure which one is what you wanted to use though.
- 26 Jan 2007, 06:52
- Forum: Development
- Topic: Metal Storm
- Replies: 24
- Views: 13781
Re: Metal Storm
... wow, lol. AA, anti-missile, anti-tank, anti-whatever
- 26 Jan 2007, 04:32
- Forum: Technical Help / Troubleshooting
- Topic: An AI Question...
- Replies: 15
- Views: 8432
An AI Question...
And yes, I'm new at scripting, and I have the theory of coding down. And know what I would like to do. Currently the AI builds in a semi-random fashion. I'd like to work it towards a structured build order. But I need to figure out how to give an order... and as far as I know (and read), this should...