Jump to content

Search the Community

Showing results for tags 'ifp'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Multi Theft Auto: San Andreas 1.x
    • Support for MTA:SA 1.x
    • User Guides
    • Open Source Contributors
    • Suggestions
    • Ban appeals
  • General MTA
    • News
    • Media
    • Site/Forum/Discord/Mantis/Wiki related
    • MTA Chat
    • Other languages
  • MTA Community
    • Scripting
    • Maps
    • Resources
    • Other Creations & GTA modding
    • Competitive gameplay
    • Servers
  • Other
    • General
    • Multi Theft Auto 0.5r2
    • Third party GTA mods
  • Archive
    • Archived Items
    • Trash

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



Member Title





Found 6 results

  1. Hello! I've been working with MTA team on implementing the ability to play custom IFP animations in MTA since a couple of months. Today, I want to notify you all that it's done after a lot work, this means you can create your own IFP animations in 3ds Max using Kam's script, play them in MTA:SA (not released yet) using Lua scripting functions. I've created my pull request on github which you can find here. Everything's pretty much done, but there's one problem, the pull request cannot be merged into the master branch because there's a lot of code to go through, this will make fixing bugs very difficult, so we'll need to test everything in every way possible before releasing. MTA used to have a lot of developers back in the days who designed the core of the software that we have today, I appreciate their work, and I'm forever grateful for their contribution. There are still a few developers from the MTA team and other old contributors who spends hours upon hours on making MTA better, and get literally nothing out of MTA for their work, but they still do it . My point is, MTA has potential, and together, we can make it better, not having enough time to test everything out is on the main reason why we still don't have this feature implemented into MTA's main branch, so I'm here to ask the community for help in testing this feature. There are so many gamemodes that can take advantage of this feature. We still have plenty of RP servers here, and they still keep increasing till this day. RP servers have almost everything they need, server developers keep trying their best to push the limits in order to have more realism, I honestly believe this will fix that problem, or at least improve it. Here are two video: What is IFP? IFP is the animation file format for GTA III, SA, and VC. Adding support for this file format will allow us to play any custom animation which are made for GTA:SA and GTA:VC. You can load as many IFP files you wish to, you can have hundreds of thousands of animations. Note: GTA III animations are not supported for now. How you can help: As much as everyone wants to have custom animations in MTA, I would love to see them as well. You can help by testing different IFP files, and report bugs on this thread. Download the new MTA:SA from here: https://ci.appveyor.com/api/buildjobs/67st54i25p8ge8is/artifacts/InstallFiles.zip Right-click on InstallFiles.zip, extract the files to some location on your computer, I usually extract them to my desktop. Download the resources from here: https://drive.google.com/file/d/1TIK0-M3CNFR_1Yjn6pjImrS7184SS8jS/view?usp=sharing Create a folder with name "resources" in InstallFiles\server\mods\deathmatch, and extract resources.zip to InstallFiles\server\mods\deathmatch\resources. Start your MTA:SA server from location: InstallFiles\server\MTA Server.exe, and then start the ifp test resource from console "start ifptest" Now launch MTA from InstallFiles\Multi Theft Auto.exe, join your server. Use keys 1, 2, 3, 4, or 5 to play the custom parkour animation from parkour.ifp in ifptest. How to report bugs? When you are playing custom animations, if something's not working the way it should be, or if MTA crashes then please fill this form and reply to this thread: IFP download link: (put the download link here for IFP, so I can download and test it myself) Description: (Explain what the bug is) Steps To Reproduce: (write the steps on how I can reproduce the bug myself) Example: IFP download link: https://www.website.com/gta4.ifp Description: When I play this animation named "CartWheel," I can't move for a while, and MTA crashes. Steps To Reproduce: 1. Load "gta4.ifp". 2. play animation named "CartWheel" using setPedAnimation. 3. MTA crashes. If you want to submit the bug report by PM on forum then feel free to do so. I've added the resource "ifptest" to show you how to play custom animations. You can check how I did it by checking InstallFiles\server\mods\deathmatch\resources\ifptest\client.lua. About the new Lua functions, quoting myself: "There are three new Lua functions added: // loads IFP with a custom block name ifp engineLoadIFP ( string ifp_file_path, string custom_block_name ) // this will replace an internal GTA animation with custom one, it's a light-weight operation, // don't worry too much about performance. Different peds can have different running, walking, // crouching, shooting, etc. animations all running simultaneously because we are not actually // replacing animation hierarchies, we are merely storing everything in std::map which is in // CClientPed. When an animation triggers, we get the ped by clump, and play the animation // we wish to play. setPedAnimation works a little different than this, but the idea is same. bool engineReplaceAnimation ( ped thePed, string block_name, string anim_name, string custom_block_name, string custom_anim_name ) // This will restore animation replaced using engineReplaceAnimation, if only 1 parameter // is provided which is ped, then it will restore all animations, if block name is also provided, // then it will restore animations of that block only, if animation name is provided as well, // it will restore that specific animation only. bool engineRestoreAnimation ( ped thePed [, string block_name, string anim_name ] ) " To add your own ifp file, just add this to meta.xml: <file src="YourIFPFileNameHere.ifp" /> then in client-side Lua script, you can do: local customIfp = engineLoadIFP ("YourIfpNameHere.ifp", "YourCustomBlockNameHere") setPedAnimation ( localPlayer, "YourCustomBlockNameHere", "YourCustomAnimationNameHere" ) If you have any questions, write them here.
  2. Hello, i'm working on editing IFP animations from GTA San Andreas, using Blender and the GTAToolsForBlender Addon, but I have a enoying problem. When I try to export my IFP file, an error message appears to me: https://imgur.com/gallery/1zINVGK It's an error from the addon or there is a step that I'm not seeing?
  3. Queria fazer uma animação do player varrendo. queria saber se é possivel e como. agradeço des de já <3
  4. Hi please help me how to make Animated Objects ----------- IDE File : objs 18984, Tube100m5, MatTextures, 299, 0 18985, Tube100m6, MatTextures, 299, 0 end anim 19901, AnimTube, MatTextures, AnimTube, 299, 0 end ---------- how to make this anim for the all objects have MatTextures and how to make it for one object with id and Thank You
  5. Please help me how to add anim for objects local function loadobj(resource) col178 = engineLoadCOL('Tube50mGlass1.col') txd178 = engineLoadTXD('MatTextures.txd') dff178 = engineLoadDFF('Tube50mGlass1.dff', 0) engineReplaceCOL(col178, 1833) engineImportTXD(txd178, 1833) engineReplaceModel(dff178, 1833) col901 = engineLoadCOL('AnimTube.col') txd901 = engineLoadTXD('MatTextures.txd') dff901 = engineLoadDFF('AnimTube.dff', 0) engineReplaceCOL(col901, 1858) engineImportTXD(txd901, 1858) engineReplaceModel(dff901, 1858) engineSetModelLODDistance(1833, 299) engineSetModelLODDistance(1858, 299) engineLoadIFP( "AnimTube.ifp", MatTextures ) end addEventHandler('onClientResourceStart', getResourceRootElement(getThisResource()), loadobj) How to add animation for MatTextures using engineReplaceAnimation ?
  6. Olhem este meta e este lua: META: <meta> <info author="^Marry" version="1.0" type="script" /> <script src="animation.lua" type="client" /> <file src="bikev.ifp" /> </meta> LUA: function setanimation() if engineLoadIFP("bikev.ifp") then setPedAnimation(getLocalPlayer(), "ANIMATIONBLOCK", "animation1") end end addCommandHandler("animation", setanimation) Este bikev.ifp é um ifp para um skate flutuante, o problema é que o MTA lê normal, porém, ele não ativa, mesmo que carrega o script, algo de errado? (retirei dos tutoriais do mta na wiki)
  • Create New...