Forum: Grand Theft Auto Series Modding - Our GTA Modding Team is the best around. Tutorials & Topics related to modding your GTA games, trophies, and save files! Discuss GTA game modding with the knowledgeable members of PSX-Scene and the Official GTA IV Mod Team.


The above video goes away if you are a member and logged in, so log in now!




 
Would you like to get all the new info from
PSX-Scene in your email each day?




Want to learn more about the team keeping you up to date with the latest scene news?

Read about them now!

Check out our Developer bios, too!

 


User Tag List

Like Tree46Likes

Thread: [TUT] How to Compile Code + Example Scripts
  

Page 4 of 15 FirstFirst ... 2 3 4 5 6 14 ... LastLast
Results 31 to 40 of 149
  1. #31  
    almog123z is offline Member
    Join Date
    May 2012
    Posts
    17
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    3
    Likes Received
    0
    how can i convert those mods to xbox 360?
    after i finshed coding ?
    Reply With Quote  

  2. #32  
    spadger's Avatar
    spadger is offline Member
    Join Date
    Mar 2012
    Location
    UK
    Posts
    141
    Downloads
    2
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    29
    Likes Received
    29
    Quote Originally Posted by almog123z View Post
    how can i convert those mods to xbox 360?
    after i finshed coding ?
    If you compile with the 1040 natives.cfg then they'll be fine. Use the IVPS3.scocl package to compile.
    Reply With Quote  

  3. #33  
    ribonucleic's Avatar
    ribonucleic is online now Moderator & Developer
    Join Date
    Mar 2012
    Posts
    639
    Downloads
    4
    Uploads
    0
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    121
    Likes Received
    276
    Do the arithmetic assignment operators cause the game to crash?
    The operators i am refering to are:
    Code:
    /=
    *=
    -=
    +=
    Reply With Quote  

  4. #34  
    HuN's Avatar
    HuN
    HuN is offline Moderator
    Join Date
    Feb 2012
    Posts
    463
    Downloads
    2
    Uploads
    0
    Mentioned
    22 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    437
    Likes Received
    402
    Quote Originally Posted by ribonucleic View Post
    Do the arithmetic assignment operators cause the game to crash?
    The operators i am refering to are:
    Code:
    /=
    *=
    -=
    +=
    see 1st post ... Three-socks pointed out limitations , not sure it awnser your question since its related to compiler , not game itself .

    Quote Originally Posted by Three-Socks
    Known limitations with scocl/llvm

    Using operators such as += / -= / ++ on structs is not supported. This is a tricky one to catch because scocl will report "compile successful" but won't create the output file.

    Use the long methods instead:


    Code:
    struct.field = struct.field + 1;
    struct.field = struct.field - 1;
    Reply With Quote  

  5. #35  
    ribonucleic's Avatar
    ribonucleic is online now Moderator & Developer
    Join Date
    Mar 2012
    Posts
    639
    Downloads
    4
    Uploads
    0
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    121
    Likes Received
    276
    Quote Originally Posted by HuN View Post
    see 1st post ... Three-socks pointed out limitations , not sure it awnser your question since its related to compiler , not game itself .
    yes i saw that but seeing as it compiles properly i am wondering exactly what problem it causes. One thing though i have sucessfully used ++ where it procedes the variable like so:
    Code:
    variable++
    Edit: i have just noticed that it says they cannot be used on structs
    Reply With Quote  

  6. #36  
    Three-Socks's Avatar
    Three-Socks is offline Developer
    Join Date
    Feb 2011
    Posts
    362
    Downloads
    16
    Uploads
    0
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    83
    Likes Received
    308
    afaik its just structs.

    I've used -= and += before with no problems on normal int/uint vars. But I haven't tried /= or *= and I haven't tried using them on floats.
    Reply With Quote  

  7. #37  
    Three-Socks's Avatar
    Three-Socks is offline Developer
    Join Date
    Feb 2011
    Posts
    362
    Downloads
    16
    Uploads
    0
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    83
    Likes Received
    308
    Just a quick update to say I'm working on a new "example". But its more of a set of functions like a library, to create a menu. So any of you looking to have a menu in your mod may be interested in it. The main objective when I started coding it was to make it easy to create a menu and make the code look more simple. So its easier to maintain in the future.

    tbb.ty/b6LC0 awesoma powa!
    Something I should of done long before. But I learnt the hard way when I was working on garage 2.0 :P

    It will be released along side the first project I will be using the library on.
    Last edited by Three-Socks; 05-28-2012 at 04:26 PM.
    HuN, spadger and iHaz Gas like this.
    Reply With Quote  

  8. #38  
    Join Date
    May 2012
    Location
    Etats-Unis
    Posts
    50
    Downloads
    2
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    29
    Likes Received
    8
    GOOD
    Reply With Quote  

  9. #39  
    Join Date
    May 2012
    Location
    Etats-Unis
    Posts
    50
    Downloads
    2
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    29
    Likes Received
    8
    I can not change a name in scripts XBOX
    Reply With Quote  

  10. #40  
    Three-Socks's Avatar
    Three-Socks is offline Developer
    Join Date
    Feb 2011
    Posts
    362
    Downloads
    16
    Uploads
    0
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    83
    Likes Received
    308
    My laptop can just about run gta lol. So I've been using the pc version a lot lately for PS3 development funnily enough. So I've updated IVPS3.Scocl.zip with my latest set up I use.

    Changes:
    Code:
    scocl_old.exe compiles using natives for PS3 development compatibility (can be used for PC development if using 1.0.4.0 game patch or lower).
    scocl_new.exe compiles using new natives for PC development compatibility (Must be running 1.0.7.0 game patch).
    Reply With Quote  

Page 4 of 15 FirstFirst ... 2 3 4 5 6 14 ... LastLast
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •