Jump to content

Compartiendo un simple script, para el tuning


DanHR

Recommended Posts

Este script está diseñado para reemplazar TODAS las partes que tienen los coches comunes de tuning excepto las ruedas (Alerones, Nitro,... esas cosas)

Los modelos os los buscais vosotros (Hay un set que se llama Rcf_ctp que es el que usé, en conjunto con unos alerones de Matheus-340, y editando un poco las texturas de los tubos de escape, para que parezcan de titanio)

El meta:

    "Transfender" author="Threule" version="1" type="misc" /> 
    

El script:

  
    function replaceModel() 
      txd = engineLoadTXD("parts/vehicle.txd", 1006 ) 
      engineImportTXD(txd, 1006) 
      dff = engineLoadDFF("parts/rf_b_sc_r.dff", 1006 ) 
      engineReplaceModel(dff, 1006) 
      dff = engineLoadDFF("parts/wg_r_b_ssk.dff", 1017 ) 
      engineReplaceModel(dff, 1017) 
      dff = engineLoadDFF("parts/wg_l_b_ssk.dff", 1007 ) 
      engineReplaceModel(dff, 1007) 
      dff = engineLoadDFF("parts/exh_b_l.dff", 1020 ) 
      engineReplaceModel(dff, 1020) 
      dff = engineLoadDFF("parts/exh_b_m.dff", 1021 ) 
      engineReplaceModel(dff, 1021) 
      dff = engineLoadDFF("parts/exh_b_s.dff", 1022 ) 
      engineReplaceModel(dff, 1022) 
      dff = engineLoadDFF("parts/exh_b_t.dff", 1019 ) 
      engineReplaceModel(dff, 1019) 
      dff = engineLoadDFF("parts/exh_b_ts.dff", 1018 ) 
      engineReplaceModel(dff, 1018) 
      dff = engineLoadDFF("parts/spl_b_mar_m.dff", 1000 ) 
      engineReplaceModel(dff, 1000) 
      dff = engineLoadDFF("parts/spl_b_bab_m.dff", 1001 ) 
      engineReplaceModel(dff, 1001) 
      dff = engineLoadDFF("parts/spl_b_bar_m.dff", 1002 ) 
      engineReplaceModel(dff, 1002) 
      dff = engineLoadDFF("parts/spl_b_mab_m.dff", 1003 ) 
      engineReplaceModel(dff, 1003) 
      dff = engineLoadDFF("parts/spl_b_bar_l.dff", 1014 ) 
      engineReplaceModel(dff, 1014) 
      dff = engineLoadDFF("parts/spl_b_bbr_l.dff", 1015 ) 
      engineReplaceModel(dff, 1015) 
      dff = engineLoadDFF("parts/spl_b_bbr_m.dff", 1016 ) 
      engineReplaceModel(dff, 1016) 
      dff = engineLoadDFF("parts/spl_b_bbb_m.dff", 1023 ) 
      engineReplaceModel(dff, 1023) 
      dff = engineLoadDFF("parts/nto_b_l.dff", 1008 ) 
      engineReplaceModel(dff, 1008) 
      dff = engineLoadDFF("parts/nto_b_s.dff", 1009 ) 
      engineReplaceModel(dff, 1009) 
      dff = engineLoadDFF("parts/nto_b_tw.dff", 1010 ) 
      engineReplaceModel(dff, 1010) 
      dff = engineLoadDFF("parts/bntr_b_ov.dff", 1142 ) 
      engineReplaceModel(dff, 1142) 
      dff = engineLoadDFF("parts/bntl_b_ov.dff", 1143 ) 
      engineReplaceModel(dff, 1143) 
      dff = engineLoadDFF("parts/bntr_b_sq.dff", 1144 ) 
      engineReplaceModel(dff, 1144) 
      dff = engineLoadDFF("parts/bntl_b_sq.dff", 1145 ) 
      engineReplaceModel(dff, 1145) 
      dff = engineLoadDFF("parts/bnt_b_sc_m.dff", 1004 ) 
      engineReplaceModel(dff, 1004) 
      dff = engineLoadDFF("parts/bnt_b_sc_l.dff", 1005 ) 
      engineReplaceModel(dff, 1005) 
      dff = engineLoadDFF("parts/bnt_b_sc_p_m.dff", 1011 ) 
      engineReplaceModel(dff, 1011) 
      dff = engineLoadDFF("parts/bnt_b_sc_p_l.dff", 1012 ) 
      engineReplaceModel(dff, 1012) 
      dff = engineLoadDFF("parts/lgt_b_rspt.dff", 1013 ) 
      engineReplaceModel(dff, 1013) 
      dff = engineLoadDFF("parts/lgt_b_sspt.dff", 1024 ) 
      engineReplaceModel(dff, 1024) 
  
  
  
    end 
    addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceModel) 
      
    addCommandHandler ( "reloadcar", replaceModel ) 
  

Link to comment
  • 2 years later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...