| 01-12-2003, 12:59 AM | #1 |
Guest | Ok a few things, would appreciate any help. 1) (a) Im trying to make it so that a player can research upgrades for a computer controlled army. I was hoping that I could do this through the process of providing a custom "blacksmith." with the abilities that I wanted researchable added in. I then have a timed event that sets the research level of the computer equal to that of the player. Now this works fine and dandy except for one problem. If I have say ghoul frenzy in the forge it requires that the player have the undead buildings built. Is there some way to change what is required to research a particular thing? (Im not afraid to jump into .slks and .txt... I just havent been able to find where I could... Also I would like this playable on bnet.) I would really prefer not to have to hide a ton of minatureized buildings on my map. 1 (b) I did try doing this a different route where as a person could buy an "item" and the computer would run an on aquired item event to check to see if it was a particular item and then set the research level of the comp if it returened true. The problem I encountered with this however is that upon buying the item if I did not include a wait command the events would run checking for the item but the item would not have been put in the heros inventory yet. And with the wait, if the char purchased multiple upgrades rapidly enough they would not ever be detetected. Any suggestions on either of these 2 ideas or a 3rd way of doing things? 2) A unit on my map is a modified ghoul. When I apply research level on him his damage goes up fine, but his armor never increases. When I created the unit I gave him the upgrades Ironplating, Iron forged swords, and ghoul frenzy. Ive tried applying research to both iron plating and to unholy armor, but neither works. Yet it works fine for his attack. Any help on this one would be greatly appreceated as I am totally miffed. Oh and it shows him as having the research, the armor value just stays at 0 no matter what the research level is. 3) WTH is on occasion causing computer controlled units to fight a battle and run back to the base and forget that I had ever assigned them an attack move to? |
| 01-12-2003, 05:04 AM | #2 | |
Guest | Quote:
1a. Your best bet is through an item system or slk and txt editing 1b. Ok, to solve the problem of multi-upgradesm make the stock-replenish like 60 seconds, and only have 1 buyable stock at a time. Keep a small wait time in there. 2. Did you make sure to modify his armor upgrade? Make sure it isn't at 0, but like 1 or 2. 3. This is a very common problem. It has to mainly do with just the AI scripts inferfrering with your command. You could mess with aquisition range, but that will by rusty and bugged, or turn off AI scripts. |
