Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    1. Red Dead Redemption 2

      1. PC
      2. Gameplay
      3. Missions
      4. Help & Support
    2. Red Dead Online

      1. Gameplay
      2. Find Lobbies & Outlaws
      3. Help & Support
      4. Frontier Pursuits
    1. Crews & Posses

      1. Recruitment
    2. Events

    1. GTA Online

      1. Diamond Casino & Resort
      2. DLC
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Grand Theft Auto Series

    3. GTA 6

    4. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    5. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA Mods
    6. GTA Chinatown Wars

    7. GTA Vice City Stories

    8. GTA Liberty City Stories

    9. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    10. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    11. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    12. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    13. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    3. Featured Mods

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption

    2. Rockstar Games

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Programming
      5. Movies & TV
      6. Music
      7. Sports
      8. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. News

    2. Forum Support

    3. Site Suggestions

LINK/2012

GTA3script Toolchain

Recommended Posts

Silent

It's still kinda weird it has to be like this though; since basically every other programming language uses the '==' notation, it's become sorta habitual.

gta3sc follows the original gta3script syntax, and in R* sources comparisons were written like this. It's weird, I agree, but accuracy is one of the priorities there.

Share this post


Link to post
Share on other sites
The Hero

There are plenty of languages that use = and not == for equality.

Share this post


Link to post
Share on other sites
LINK/2012

The editor extension has been updated to gather docs from GTAG again. Make sure you Ctrl+Shift+P > Clear Documentation Cache if something gets weird.

 

To be clear on the status of this project: It's not dead. Just lacking the time to make progress. I have learned a lot about compilers and language pragmatics since the last release, so I'll probably do some major changes here and be much more conservative language-design wise.

 

For those using the language constantly, feedback on what are the difficulties you encounter while coding is welcome.

Edited by LINK/2012

Share this post


Link to post
Share on other sites
Grinch_
27 minutes ago, LINK/2012 said:

The editor extension has been updated to gather docs from GTAG again. Make sure you Ctrl+Shift+P > Clear Documentation Cache if something gets weird.

 

To be clear on the status of this project: It's not dead. Just lacking the time to make progress. I have learned a lot about compilers and language pragmatics since the last release, so I'll probably do some major changes here and be much more conservative language-design wise.

 

For those using the language constantly, feedback on what are the difficulties you encounter while coding is welcome.

Thats why I was wondering whats wrong.Nice to get the feature back.Would be nice to get some of the unsupported commands to work though.

 

Edit; Whats am i doing wrong here.Doesnt seem the docs feature to work.Using latest verson of VS code.

 

Edited by Inan-Ahammad

Share this post


Link to post
Share on other sites
LINK/2012

Try WAIT. Probably will not make a different, but yeah. Damn.

I hope GTA Modding gets back online soon.

Share this post


Link to post
Share on other sites
Grinch_
7 hours ago, LINK/2012 said:

Try WAIT. Probably will not make a different, but yeah. Damn.

I hope GTA Modding gets back online soon.

so the docs are dependent on gta modding or gtagmodding?

Share this post


Link to post
Share on other sites
Grinch_
4 minutes ago, guru_guru said:

@Inan-Ahammad because it's called TAKE_PHOTO

 

@LINK/2012 a decompiler would be nicee

opps.Most of the commands were same as gtagmodding.But its an exceptional i guess.

Share this post


Link to post
Share on other sites
goodidea82

Yes, a decompiler would be nice. Some applications:

- Decompile for learning from existing scripts

- Decompile to manually check and debug scripts from other authors

- Automatic static analysis of existing scripts for code smells

- Automatic translation of missions between game versions (the holly grail)

Share this post


Link to post
Share on other sites
LINK/2012
On 6/18/2018 at 2:35 AM, Inan-Ahammad said:

so the docs are dependent on gta modding or gtagmodding?

Both. It tries GTAModding first (which is down), then GTAG.

 

Regarding a decompiler. Sure. Will try doing that again. I hope to succeed this time :)

 

 

Share this post


Link to post
Share on other sites
Grinch_
On 6/21/2018 at 8:34 AM, LINK/2012 said:

Both. It tries GTAModding first (which is down), then GTAG.

 

Regarding a decompiler. Sure. Will try doing that again. I hope to succeed this time :)

 

 

