Closing garages in 0.3.8
#21

Quote:
Originally Posted by DRIFT_HUNTER
Посмотреть сообщение
Easiest way to handle garages would be to remove door object and just create our own in closed position...No need for any custom objects and downloads...
This method blends in the most as it uses the same object model (with a different model ID), just with the advantage of it not crashing due to colliding with the client. You could use a different door model, but if this works, why not?
Reply
#22

I get this error while download: i.imgur.com/vHYEL2Q.jpg

Console:
[artwork:crc] carshow_sfse.txd CRC = 0x3FB16052
....
Compress error: 7
Reply
#23

Quote:
Originally Posted by adri1
Посмотреть сообщение
I get this error while download: i.imgur.com/vHYEL2Q.jpg

Console:
[artwork:crc] carshow_sfse.txd CRC = 0x3FB16052
....
Compress error: 7
same here
Reply
#24

AddSimpleModel doesn't seem to like carshow_sfse.txd. Kalcor is aware of the problem.
Reply
#25

Quote:
Originally Posted by Romz
Посмотреть сообщение
And why did not you remove the extra textures from the TXD files? This will greatly reduce their size, they will be more quickly downloaded.
Agreed, here is optimized version:
PHP код:
// mod shops
    
AddSimpleModel(-15340, -1001"modlas2.dff""doors.txd");
    
AddSimpleModel(-15779, -1002"garagdoor1_lawn.dff""doors.txd");
    
AddSimpleModel(-110575, -1003"modshopdoor1_sfs.dff""doors.txd");
    
AddSimpleModel(-111313, -1004"modshopdoor_sfse.dff""doors.txd");
    
AddSimpleModel(-19093, -1005"cmdgrgdoor_lvs.dff""doors.txd");
    
CreateObject(-10012644.8594, -2039.234414.03910.00.0270.0);
    
CreateObject(-10021041.3516, -1025.929732.67190.00.090.0);
    
CreateObject(-1003, -2716.3516217.47665.38280.00.00.0);
    
CreateObject(-1004, -1935.8594239.531335.35160.00.00.0);
    
CreateObject(-10052386.65631043.601611.59380.00.090.0);
// pay n sprays
    
AddSimpleModel(-15422, -1006"laespraydoor1.dff""doors.txd");
    
AddSimpleModel(-15856, -1007"lawnspraydoor1.dff""doors.txd");
    
AddSimpleModel(-16400, -1008"spraydoor_law2.dff""doors.txd");
    
AddSimpleModel(-111319, -1009"sprayshpdr2_sfse.dff""doors.txd");
    
AddSimpleModel(-19625, -1010"spdr_sfw.dff""doors.txd");
    
AddSimpleModel(-17891, -1011"vgwspry1.dff""doors.txd");
    
AddSimpleModel(-113028, -1012"ce_spraydoor1.dff""doors.txd");
    
AddSimpleModel(-13294, -1013"cxf_spraydoor1.dff""doors.txd");
    
CreateObject(-10062071.4766, -1831.421914.56250.00.00.0);
    
CreateObject(-10071024.9844, -1029.351633.19530.00.090.0);
    
CreateObject(-1008488.2813, -1734.695312.39060.00.090.0);
    
CreateObject(-1009, -1904.5313277.898442.95310.00.00.0);
    
CreateObject(-1010, -2425.72661027.992252.28130.00.090.0);
    
CreateObject(-10111968.74222162.492212.09380.00.00.0);
    
CreateObject(-1012720.0156, -462.523416.85940.00.090.0);
    
CreateObject(-1013, -1420.54692591.156357.74220.00.090.0);
    
CreateObject(-1013, -100.00001111.414121.64060.00.0270.0);
// bomb shops
    
AddSimpleModel(-15043, -1014"bombdoor_las.dff""doors.txd");
    
CreateObject(-10141843.3672, -1856.320313.87500.00.00.0);
    
CreateObject(-10142006.00002317.601611.31250.00.0270.0);
    
CreateObject(-10142006.00002303.726611.31250.00.090.0); 
Also, I just wrote the small library for simple garages blocking: https://github.com/Open-GTO/garageblocker
Reply
#26

Thanks for this include! It is very useful.

In the .rar file the folder's name doesn't match with the name in the include.

In the file "garagedoors", in the include "garageblocker".
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)