Forum Thread
  Posts  
"hacking" defcon (Forums : Coding & Scripting : "hacking" defcon) Locked
Thread Options
Arxae
Arxae Resident Stepmania Freak :D
Oct 1 2006 Anchor

well here is the stuff i found out:

opening main.dat:
can be opened with most archive programs (i used winrar)(just extract the data folder to the defcon root folder)

main.dat
can all be opened with notepad, but the most important one is:
gameoptions.txt > you can change all of the locked server options ^^
just change the number in the 'default' colum to your liking(number of max demo players cannot be changed, its hardcoded)

main.dat/data/earth
africa.jpg,america.jpg,... : territories

cities.dat(can be opened with any text editor)
contains city data (in the following order):
Name | Partoftheworld | coordinates | coordinates | coordinates | dunno
i think the dunno part is if the citie will be shown on the map

other .dat files in this folder:
[/b]dont know what these are, have something to do with the water/land seperation

main.dat/data/fonts
obviously this folder contains the fonts

main.dat/data/graphics
all the graphics used for the game
each graphic needs a _blur file
eg:
dude.bmp > graphic file for the dude unit :p
dude_blur.bmp > the blur of the dude unit
NOTE: map.bmp is the map when you press newgame, not the ingame big one :)

main.dat/data/gui
all of the gui graphics

main.dat/data/language
the language files (translations :p !!!)
not that there is a Copy of english.txt there :s

main.dat/data/styles
the styles file that are default in defcon

main.dat/world.dat
needs redshirt, couldnt opened it right now :( couldnt get it to work
if you want redshirt ask and il upload it :)

thats all i found today :)
hope your happy with it :)
wanted to post it as a tutorial but i didnt do it (or should i do it? XD)

Edited by (in order): Arxae, Arxae, Arxae

--

°w°

Oct 1 2006 Anchor

the .dat files in main.dat are txt files. Coords for cities, territores, etc. :D

--

Go play some Quake 2: q2server.fuzzylogicinc.com
It's like Source v0.9, only... better!
Play Paintball for Doom 3!: d3server.fuzzylogicinc.com
Doom 3 Paintball to the Max!

Arxae
Arxae Resident Stepmania Freak :D
Oct 1 2006 Anchor

cities.dat(can be opened with any text editor)
contains city data (in the following order):
Name | Partoftheworld | coordinates | coordinates | coordinates | dunno
i think the dunno part is if the citie will be shown on the map

other .dat files in this folder:
[/b]dont know what these are, have something to do with the water/land seperation


i know ^^

Edited by: Arxae

--

°w°

dbecker
dbecker Dark Element
Oct 1 2006 Anchor

Cool :-) Thanks for posting that.
A tutorial would be cool, I have no idea what redshirt is, care to enlighten me? :-)

Edited by: dbecker

Darkcraft
Darkcraft Flagrantly Mediocre
Oct 1 2006 Anchor

Hmm interesting. But how exactly would you mod this game? I can't really think of any interesting things you could do with this game besides changing the map and units.

--

zenarion wrote: Yes i am a faggot

May or may not be taken out of context.

Pre-Zenith
Pre-Zenith ||| the reason why |||
Oct 1 2006 Anchor

maybe you could add a ground force but this would only work with adjacent countries ofcourse and when i was snooping around in the files i saw some wierd things....well maybe their for the full game i dont know but i found graphics of a tornado, a saucer and and laserbeam?
great so now even aliens want us dead:p

--

Oct 1 2006 Anchor

according to a beta tester, those are unlockable in the game somehow.

--

Go play some Quake 2: q2server.fuzzylogicinc.com
It's like Source v0.9, only... better!
Play Paintball for Doom 3!: d3server.fuzzylogicinc.com
Doom 3 Paintball to the Max!

::idiot::
::idiot:: village ^
Oct 1 2006 Anchor

...weird...

That's pretty silly. Why would they leave it open like that?

I wonder how you unlock things in this game? Beat 5 PC's who are under one opposing alliance?

--

User Posted Image

Arxae
Arxae Resident Stepmania Freak :D
Oct 1 2006 Anchor

dbecker wrote: Cool :-) Thanks for posting that.
A tutorial would be cool, I have no idea what redshirt is, care to enlighten me? :-)


redshirt is used by introversion to encode the zip files to dat files
i will write a tutorial if you want :)

--

°w°

Jyffeh
Jyffeh I am arch jailbird scowl.
Oct 1 2006 Anchor

::idiot:: wrote: ...weird...

That's pretty silly. Why would they leave it open like that?

I wonder how you unlock things in this game? Beat 5 PC's who are under one opposing alliance?


Yep, probably. I don't know what else... I know you can open the cabs for COD2 (.iwd) with winrar too.

Edited by: Jyffeh

--

User Posted Image

Yak.RUS wrote: We had a girl in my school that took LCD and now she thinks shes a balloon for the rest of her life.

Arxae
Arxae Resident Stepmania Freak :D
Oct 1 2006 Anchor

would be pretty hard to do :p
its sometimes difficult to beat 1 cpu :)

--

°w°

::idiot::
::idiot:: village ^
Oct 1 2006 Anchor

I don't think they'd give you unlockables for doing something easy...

--

User Posted Image

Arxae
Arxae Resident Stepmania Freak :D
Oct 1 2006 Anchor

yes but 5 allianced CPU's? allmost imposible :)

--

°w°

ImTheDarkcyde
ImTheDarkcyde ¯\(º_o)/¯
Oct 1 2006 Anchor

someone needs to add australia as a usable force :-P

::idiot::
::idiot:: village ^
Oct 1 2006 Anchor

Yeah. I wanted to play them. Though they are a bt far off, gives them an advantage or disadvantage, they wouldn't be part of the combat as much. Only with south asia.

--

User Posted Image

Oct 1 2006 Anchor

Dark_Raver9 wrote: yes but 5 allianced CPU's? allmost imposible :)


Almost? No, is.

Pre-Zenith
Pre-Zenith ||| the reason why |||
Oct 2 2006 Anchor

activating australia can be done......i think if you made the graphics showing its borders and costal borders but thats easy as hell the hard part is the coordinates so the game knows where australia is......and before you can do that you need to know where the coordinate start point is (aka 0)

Edited by: Pre-Zenith

--

dbecker
dbecker Dark Element
Oct 2 2006 Anchor

Yeah, write a tutorial :-) I for one would find it interesting.

Arxae
Arxae Resident Stepmania Freak :D
Oct 2 2006 Anchor

ok im on it :)

--

°w°

Pre-Zenith
Pre-Zenith ||| the reason why |||
Oct 2 2006 Anchor

so in other words this is how the demo went full game:-)

--

::idiot::
::idiot:: village ^
Oct 2 2006 Anchor

pretty much.

--

User Posted Image

Ancientpanda
Ancientpanda Pure Hyphy Pandar
Oct 2 2006 Anchor

awesomecake

--

I R PANDAR!
User Posted Image

Oct 2 2006 Anchor

I already made AU a playable area for Asia. Downside? Only a few (well, 1 for me) cities show up. :)

--

Go play some Quake 2: q2server.fuzzylogicinc.com
It's like Source v0.9, only... better!
Play Paintball for Doom 3!: d3server.fuzzylogicinc.com
Doom 3 Paintball to the Max!

Reply to thread
click to sign in and post

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.