Posted: Sun Sep 14, 2003 8:02 am Post subject:
RedUtils: current status + future plans
Firstly, thank you, Banshee
Now, about the utilities (they're made with Delphi, if anyone's interested) :
My INI checker is almost finished, all I have to do now is to tweak the interface, but the core is complete and (so far) flawless. So expect it to be done during next week.
As for the AI editor, I started coding it, and only problem I encountered so far was that spaces in TriggerType name confuse the trigger parser... I'll have to work around it somehow or just replace the spaces with underscores.
Also, JhonnyRey's idea for AI Randomizer (to randomly create extra ai stuff to increase variety of attacks) is pretty cool and I shall start coding it asap.
I'll try to put up some screenshots next week if you're interested.
Any ideas for new utilities or improvement of these are welcome. Last edited by John Galt on Sat Jan 27, 2007 11:04 am; edited 1 time in total QUICK_EDIT
it must let your extra mod units added in
it must know what units to put in, in categorys for example siege units tank units anti infantry units
etc _________________ Please, read the signature rules of the forum. QUICK_EDIT
Here are the screenshots.
If you have any improvement ideas (I'm thinking about where to put the Support TeamType setup), they're very welcome.
And I'm thinking about doing randomization this way:
read rules.ini -> inftypes, vehtypes, airtypes. Build a list of all entries , sort them by their Category= tag, and then assign them to suitable roles. Of course, this requires that you have all Category= tags correct. From DZ's guide, I know that they'ręe pretty screwed up.
Posted: Mon Sep 15, 2003 2:15 pm Post subject:
New utility soon to be started
I was looking for a pcx->shp converter, b/c the XCC one doesn't like my files Didn't find it, so d/l ed lots of tech info about them both and am hoping to code it soon.
Is this needed? Or maybe I overlooked some existing utility? QUICK_EDIT
xcc utilities BUT ur files need to end with a space and 4 numbers with 0000 for the first frame for example 2 frames scm.shp(name randomly chosen) has scm 0000.pcx for frame 1 and scm 0001.pcx for frame 2 _________________ Please, read the signature rules of the forum. QUICK_EDIT
Edit: lol, it was my IrfanView setting (Resample) (I think). Fixed it so far. Anyway, is that utility a good idea or should I leave XCC without competition? QUICK_EDIT
Also Known As: banshee_revora (Steam) Joined: 15 Aug 2002 Location: Brazil
Posted: Mon Sep 15, 2003 6:16 pm Post subject:
This AI Editor really rocks, Nobody!!! I'm really thinking about using it, because it's much faster to use a tool like that than using wordpad and consulting my own tutorials... Really. Good Job... and the Ini Checker also looks great . QUICK_EDIT
Joined: 01 Jan 2003 Location: You dont want to know.... Trust me.
Posted: Thu Sep 18, 2003 9:10 pm Post subject:
maybe you can have it so that you can edit the ini right in the cheaker to if you cant already _________________ No power is ever inherently good or evil. It is how that power is used that determines if it is good or evil.
yeah, maybe, eventually, u can make it like SunEdit2K typ thing, where you can choose stuff from a drop-down list and itll edit the code for you, cause right now, although it might be quicker, u still haev to know how to edit AI.ini, like what the commands are and stuff _________________ <b>::Counter-Strike File Source</b> <b>::The Army of Chaos Empire</b>
Hi! i am JhonnyRey, from the deezire's forum. Sorry for being late with the randomizer algorithm, i am working on it in Pascal, but it simply resists to get thinks working
I wonder also how will be the unitlist.ini , and if it still is going to be in the randomizer, i think that the category=tag is still a little inefficient, i mean, i only saw AFV category used, and dont know if there is another...
Well, hope you have luck with the parser, because pascal doesnt have parser capabilites at all...
Thanks for your time QUICK_EDIT
The following categories are valid in Red Alert 2;-
AirLift Air Transport
AirPower Air Combat Support
Transport Transport Vehicle
Support Miscellaneous Support Vehicle
LRFS Long Range (Indirect) Fire Support
IFV Infantry Fighting Vehicle
AFV Armored Fighting Vehicle
Recon Reconnaisance Vehicle
VIP Important infantry
Soldier Infantry unit
So all the prog needs is for ppl to get their Categories fixed.
And about that algo... I feel pretty bad about asking you to do so much work with such an ineffective stuff as TP If you think you can't do it, then don't do it My algo is good, although it might be a little slow (that's why I asked you to sketch your ideas, maybe you can come up with a faster way). So if you're still interested, keep doing it (or just use pseudocode [dunno how that's called in english, what we call pseudocode is "a freestyle code, you just write stuff in plain text to help your initial ideas"]). If not, just say so. Then I'll use my current algo for it...
And that parser is really easy in Delphi, mainly b/c of new built-in classes, such as TINIFile and TStringList.
With the category tag, I think we won't need unitlist.ini, it'll take info straight from the Rules' [**types]... that reduces modders' work. I'm starting the coding right now.
Anyway, good luck And don't thank me for my time, I still don't have anything better to do, so this is just a way to avoid boredom QUICK_EDIT
Ok, im still working on the code
the idea of the unitlist thing is to avoid, for example, a rush of dogs supported by engineers (RA2 is capable of that kind of stuff) so, how can we prevent that with categories from rules.ini? QUICK_EDIT
This stuff is looking GREAT. I'm looking forward a lot to ai editor. And the randomizer is a very good idea. It's a lot of work for me to add variation to the AI, i keep copying/pasting for ages. QUICK_EDIT
People, I need YOUR help! You see the AI Editor screenshot above, so where do you suggest to put Support Team stuff?
I was thinking to move standard teamtype to the left of TriggerType, and cloning it all to the right for the support Team/Task/Script, but my 1024x768 isn't wide enough for it
Maybe another window is needed? Any other ideas?
Thank you. QUICK_EDIT
I tried attaching it to my post before, but it failed. Probably because it's over 250 kb... I'll try to get myself hosted somewhere, until then I can only send it to your email. OK? QUICK_EDIT
Also Known As: banshee_revora (Steam) Joined: 15 Aug 2002 Location: Brazil
Posted: Wed Sep 24, 2003 7:04 pm Post subject:
yea, I mean limit and limit is a problem, so I'm not wrong at all... anyway, the attachment problem is fixed. (and now I really mean problem ) QUICK_EDIT
could you make a thing to delete all the semi colon junk i don't it would be that hard to make but its just a request _________________ ~DOOG~ QUICK_EDIT
Here, catch As stated in other topic, it's still a beta (damn, I'm getting tired of saying this every time ). Anyway, your feedback is what will help me improve it. QUICK_EDIT
I am still working on the generator code... it is a pascal-made file, named aiwiter...
by now, it reads a unitlist, randomize some stuff and then mess up everitihng
But i am still working.... hope not to be too much late...
I think that the problem will be solved in a max time of two weeks ( i have a lot of exams this week) and then i can post it... QUICK_EDIT
lol... its funny...
its a 3 kb program, but i made a mistake in the code and generated a 43 mb text file!!!! it almost destroyed my OS...
But its getting better... QUICK_EDIT
Also Known As: banshee_revora (Steam) Joined: 15 Aug 2002 Location: Brazil
Posted: Sat Sep 27, 2003 7:19 pm Post subject:
hehehe.. mistakes with loops and memory management and this kind of stuff are very dangerous , but Delphi doesnt cover much memory management part like C does, but still dangerous... QUICK_EDIT
hehe... Yeah, but if the program takes more than expected to run, you usually can Ctrl-Break out of it (if you run it from within pascal, not form windows). If you terminate such a program from task manager, you'll have to restart Delphi/Pascal...
BTW, JR, I almost never see you online on MSN/ICQ I'd like to talk to you sometime (after your exams are over, of course). QUICK_EDIT
Notice: I've just detected a strange bug ;( Strange nobody else found it before, maybe it was my own fault... I've fixed it, and the new version is attached. Please re d/l this vers, as it (hopefully) has that bug fixed. I hope you understand that this is still not a finished release, so ... make a backup, just in case...
If you still happen to find a bug, inform me about it ASAP.
Note: I'm attaching this here because I can only upload it to Ren's server via sending him an e-mail (that's my ISP's fault, not his), and it doesn't happen in an instant... And I definitely don't want anyone upset after using a screwed version
Hey, since XCC rarely works at compressing PCX into SHPs, maybe you could make a program to do that. _________________ Please, read the signature rules of the forum. QUICK_EDIT
Also Known As: banshee_revora (Steam) Joined: 15 Aug 2002 Location: Brazil
Posted: Mon Nov 03, 2003 2:55 am Post subject:
weird... XCC works fine... Nobody, feel free to post in the Site News (under PPM Zone) when any of your tools is released or updated, so people might know it from the news of the site. QUICK_EDIT
The problem with making any program that does anything with shp's is you need to be able to read ships (well have an understanding of how the file is made up)
anyway the only way to do this is rearly to look at previously made documents (or if u know c to look at xcc code) anyway looking at This
Quote:
===================
5. THE .SHP FILES
===================
The .SHP files contain almost all the graphics : units, structures, trees,...
The header has the following structure :
Header : record
NumImages : word; {Number of images}
A,B : word; {Unknown}
Width,
Height : word; {Width and Height of the images}
C : longint; {Unknown}
end;
i have tryed that code out, and its compelatly wrong, the varibles are not whats commented down. (you can easily check which are the ones for width, height, etc by looking at what ones give the same results as xcc tools)
once you work out the correct order, you also have to work out the dreaded format80, format40 and format20 everything is BADLY documentated and imo doesn't help at all.
yea, i noticed those too. at least move them to go into the temp folder so they arent as annoying, but deleting them would be even better. _________________ Please, read the signature rules of the forum. QUICK_EDIT
Joined: 18 Jun 2003 Location: Dhaka,Bangladesh (do u know bangladesh ?)
Posted: Wed Dec 03, 2003 6:23 am Post subject:
I think the checker dosent make changes to original files, but copy the file as tem*.ini and makes changes in it _________________ Home : http://on.to/cncbd
Haven't seen updated here in a while.. how are things progressing here? _________________ "We are the Borg. Existence as you know it is over. We will add your biological and technological distinctiveness to our own. Resistance is futile."
You can post new topics in this forum You can 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 You cannot attach files in this forum You can download files in this forum