I think i know what language SA2 is in! -1 reply

  • 1
  • 2

Please wait...

reaper617

Only in death does duty end

50 XP

25th September 2007

0 Uploads

367 Posts

0 Threads

#1 15 years ago

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




Flash525

The Carbon Comrade

50 XP

14th July 2004

0 Uploads

15,103 Posts

0 Threads

#2 15 years ago

If this can be sorted and understood the prometheus has luck!




reaper617

Only in death does duty end

50 XP

25th September 2007

0 Uploads

367 Posts

0 Threads

#3 15 years ago

i could do it, but ill need a hacking engine to view A2's source code....




Major A Payne

The 6th Day

50 XP

7th August 2002

0 Uploads

2,535 Posts

0 Threads

#4 15 years ago

The game engine is mostly C++, and Matthew Nordhaus informed of that one himself.




reaper617

Only in death does duty end

50 XP

25th September 2007

0 Uploads

367 Posts

0 Threads

#5 15 years ago

oh just steal my glory..... grrr.... well i can always go learn C++.......




dave04045

I'm too cool to Post

50 XP

1st May 2008

0 Uploads

18 Posts

0 Threads

#6 15 years ago

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:




Aurrin

Beginning Modder

50 XP

11th September 2004

0 Uploads

73 Posts

0 Threads

#7 15 years ago

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. ^_^




reaper617

Only in death does duty end

50 XP

25th September 2007

0 Uploads

367 Posts

0 Threads

#8 15 years ago

someone needs to find an engine to open A2's program




Major A Payne

The 6th Day

50 XP

7th August 2002

0 Uploads

2,535 Posts

0 Threads

#9 15 years ago

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.




reaper617

Only in death does duty end

50 XP

25th September 2007

0 Uploads

367 Posts

0 Threads

#10 15 years ago

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%




  • 1
  • 2