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. Gameplay
      2. Missions
      3. Help & Support
    2. Red Dead Online

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

      1. Recruitment
    2. Events

    1. GTA Online

      1. Arena War
      2. After Hours
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Grand Theft Auto Series

    3. GTA Next

    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

jonc

Introducing Point

Recommended Posts

jonc

I've been quietly working on a legitimate compiler for GTA -- with if, do, while, for, real variable types, full expressions -- and it is nearing completion of the Vice City feature set. I'm now beginning on the new features Rockstar introduced in San Andreas. So it isn't ready for prime time yet, but I thought I'd give you all a heads up.

 

You can read more about it and download an alpha here:

http://www.joncaruana.com/projects/point/

 

The biggest change is it uses an XML file to define opcodes that can provide much better documentation than GTAMA or Barton's editor included. Since CyQ, in anticipation of this project, hasn't written a SA Assembler and Barton is retired, I hope this can become the primary tool for modding SCM files in the future.

Share this post


Link to post
Share on other sites
Y_Less
This loks ace, I will have to try it out. If it uses XML for the OpCodes, does that mean you can use either of the existing formats?

Share this post


Link to post
Share on other sites
jonc

No, it means you can use neither. But I have an importer for what little information VC-DB has. Hopefully opcodes can be added to it directly for SA if I can finish it soon enough that people start using it when discovering opcode names and such.

Share this post


Link to post
Share on other sites
random_download

Looks nice, but I can't get it to work right, I run 'Point.exe test.sand /out:test.scm' from a batch file, and it seems to work but it never actually creates the .scm file :S

Share this post


Link to post
Share on other sites
jonc

Is default.ide in the current directory? If not, make sure to give it the path with /ide. Otherwise, what is the exact output it gives and what is the contents of the file you are trying to compile?

 

Also it isn't documented anywhere I guess but you'll need /target:vice, but that isn't the issue you are having as that would make the float values weird when loaded into the game.

Share this post


Link to post
Share on other sites
random_download

Yes, I have got default.ide in the dir, the code is just copied and pasted off your site. The program closes before I can read what it says, but I managed to grab a screenshot just before it closes. There is a line at the end that says "During function call 'create_player' is undefined", so I guess that is the reason why. As I said the code is just copied from your site

 

Player player;// these will automatically initialize before our start thread beginsint f1=0,f2=1;start thread fibwait {// Some standard initializationplayer=create_player(0,811.875,-939.9375,35.75);

 

Yet at the top the var player is indeed defined. I tried doing "Player player=create_player(0,811.875,-939.9375,35.75);" but got the same error.

Share this post


Link to post
Share on other sites
jonc

Heh, yeah, I forgot to change the example code. create_player should be CreatePlayer and likewise for the other function calls with underscores in them. I'll update the code on the site when I get home from work.

 

And there is an undocumented parameter /wait that will make it keep the window open, or you can launch it from the command line.

Share this post


Link to post
Share on other sites
random_download

How do models work? doing:

ProtoType Model = PGA;

or

ProtoType Model = #PGA;

or

ProtoType Model = 95;

doesn't seem to work.

Share this post


Link to post
Share on other sites
jonc

Sorry I forgot to include prototypes in an example.

 

You don't need to declare prototypes, when you need to use it simply pass one of these:

 

 

CreateSomething(prototypeof(XYZ),...);CreateSomething(prototypeof(92),...);

 

 

You should also be able to do this, but I've actually never tried it:

 

 

Prototype x = prototypeof(XYZ);CreateSomething(x,...);

 

 

One of my goals was to eliminate all the weird symbols MB and even GTAMA used, so in this one spot it is slightly more verbose.

Share this post


Link to post
Share on other sites
random_download

Thanks, my test script works now smile.gif only bad thing it seems is that functions are case sensitive eg. Wait(0); works but wait(0); doesn't. Other than that this compiler is amazing tounge.gif

Share this post


Link to post
Share on other sites
ghost_master2000

hmmm... this looks good, adn I'm very interested in using this, but being lazy like I am I think I'm gonna wait till there is an IDE for it.

 

I liked how in GTAMA you could start a function adn a window would pop up with a list of functions that woudl complete it. IF this had an interface similar to that of visual C++, with the dropdown lists of functions and variables for completion I would be all over it. I know, I know, I'm lazy and all, i don't feel like relearning all the function names and such, but once it has that, I'll be spitting out mission scripts like the chick in excorcist spits out puke.

Share this post


Link to post
Share on other sites
tomworld10

Hi,

 

Thanks for the update !!!!

 

 

Have fun

Share this post


Link to post
Share on other sites
kornman00

Thats pretty cool, good job smile.gif

Share this post


Link to post
Share on other sites
funtikar

What happened to this? Did anyone made any working mission with it?

Share this post


Link to post
Share on other sites
Node

 

What happened to this? Did anyone made any working mission with it?

You sir are a moron.

 

The topic is 6 years old, The creator hasn't been on in 6 years either and i doubt anyone even knows about its existence these days, want to make missions?

 

Use Sanny Builder

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

  • 1 User Currently Viewing
    0 Members, 0 Anonymous, 1 Guest

×

Important Information

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