31.03.2013, 18:21
(
Последний раз редактировалось newbienoob; 28.04.2013 в 05:50.
)
Hey. Few days ago, I made a converter that will convert removeWorldObject(removes gtasa object in mta map editor) to RemoveBuildingForPlayer. Currently, there is no way to convert it(even with convertffs or delux converter). So that's why I made it. I got an idea from here; https://sampforum.blast.hk/showthread.php?tid=426489
How to use:
It's easy and fast.
- Copy your .map file to Scriptfiles folder.
- Open any gamemode like grandlarc, bare, or anything.
- Find OnGameModeInit and type:-
Convert("yourmapfilename.map");
- Compile it.
- Now run samp-server.exe and.. that's it! You're done. The converted codes are saved in scriptfiles folder called Converted.pwn
Screenshots
MTA
http://imgffs.com/i/v3i4h.png (some objects are not visible in the image because of draw distance in MTA)
SAMP
http://imgffs.com/i/4bNOU.png
Updated! Thanks to Sanguy
PM me if you found any bug.
How to use:
It's easy and fast.
- Copy your .map file to Scriptfiles folder.
- Open any gamemode like grandlarc, bare, or anything.
- Find OnGameModeInit and type:-
Convert("yourmapfilename.map");
- Compile it.
- Now run samp-server.exe and.. that's it! You're done. The converted codes are saved in scriptfiles folder called Converted.pwn
Screenshots
MTA
http://imgffs.com/i/v3i4h.png (some objects are not visible in the image because of draw distance in MTA)
SAMP
http://imgffs.com/i/4bNOU.png
Updated! Thanks to Sanguy
Quote:
GOOD NEWS GUYS, newbienewb has given me permission to release my fixed and updated version!!! I give credits to newbienewb for creating the original include. All I did was fix it and add some new features. Just like the original version, you NEED sscanf for it to work!
http://www.mediafire.com/download.php?6uvbluaygwdjo54 http://www.mediafire.com/download.php?7g1g479kr7qa81x Download both of those files. Now, instructions on use: - Copy your .map file to Scriptfiles folder. - Open RWOconverter.pwn in pawno - Replace "Convert(_______________.map);" with "Convert(MAP NAME HERE .map);" NOTE: this new version has the ability to generate RemoveBuilding lines for an object's LODs, as well. If you want to utilize that functionality(highly recommended), uncomment the Convertlod line and the coding below it - Compile the script. - Add RWOconverter to server.cfg and run samp-server.exe. If you did it properly, there should be a file in Scriptfiles called Converted.pwn(AND Convertedlod.pwn if you used the lod functionality) containing the new RemoveBuildingforPlayer lines. You can now make your map using them(NOTICE: if you used the lod option, then when you open the new convertedlod.pwn, ignore or delete the lines that have a zero for the modelid. Those were for objects that have no LODs) Tips & Tricks: if you encounter the old problem where the include doesn't convert all the removeworldobject entries, try increasing the string lengths and the pragma(if you get stack/heap notices upon compiling the .pwn). |
PM me if you found any bug.