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 Tree2Likes

Thread: IT MIGHT SOUND STUPID BUT PLEAZE CONSIDER THIS
  

Page 1 of 4 1 2 3 ... LastLast
Results 1 to 10 of 32
  1. #1 IT MIGHT SOUND STUPID BUT PLEAZE CONSIDER THIS 
    Join Date
    Dec 2012
    Posts
    115
    Downloads
    1
    Uploads
    0
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    21
    Likes Received
    9
    i released some modmanagers before but just using logic and SCOtoolbox as an EDIT of other people s releases...
    after i looked at the amazing stuff released by everyone on this amazing site i really wanted to do something mselfe to/....
    all i want to know i how did you guys learn how to do this and how can i to?
    Reply With Quote  

  2. #2  
    ribonucleic's Avatar
    ribonucleic is offline Moderator & Developer
    Join Date
    Mar 2012
    Posts
    631
    Downloads
    4
    Uploads
    0
    Mentioned
    18 Post(s)
    Tagged
    1 Thread(s)
    Likes Given
    128
    Likes Received
    280
    this belongs in the main GTA IV modding forum not this sub-forum, i am going to move it
    HuN likes this.
    Reply With Quote  

  3. #3  
    Colt's Avatar
    Colt is online now Developer
    Join Date
    Jun 2012
    Posts
    833
    Downloads
    0
    Uploads
    0
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    805
    Likes Received
    293
    Personally I looked at the code released here by Three-Socks (Mainly) every day for maybe an hour or two, till I got sick of trying to understand it and just attempted it.

    Possibly not the best way, but I would say that looking at 3's example scripts are the best way for a new learner and re-writing them will help for sure.

    Even if it's just to do something like (This was done on here, not a program so no hating please ) :

    void PedGodmode(void)
    {
    SET_CHAR_INVINCIBLE(GetPlayerPed(), true);
    }

    That could even be wrong, I'm seriously tired right now as I'm writing this. But you get my point. Re-write the simple, small scripts till you get an understanding, then gradually build your way up but do NOT expect to learn it within a week. It's taken me since June last year to get to where I am and I still have an extremely basic understanding of C, the other dev's here probably tower over my abilities lol, but because it's productive site, people here will help.

    Good luck.
    Mod Videos: http://www.youtube.com/DontGetAngryBro
    Reply With Quote  

  4. #4  
    Join Date
    Dec 2012
    Posts
    115
    Downloads
    1
    Uploads
    0
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    21
    Likes Received
    9
    thank you one more thing..i know th scocl can turn .c format into .sco can i do it in reverse?
    wich means can i turn back sco files back to there origin.?
    Reply With Quote  

  5. #5  
    cp619's Avatar
    cp619 is offline Member
    Join Date
    Jul 2012
    Location
    SoCal
    Posts
    95
    Downloads
    10
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    76
    Likes Received
    24
    No, you can't. If you start to learn and make your own stuff, you wouldn't need to do that anyways.
    Reply With Quote  

  6. #6  
    ribonucleic's Avatar
    ribonucleic is offline Moderator & Developer
    Join Date
    Mar 2012
    Posts
    631
    Downloads
    4
    Uploads
    0
    Mentioned
    18 Post(s)
    Tagged
    1 Thread(s)
    Likes Given
    128
    Likes Received
    280
    Quote Originally Posted by ilikeUallNOgay View Post
    thank you one more thing..i know th scocl can turn .c format into .sco can i do it in reverse?
    wich means can i turn back sco files back to there origin.?
    on a level it can be done with default game scripts openiv does this and outputs a pseudo C code, with scotoolbox sco's can be disassembled into asm but any work to decompile them further would have to be done by the user

    Quote Originally Posted by cp619 View Post
    No, you can't. If you start to learn and make your own stuff, you wouldn't need to do that anyways.
    i think we have all looked at decompiled/disassembled code to learn from, so long as he doesn't intend to steal others work then i see no problem with asking what he asked
    Reply With Quote  

  7. #7  
    zorg93's Avatar
    zorg93 is offline Developer
    Join Date
    Jun 2012
    Posts
    276
    Downloads
    0
    Uploads
    0
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    58
    Likes Received
    158
    Quote Originally Posted by ilikeUallNOgay View Post
    thank you one more thing..i know th scocl can turn .c format into .sco can i do it in reverse?
    wich means can i turn back sco files back to there origin.?
    While it is possible to build a program to convert an sco created in scocl back to a c source, it would take ages to make such a program due to how inefficiency scocl makes the output sco, once you did that it would still appear to be meaningless as things like variable names arent included when a c file is compiled(its not as nice a net coding for reflecting). Also variables in sco are all stored as uints, this would make it appear to be even more confusing for you aswell, basically what im saying is its not realisticly going to happen
    Reply With Quote  

  8. #8  
    coldmurda is offline Member
    Join Date
    Jun 2012
    Posts
    113
    Downloads
    1
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    19
    Likes Received
    23
    Quote Originally Posted by Colt View Post
    Personally I looked at the code released here by Three-Socks (Mainly) every day for maybe an hour or two, till I got sick of trying to understand it and just attempted it.

    Possibly not the best way, but I would say that looking at 3's example scripts are the best way for a new learner and re-writing them will help for sure.
    This.
    I started learning from Three-Socks Example scripts, JDMAlex's v1 Trainer, and then finally when Muskelprotze released that stash everything came together (the goes for just about everyone)
    Link:
    https://bitbucket.org/ThreeSocks/gtaiv-example-mods/src
    Thats Three's Example Scripts, "button input" was the first thing I had ever compiled and was were I first started understanding how it all worked.
    From "my" first menu in Mod Manager, all the way up to now in Menu Lib, I have been using his work.
    Reply With Quote  

  9. #9  
    Join Date
    Dec 2012
    Posts
    115
    Downloads
    1
    Uploads
    0
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    21
    Likes Received
    9
    THANK YOU ALL GUYS FOR YOUR SUPPORT (this place is awsome)
    pom.png
    ok one more thing
    if you say
    SET_TEXT_FONT (0)
    how can you identify what 0 is or later in that picture how can you identify numbers such as the ones in front of the SET TEXT DROPSHADOW
    OR when you say set text color (r.g.b.a)
    what is r and g and b and a

    other stuff :
    what does
    bool
    float
    void mean ?
    and how do you guy s understand the cordinates and offsets of stuff .......... it s like almost impossible to get stuff organized like three socks
    Last edited by ilikeUallNOgay; 03-22-2013 at 05:14 PM. Reason: i wanted to
    Reply With Quote  

  10. #10  
    zorg93's Avatar
    zorg93 is offline Developer
    Join Date
    Jun 2012
    Posts
    276
    Downloads
    0
    Uploads
    0
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    58
    Likes Received
    158
    Quote Originally Posted by ilikeUallNOgay View Post
    THANK YOU ALL GUYS FOR YOUR SUPPORT (this place is awsome)
    Click image for larger version. 

