Renegade Projects Network Forums
AI Editor - Printable Version

+- Renegade Projects Network Forums (https://forums.renegadeprojects.com)
+-- Forum: Strategy X Hostees (https://forums.renegadeprojects.com/forumdisplay.php?fid=21)
+--- Forum: DCoder's Coding Realm (https://forums.renegadeprojects.com/forumdisplay.php?fid=31)
+--- Thread: AI Editor (/showthread.php?tid=307)



AI Editor - Nerdo - 18.06.2006

Yeah, I have downloaded your (DCoder) AI editor (the lastest edition) from here
but when I download it and try to run it, a popup comes up saying that "Window's is unable to open the program" Do you have any idea of what I should do?


RE: AI Editor - DCoder - 19.06.2006

Do you have WinRAR?


RE: AI Editor - Nerdo - 19.06.2006

Ah, I have it working now. The problem was that I didn't have WinRAR. Thanks for the help DCoder. But now I've encountered another problem :S

When I edit the AI I change the Taskforces and then click the save button. I then save the changes again (from the save button on the menu) but for some reason the AI does not use my new changes. Any idea with what's wrong, or am I doing something wrong?


RE: AI Editor - Bobingabout - 19.06.2006

saving in the wrong place?
changing the filename?
maybe they just havn't tried building that taskforce yet.


RE: AI Editor - Nerdo - 19.06.2006

Perhaps they haven't...I'll play a few more games just to test it out.

I think my file is being saved in the right place (the RA2 directory, where I have extracted the AI.ini to).


RE: AI Editor - Nighthawk - 19.06.2006

Did you make a trigger, scripttype and teamtype to deal with the taskforce?


RE: AI Editor - Nerdo - 19.06.2006

Well, no. I haven't actually added any Taskforces. I'm just editing the existing ones and making them harder.


RE: AI Editor - DCoder - 20.06.2006

Try editing one of the basic taskforces, like [0A37731C-G] or [0ACDC72C-G], the AI uses them very frequently, so you should see easily if your changes take effect. If they don't, attach the edited file here.


RE: AI Editor - Bobingabout - 20.06.2006

thats 1 reason why i said "maybe they just havn't tried building that taskforce yet." i phased it that way to signify that they might build it, but its just got a low probablility of them doing it.


RE: AI Editor - Nerdo - 20.06.2006

DCoder Wrote:Try editing one of the basic taskforces, like [0A37731C-G] or [0ACDC72C-G], the AI uses them very frequently, so you should see easily if your changes take effect. If they don't, attach the edited file here.

I have already edited them, and they still don't show up! The AI uses the old unedited version of attack. I have attached the ai.ini

Thanks for the help so farWink


RE: AI Editor - DCoder - 20.06.2006

... wow. -50 points for Windows.
Look at the filename of what you just attached, Windows tricked you.

Control Panel > Folder Options > View > uncheck "hide known file extensions". That should fix this, and I will try to find a programmatical way around this for INI E V2.


RE: AI Editor - Nerdo - 20.06.2006

Well I did what you said and I could not find the "hide known file extensions"

I'll post a picture in a second...


EDIT: Here is a picture of my control panel to view. It doesn't have what you said on it, unless it was "Hide Extensions for known file types" in which case then that is not the problem as I have already unchecked it and tried it out, and it still did not work...



RE: AI Editor - Renegade - 21.06.2006

That option itself is not the problem ¬_¬
The problem is that it hides the file extension, rendering "aimd.ini" only as "aimd", and then either you or the program added an ".ini" to it - but the original ".ini" was only hidden, so now your file is named "aimd.ini.ini" - which is the wrong filename.

Turning that option off helps you notice this in the future. If it is on, remove the ".ini" from the filename. If it is off, remove one of the two ".ini"s you should see.