I am in a college level computer class and i discussed this with my teacher, sa2 has gotta be partly java. just as an example of what i mean, here's a breakdown of what each line would mean in java in say my orion battleship odf: #include "sovereign.odf" ---------imports a file //Name of Ship class in Ship Display window & in edit mode & tooltip ------comment line unitName = "Battleship" ------classification //tooltips tooltip = "Battleship" ------ string used as a label verboseTooltip = "This ship is used to take out large targets that pose great threat to the Outpost in the area." ---another string //Race which can build ship & starting race of ship race = "orion" --- another string representing a race
If this can be sorted and understood the prometheus has luck!
i could do it, but ill need a hacking engine to view A2's source code....
The game engine is mostly C++, and Matthew Nordhaus informed of that one himself.
oh just steal my glory..... grrr.... well i can always go learn C++.......
I think I'm right in saying that Java was at least partly based on C++, so learning one if you have experience with the other shouldn't be too difficult :) I know that the #include and // for commenting are originally from C++. However, I'm not so sure that we should take ODFs as being indicative of the language, as they are just data files and not code designed to be compiled. I'm a little confused tbh, lol :confused:
Yeah, C++ has #include <-- note also the '.h' extention // <-- double slash comments But I think most of those similarities are just to make the files more obvious to someone who's had other languages (and to use something semi-standard). It's not real code, it's merely a text file that has to be parsed and converted to data rather than truly compiled. Of course, that's what gives us the wonderful flexibility that we have in modding it. ^_^
someone needs to find an engine to open A2's program
Dragon Master. You might be able to use a program called WINdasm32 (or something similair). Its basically an assembler/disassembler and I tried the program a couple of years ago but it froze my pc after disassembling around 70% of the program.
well i need a 100% one or ill deem this tooo risky. some of us dont have enough $$$ to screw around with disassemblers without them working 100%