Name:	pom.png 
Views:	58 
Size:	19.8 KB 
ID:	42326
    ok one more thing
    if you say
    SET_TEXT_FONT (0)
    how can you identify what 0 is or later in that picture how can you identify numbers such as the ones in front of the SET TEXT DROPSHADOW
    OR when you say set text color (r.g.b.a)
    what is r and g and b and a

    other stuff :
    what does
    bool
    float
    void mean ?
    and how do you guy s understand the cordinates and offsets of stuff .......... it s like almost impossible to get stuff organized like three socks
    If im not mistaken that is from three-socks?? Text library.
    anyway you dont need to use whats inside the function
    just do something like this
    PHP Code:
    set_up_draw(20.3f0.3f255255255110);
    draw_text("STRING"0.05f0.1f"Text To Display"); 
    that needs to be looped every frame for it to show.
    the type just determines how it looks,
    width and height pretty self explanatory generally 0.3f for each is pretty good,
    the r, g, b and a are the colours of it and they range from 0 to 255
    r - red, g - green, b - blue, a -alpha(how bright the colours are)
    for the draw text the first thing needs to be "STRING"
    second is the x coord on screen, third is y coord. they both range from 0 to 1
    last is the text to display
    Reply With Quote  

Page 1 of 4 1 2 3 ... 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
  •