But gtag is on.So shouldnt I get info from there.That i dont in above vid.

 

Edit:I know I'm kinda posting a lot here.So just gonna add what i wanna say,hope it get noticed.

GTA3sc supports most all of CLEO opcodes.But what about those new ones.Added by Dkpac22 and Shmoopy?Does GTA3sc include them also?If not how about including them?

Edited by Inan-Ahammad

Share this post


Link to post
Share on other sites
GuruGuru

@Inan-Ahammad you can add them yourself by editing cleo.xml

 

	<Command ID="0xd11" Name="SET_OBJECT_ALPHA">
		<Args>
			<Arg Type="INT" Entity="OBJECT"/>
			<Arg Type="INT"/>
		</Args>
	</Command>

 

Share this post


Link to post
Share on other sites
LINK/2012

I have updated the VSCode extension, it is capable of crawling GTAModding again, even though it is still offline. Apparently its MediaWiki API is still working!

Share this post


Link to post
Share on other sites
guard3

I feel the need to just drop by and say that this toolchain is amazing and I love it!

Share this post


Link to post
Share on other sites
LINK/2012
51 minutes ago, guard3 said:

I feel the need to just drop by and say that this toolchain is amazing and I love it!

Thank you. Glad you like it :)

Share this post


Link to post
Share on other sites
LINK/2012

Hello fellas,

 

I would like to share some updates regarding this project.

 

For at least seven months I have been working on formalizing this language [draft], and as I finish a portion of the document, I go on to rewrite the part of the compiler that handles that portion. I'm doing so in no rush, in such a way that I have time to think and rethink about the aspects that goes into play. I intend to produce something very clean and precise.

 

I have made a decision on the scope of the project too, and that is front-end tooling. Meaning, I'm not working on a decompiler. I'm sure there are people out there that can handle this gap at some point.

Share this post


Link to post
Share on other sites
guard3

Looks great so far, keep up the good work, this tool is awesome :D

Edited by guard3

Share this post


Link to post
Share on other sites
Davve95

I'm sorry for bumping this, but I need some help.

I don't get the suggestions when I'm typing something.

And I have installed the extension.

 

Also, I can't find where you're supposed to enter the code for the compiler.

The path aren't the same as in the description

Share this post


Link to post
Share on other sites
LINK/2012
Posted (edited)

 

On 3/19/2019 at 5:34 PM, Davve95 said:

I'm sorry for bumping this, but I need some help.

I don't get the suggestions when I'm typing something.

And I have installed the extension.

 

Also, I can't find where you're supposed to enter the code for the compiler.

The path aren't the same as in the description

Hi Davve. I suppose you don't get autocompletion because you have not setup the compiler path (if I understood you correctly?).


On newer VSCode versions the correct directions are: Go to File > Preferences > Settings and within the user settings tab paste that JSON. For example:

 

https://i.imgur.com/yw11tMy.png

 

Hope that helps.

 

Edited by LINK/2012

Share this post


Link to post
Share on other sites
J16D

@LINK/2012

can you help me?

I got this message in Visual Studio:

a0483c1179512564.jpg 

there is a way to do that in CLEO CALL?

thanks :cookie:

 

Share this post


Link to post
Share on other sites
LINK/2012

The only acceptable identifiers within the arguments to a procedure call are variables (which can be seen in Stories SCM). What R* Leeds did to bypass this restriction was to assign the constant to a temporary variable, and subsequently pass this variables as argument.

Share this post


Link to post
Share on other sites
J16D
1 hour ago, LINK/2012 said:

The only acceptable identifiers within the arguments to a procedure call are variables (which can be seen in Stories SCM). What R* Leeds did to bypass this restriction was to assign the constant to a temporary variable, and subsequently pass this variables as argument.

in other words:

CONST_INT idOwned_l 11
LVAR_INT iTempVar
iTempVar = idOwned_l
CLEO_CALL GUI_DrawBoxOutline_WithText 0 (572.0 37.5) (136.0 15.0) (31 181 240 200) (0.5) (0 0 0 0) (0 125 180 150) iTempVar 9 -9.0 

thanks!!! :cookie::cookie::cookie:

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • 2 Users Currently Viewing
    0 members, 0 Anonymous, 2 Guests

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.