dev icon indicating copy to clipboard operation
dev copied to clipboard

SCR modes for GTA III and VC

Open x87 opened this issue 3 years ago • 7 comments

A bit off topic, but I wanted to ask if there will be SRC modes for GTA 3 and GTA VC? I like working with this mode nowadays, and the library is great for SRC.

Originally posted by @wmysterio in https://github.com/sannybuilder/dev/discussions/136#discussioncomment-844113

x87 avatar Jun 09 '21 12:06 x87

One way or another, I am making a new version of my script generator and I want to make it based on the SCR modes and the SB library. Technically, I could generate ini files and offer them for integration. I just never worked with 3 and VC and I can mess up. Someone will need to test them.

wmysterio avatar Jun 09 '21 12:06 wmysterio

I am editing ini files. Progress is already small.

@x87 I noticed a small joint in "SASCM.ini (SCR)":

0106=6,  locate_char_in_car_char_3d %1d% car %2d% radius %3d% %4d% %5d% sphere %6h%

There must be an actor:

 %1d% cHar %2d%

Of course, this will not play a role, but my pedantry requires me to report it))


Can the %8b:in-sphere\% record be replaced with %8b%?

wmysterio avatar Jun 13 '21 11:06 wmysterio

There must be an actor:

corrected.

Can the %8b:in-sphere% record be replaced with %8b%?

b: modifier is optional and can be replaced with d%. %8d%

x87 avatar Jun 13 '21 17:06 x87

@x87 Hi. I made preliminary versions of the INI files for the "gta3_scr", "gta_vc_scr" and even "gta_sa_scr_v2 (1.0)" modes. The description of the parameters was taken from the SB library.

Maybe you know a community that can check them out. I can fix bugs until the files are in working order.

The files do not yet contain opcodes from CLEO and other plugins, but this can be corrected later. Also, there are no parameters m% and o%, I will change them later too. Also, there is no grouping according to the version of the games (pc, mobile phones). If the JSON contains marks "only for XXX", then I can make such for each version.

scr.rar

Opcode example


00B0=6, is_car_in_area_2d car %1d% left_bottom_x %2f% left_bottom_y %3f% right_top_x %4f% right_top_y %5f% draw_sphere %6b%

wmysterio avatar Aug 19 '21 21:08 wmysterio

Cool, I'll take a look

x87 avatar Aug 19 '21 22:08 x87

I have updated the archive. I made SCR INI files for GTA 3 and GTA VC (without plugins yet). I'll try to make the necessary folders for SB. People will already be able to do testing. scr

In the "SASCM.INI" file (sa_scr), it is probably incorrectly signed, although it should not have any meaning:

007B=2,%1d% = frame_delta_time * %2d%  ; Probably should be %1d% +=

wmysterio avatar Jan 20 '22 21:01 wmysterio

This request has been fulfilled by adding new SBL edit modes in v4.0

x87 avatar Nov 24 '23 15:11 x87

released in 4.0.0

x87 avatar Aug 07 '24 02:08 x87