Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tutorial: Cum sa introduceti o arma din Gothic 3 in Gothic 2
#1
Cum reiese din titlu, am sa va arat cum sa extragem si sa introducem o arma din Gothic 3 in Gothic 2/Gothic 1.

Pentru inceput vom extrage fisierele .xcmsh din folderul Gothic 3/Data in _compiledMesh.pak folosind G3PU.
Show Content

Odata extrase fisierele .xcmsh vom folosi MeshWorker pentru a le transforma in fisiere .obj pentru a le putea importa intr-un program de grafica 3d cum ar fi Blender 3D, Gmax sau 3dsMax.

Show Content

In continuare folosim G3PU pentru a extrage textura din Gothic 3/Data, fisierul _compiledImage.pak si convertim imaginea din .ximg in .tga folosind ConvertorXIMG, dupa care vom pune textura .tga in folderul Gothic 2/_work/data/Textures .

Show Content

Importam fisierul obj in Blender pentru a face textura si a exporta arma in format 3ds, desigur importam si o arma din Gothic 2 pentru a face marimea potrivita.

Show Content

Exportam fisierul in format 3ds in folderul Gothic 2/_work/data/Meshes .

Show Content

A venit momentul sa facem scriptul armei, in folderul Gothic 2/_work/data/Scripts/Contents/Items editam fisierul IT_Melee_Weapons si adaugam codul urmator (puteti face arma cu aceleasi caracteristici ca in Gothic 3 sau dupa propria placere )

Code:
const int VALUE_G3_Weapons_Axe_BarbarianAxe = 5300;
const int Damage_G3_Weapons_Axe_BarbarianAxe = 100;
const int Condition_G3_Weapons_Axe_BarbarianAxe = 80;

INSTANCE G3_Weapons_Axe_BarbarianAxe (C_Item)
{    
    name                 =    "BarbarianAxe";  

    mainflag             =    ITEM_KAT_NF;
    flags                 =    ITEM_2HD_AXE;    
    material             =    MAT_METAL;

    value                 =    VALUE_G3_Weapons_Axe_BarbarianAxe;

    damageTotal          =     Damage_G3_Weapons_Axe_BarbarianAxe;
    damagetype             =    DAM_EDGE;
    range                =      100;        
    
    cond_atr[2]           =    ATR_STRENGTH;
    cond_value[2]          =    Condition_G3_Weapons_Axe_BarbarianAxe;
    visual                 =    "G3_Weapons_Axe_BarbarianAxe.3DS";

    description            = name;
    
    TEXT[2]                = NAME_Damage;                    COUNT[2]    = damageTotal;
    TEXT[3]             = NAME_Str_needed;                COUNT[3]    = cond_value[2];
    TEXT[4]             = NAME_OneHanded;
    TEXT[5]                = NAME_Value;                    COUNT[5]    = value;
};


Acum mergem in Gothic 2 Starter, bifam Skripte Parsen si deschidem jocul, iar arma noastra va arata cam asa
Show Content
FlowerFlower
replyReply


Messages In This Thread
Tutorial: Cum sa introduceti o arma din Gothic 3 in Gothic 2 - by Edd - 07-05-2014, 01:00 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Gladiator - in limba romana - Gothic 2 Mod Cyrus35 0 250 07-04-2024, 03:11 PM
Last Post: Cyrus35
Sad Gothic Multiplayer: Jucabil sau nu? Vladeisan 17 8,085 08-21-2016, 04:33 PM
Last Post: ShadowZz
  Gothic 1 Golden Mod transporter1911 0 1,620 07-15-2015, 12:32 AM
Last Post: transporter1911
  Gothic 2: The Returning? Tibby 7 4,494 10-19-2014, 05:46 PM
Last Post: Tibby
  [MOD NOU] Gothic: The Boss Apparition arbitrer 11 6,407 05-23-2014, 09:08 PM
Last Post: Vladeisan
  Tutorial modding Edd 0 2,133 10-22-2013, 08:55 PM
Last Post: Edd
  Gothic 3: CP1.75.14, QP4.2 and CM2.6.1 compatible with Consequences 2.0.1 Cyrus35 3 2,562 08-30-2013, 01:09 PM
Last Post: cornel
  Gothic 3 - Best mod pack cornel 10 7,327 08-18-2013, 09:31 PM
Last Post: cornel
  [TUTORIAL] Modificarea şi inserarea unei armuri - Gothic 2 Bogdan 14 11,606 05-18-2013, 06:10 PM
Last Post: Edd
  Gothic 3 traducere in romana cu toate update-urile m4xxxy 11 5,935 02-17-2013, 06:33 PM
Last Post: m4xxxy

Forum Jump:


Users browsing this thread: 1 Guest(s)