Mirosta
  • Mirosta
  • 56% (Neutral)
  • Private Topic Starter
15 years ago
Hi I quickly built a little c# app that lists all of the behaviour modules in an INI file including all possible parameters (as found in the file), just wondering if people wanted a list for modding convenience... If people want I can release the program for public use and add an example parameter value for reference

Example of what I plan to post:

AIUpdateInterface
TurretTurnRate
ControlledWeaponSlots
NaturalTurretAngle
MinIdleScanAngle
MaxIdleScanAngle
MinIdleScanInterval
MaxIdleScanInterval
AutoAcquireEnemiesWhenIdle

Example parameter after parameter value feature added:

TurretTurnRate = 180

What do people think? (sorry for the long post)
ProgramScrnShot.png

Click to View Image81 View(s)

Sponsor
Stewox
15 years ago
If you can make apps , then consider making an app editor , so you would edit via UI and make mods , if you want the list of all modules , it's in a txt file somewhere on web i have it if you want

the list is large , very , and even now some stuff are missing like Weapon.ini Upgrade.ini, Locomotor.ini entries that are not part of modules.

You just need to make a code so the program recognizes the albeit easy syntax , where it starts where it ends , but special stuff need to be included , stuff like " = " equals mark is just a visual indicator for modding it is seen by engine as a normal space. and other special stuff where you have spaces for separating multiple entires after " = ", in kinofs , weaponsets ....

Oh i remember, it's a module list from deezire.
UserPostedImage
Mirosta
  • Mirosta
  • 56% (Neutral)
  • Private Topic Starter
15 years ago
So would anyone be interested in a visual editor, syntax checker, intellisense, code colouring etc?
Mirosta
  • Mirosta
  • 56% (Neutral)
  • Private Topic Starter
15 years ago
Quickly put together a little code colouring as a start, what do people think? Going to start building the intellisense stuff soon.
Editor.png

Click to View Image44 View(s)

Stewox
15 years ago
If you can make something like a visual APP editor , this would indeed revolutionize Generals INI editing , because this game does not have any mod tools except worldbuilder , everything else is fan made, also make sure you make it so it can be used for multitasking , that's the main thing , being able to quickly change stuff without searching a for 20 mins.


Also a more challenging but very effective thing would be that the editor is able to detect connections between files , so you get a reference as to where that entry is in other files , you have tons of examples , like commandset is connected to command button and specific commandbutton parameters relate to objects which are in other files , and some of the parameters define ENGINE commands , like STOP, BUILD , SELL ...etc , and kindofs , and well , i can help you with that if you need more info about what stuff means it self.

Here is a module list to help you out a little.

http://www.megaupload.com/?d=DA5XWNPS 

But it is not 100% complete , stuff missing here an there , and also FX.ini , weapon.ini , commandbutton.ini commandset.ini and other are also missing , these aren't covered in the modulelist (behaviors mainly)

You have to exmine the above mentioned files and see their syntax.



EDIT: woow yeah intellisense , cool , just make sure when you are done with the engine stuff , like kindofs and general stuff , go for the specific objects , so when i go to commandbutton and I want to add for example a custom "GLA Anthrax Delta" upgrade i would type:

CommandButton Upgrade_GLA_AnthraxDelta [1*]
Command = PLAYER_UPGRADE [2*]
DescriptLabel = CONTROLBAR:GLA_UpgradeAnthraxDelta [3*]
ButtonImage = SAAnthraxDelta [4*]

1*(if the Upgrade.ini has an object named as this it will reference)
2*( this is from engine , also when you get references there should be a right-click menu if you click , to show you ALL possible entires for Commandbutton command)
3* The program should search in .STR files
4* Again the program should search for entries in other inis in this case the images inis in Mapped_Images ("TexturesSize_512" folder)

If you don't know about .STR files , ask.

The program should need that you extract every .ini for it to process , if inis are missing some stuff won't work and the program should know which ones are missing. Don't forget for Mapped_Images inis.

I think that's not hard but it would need a LOT of text scripting , and if you have something like this where all is needed to put info in , i can help. Also with wath language are u making this? C++ , .net ... ?

Basically just ask something that's not hard to write but takes a lot of time for single person , i would be glad to help.

What editor you're using?

EIDT: ah ok C# , ok.
UserPostedImage
Mirosta
  • Mirosta
  • 56% (Neutral)
  • Private Topic Starter
15 years ago
Thanks for the advice, I have a thread at deezire, I'll PM you the link, I have already found someone else who is making this kind of thing so a three man job would be a lot easier.