Quantcast

Jump to content

» «
Photo

MTA script in SP

5 replies to this topic
TheNikoBellic98
  • TheNikoBellic98

    Rat

  • Members
  • Joined: 06 Apr 2014
  • Argentina

#1

Posted 3 weeks ago

Hi! Is possible to make MTA SA scripts work in single player SA? If anyone how to do it please help me.

https://m.youtube.co...h?v=Ax7oJtMREms

Mysterdogg
  • Mysterdogg

    The Original

  • Members
  • Joined: 09 Mar 2015
  • United-States

#2

Posted 3 weeks ago

Hi! Is possible to make MTA SA scripts work in single player SA? If anyone how to do it please help me.

https://m.youtube.co...h?v=Ax7oJtMREms

 

Hello, MTA script formats are different from GTA SA (single player) so is not possible to make them work in SP version; but theoretically, we can "convert" them from MTA to SP translating the codes, maybe using Plugin SDK by Dk22pac.


TheNikoBellic98
  • TheNikoBellic98

    Rat

  • Members
  • Joined: 06 Apr 2014
  • Argentina

#3

Posted 3 weeks ago

Hi! Is possible to make MTA SA scripts work in single player SA? If anyone how to do it please help me.

https://m.youtube.co...h?v=Ax7oJtMREms

 
Hello, MTA script formats are different from GTA SA (single player) so is not possible to make them work in SP version; but theoretically, we can "convert" them from MTA to SP translating the codes, maybe using Plugin SDK by Dk22pac.

Thanks for your answer. Are you scripter or do you know how to convert them? I just want the script showed in the video.

Mysterdogg
  • Mysterdogg

    The Original

  • Members
  • Joined: 09 Mar 2015
  • United-States

#4

Posted 3 weeks ago

 

 

Hi! Is possible to make MTA SA scripts work in single player SA? If anyone how to do it please help me.

https://m.youtube.co...h?v=Ax7oJtMREms

 
Hello, MTA script formats are different from GTA SA (single player) so is not possible to make them work in SP version; but theoretically, we can "convert" them from MTA to SP translating the codes, maybe using Plugin SDK by Dk22pac.

Thanks for your answer. Are you scripter or do you know how to convert them? I just want the script showed in the video.

 

 

yes, I'm a scripter but I don't know how to convert those files; anyways, you can talk with someone that knows how to use Plugin SDK or any other way to convert them, but I wouldn't recommend you to convert that modification, it isn't finished and even the author said it has a bug that is showed in the video.


TheNikoBellic98
  • TheNikoBellic98

    Rat

  • Members
  • Joined: 06 Apr 2014
  • Argentina

#5

Posted 3 weeks ago

 

 

Hi! Is possible to make MTA SA scripts work in single player SA? If anyone how to do it please help me.

https://m.youtube.co...h?v=Ax7oJtMREms

 
Hello, MTA script formats are different from GTA SA (single player) so is not possible to make them work in SP version; but theoretically, we can "convert" them from MTA to SP translating the codes, maybe using Plugin SDK by Dk22pac.
Thanks for your answer. Are you scripter or do you know how to convert them? I just want the script showed in the video.
 
 
yes, I'm a scripter but I don't know how to convert those files; anyways, you can talk with someone that knows how to use Plugin SDK or any other way to convert them, but I wouldn't recommend you to convert that modification, it isn't finished and even the author said it has a bug that is showed in the video.

I will search another script with the same function. Thanks.

Gmer
  • Gmer

    Player Hater

  • Members
  • Joined: 2 weeks ago
  • Netherlands

#6

Posted 5 days ago

Until a certain level it's surely possible, because every scripting function in MTA (lua code) represents changing something in the GTA SA engine.

 

So if you're both a good GTA modder and understand LUA scripting, you can make a list of what exactly the scripting LUA function represents: then get the C++ code from MTA:SA opensource for that LUA function, and watch how it does that in GTA. All LUA script calls will have their mechanism of doing in GTA what the script tells them, you can take that code or just same approach to mod SA with it.

 

While reading that MTA script you want to convert, refer to: https://wiki.multith...pting_Functions and then for each call that goes back modifying GTA to achieve where that function is meant for - check the C++ code underneath that LUA function here: (MTA is opensource) https://github.com/m...auto/mtasa-blue

 

 

As I said, to a certain level you can try reproduce a MTA script into GTA modding this way - the remainder is a limitation, because LUA which integrates within MTA and the SA engine, has parts you cannot translate into Modding code, for example: LUA calculations, util code, etc.. LUA is a very advanced language, and you may need to redesign some of a script in order to do the same as a MTA LUA script once did.

Another limitation is script server > client communication (MTA) and GUI's/interfaces in script (MTA) that are not easily transferrable or replacable with near-equal code for GTA SA modding.

 

 

So long story short: Enough dedication and you will get there, converting MTA SA script to GTA SA singleplayer!

Technically, it's possible as I explained.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users