View Single Post
Old 10-09-05, 06:02 PM   #11
Sansal
Electrician's Mate
 
Join Date: May 2005
Location: Spain
Posts: 133
Downloads: 0
Uploads: 0
Default

For your Norwergian flag



It's a little complex, i think. You need to do two things.

1.- Insert a new 3d flag with the name of Norwe_FLG:
  • Wiht a hexeditor copy all this chunlks that is the Japan_FLG in flag.dat:

    ==================
    Obj:232
    Type: 1/101
    id: 40CC4B8EFE816E9C Label: Japan_FLG
    size: 2389 Position:630089
    ==================
    Obj:233
    Type: 10/5
    id: 40CC4B8EFF816E9C Label:
    size: 17 Position:632490
    Parent id: 40CC4B8EFE816E9CData: [B@12462b3
    ==================
    Obj:234
    Type: 6/0
    id: 40CC4B8EFF816E9C Label:
    size: 10878 Position:632519
    ==================
    Obj:235
    Type: 2/0
    id: 6C094C8EF3816E9C Label: Japan.tga
    size: 46 Position:643409

    Ka: 0.0 0.0 0.0
    Kd: 0.3 0.3 0.3
    Ks: 0.1 0.1 0.1
    Ns: 0
    ==================
    Obj:236
    Type: 3/0
    id: 0 Label: Japan.tga
    size: 24620 Position:643467
    ==================
    Obj:237
    Type: 8/0
    id: 6C094C8EF3816E9C Label: Japan_big
    size: 18 Position:668099
    ==================
    Obj:238
    Type: 4/100
    id: B8590E14F13C3CB5 Label: Japan_FLG
    size: 66 Position:668129
    ==================
    Obj:239
    Type: 8/0
    id: B8590E14F13C3CB5 Label: Japan_FLG
    size: 18 Position:668207

    Reinsert just before of the chunk

    ==================
    Obj:245
    Type: 0/1
    id: 0 Label:
    size: 0 Position:684894
    ==================

    And change the id's and the labels that you see in this new chunks and prove it rechargin the new flag.dat in Pack3D. When works for Pack3D then you prove in the game. Do you know how do a new country? in this case a country/roster named Norwe (Sorry when this works i can say you how enlarge the label)

2.- Change the rectangle for the Norwe_FLG 3D :
  • Like any other object and reinsert the object and the texture of the flag.

I can't do all this job for you because i have problems with my XP SP2. A Trojan take my pc three days ago and all is a problem with my pc. But i think that is a excelent exercice for you . May be Sergbuto can say anything about this, he maked the nationality mod.

Cheers

P.S. The byte that change the transperency of a object is just before of the id of the chunk type 2. Ever is FF (255 in decimal), for the crystal texture of my example i use the 65 valour.
Sansal is offline   Reply With Quote