Jump to content

[DooD]Heavyair

Members
  • Posts

    264
  • Joined

  • Last visited

Everything posted by [DooD]Heavyair

  1. HI ALL i want to know if objects ( like ramps and buildings ) use TXD files for there textures and if u can change them like you can cars i downloaded a resource called ZONDA from MTA resources which replaces TXD and DFF files for cars and i was wondering if i could use this with objects as well my second question is about the ZONDA resource as well when it replaces the textures for the vehicle it replaces the DFF file as well but i have a few vehicle textures that only have a TXD file and no DFF file. is it possible to load the TXD file on its own or would i need to get a DFF file for them before i can use them. i was thinking of using IMGtool or something to extract the associated DFF files from the GTA3.img file but thats a lot of hassle if i dont need to do it thanx for any replys EDIT :: i have tried to extract a DFF file from gta3.img but it doesnt help load the TXD file like i was hoping so does anyone know how to make a DFF file to go with a TXD file
  2. ok thanx for the reply it does seem to work ok without the handling changes ( u just have to be really careful with the forklift when its loaded ) on a related note i was wondering if i can attach a collision shape to the dft30 truck so it will create a tail gate that closes when u drive a car into the back of the truck. i have manged to do this with the side panel and rear panel and rear door on the aircraft carrier but when i try to attach the collision shape to the truck it doesnt seem to work. is it possible to do this ?
  3. hello i am trying to load a mod for the DFT 30 truck i have found it is supposed to let you carry cars and things around on the back of the truck and it cokes with an associated forklift mod which lets u lift up cars with the forklift from what i have read in the forums i dont know if this is possible before DP3 i have loaded DFT and TXD files to change the appearance of vehicles but to use the DFT 30 and FORKLIFT mod i need to change other settings as well and i wanted to know if this is possible sorry if this is answered in another thread but i have read most of them and there doesnt seem to be a definite answer i have read that u cant edit handling until DP3 but im not sure if thats what i need to do this is from the readme that comes with the mod. i took some of the numbers out but i hope you can get an idea of what i need to do. i am just not sure what i need to do about all the numbers. Forklift: Replace " Forklift.dff " in gta3.img file Handling: (just added more mass to the vehicle) FORKLIFT 8000.0 1354.2 2.0 0.0 -0.2 -0.35 70 0.80 0.85 0.5 3 60.0 12.0 thanx for any ideas
  4. you could try using 127.0.0.1 to connect to your own server but i dont think u can see your own server in the browser even when its working properly
  5. ok assuming you dont have a router and you can play mta on other servers u dont have far to go first start the mta server you should get the little command line screen. just ignore the thing about settings.xml in the server screen type start broph and press enter. should tell you resource started now start mta deathmatch game and choose quick connect with these settings IP 127.0.0.1 PORT 22004 and click connect this should spawn you into a free roam game just to make sure everything is workin if thats ok then we can move on if you open the directory where MTA server is installed and go to \mods\deathmatch\resources this is where all gamemodes and maps are stored you should have quite a few and to start them u just need to type start "name of resource" and then when u join the game press f8 and type votemode and press enter and u will be given an option to load different maps. if u want to try different game modes just type stop "name of gamemode" in server window and then start the new one. also pressing f9 in game brings up help menu for whatever u have running. that is pretty much the most basic guide i can give for testing that stuff works but if u have a router it gets more complex if you want to keep the server private you need to set a password in the server config file which is in the MTA server directory \mods\deathmatch mtaserver.cfg if u open it in notepad it tells you what all the settings do but u dont need to change any for the minute unless you want a password set now to let friends play on your router u need to get your IP address . just open network connections\ local area connection then click support tab and it should be there . now open mtaserver config again and put your IP address in <!-- This parameter specifies the IP address on which the server. It's useful for servers which have multiple IP addresses attached to them. If left blank, it will default to server's standard local IP. --> <serverip> put Your IP here </serverip> then give that IP address to your friends and tell them to use same quick connect settings but your server should also be on the browser even if u cant see it. give that a go and see what happens i may have forgotten one or two things but any problems just post the problem and ill try to help EDIT :: just remembered u might need admin access first go to mta server directory \mods\deathmatch and open accounts.xml with notepad ( right click . open with ) u need to add the line for username and password . add other people you want as admins here also <accounts> <autologin>0</autologin> <account name="Console" password=""/> <account name="Your Username Here" password="Your Password Here"/> </accounts> then u need to open acl.xml in same directory ( use notepad again ) then add this <object name="user.Your Username Here"/> to this section <group name="Admin"> <acl name="Moderator"/> <acl name="SuperModerator"/> <acl name="Admin"/> <acl name="RPC"/> <object name="user.Your Username Here"/> <object name="resource.admin"/> if you want to add other resources that people have posted you just need to copy them into mta server\mods\deathmatch\resources and start them in mta server ( start broph ) most of them have readme files if theres any thing else u need to do one more thing is the differnet resources BROPH is freeroam mode and map / CDM is classic death match / CTF is capture the flag / CTO is capture the orb / CTV is capture the vehicle / DEATHMESSAGES + KILLMESSAGES is who killed who / DEATHPICKUPS is u drop weapon pickups when u die / DRIVEBY is mouse aim in cars / HAY is cool game / INTERSTATE69 is vehicle deathmatch ( at least 2 players to start ) / RACE is race mode / SCOREBOARD keeps score / STEALTH is a game mode / TDMA is team death match arena i think / VOTEMANAGER is what changes mode when u type vote / the rest im not sure about or i dont use and all the ones that have extensions of those above are maps and for the resources i hope that makes sense
  6. posted a reply in client side thread just need to know how far u have got so far will be happy to talk u through any problems
  7. where are u having problems setting up server connections ( ports and ip addresses ) creating admin access for players starting modes or maps writing scripts / functions creating cars objects with map file i can talk u through it all but need to know where to start
  8. are you using a NO-CD patch or any mods if you are you need to do a reinstall of gta sa use the version downgrader and get a NO-CD patch for version 1 if u have mods MTA really doesnt like them so again its a fresh install
  9. have u patched your gta sa to version 1.0
  10. that will be my problem then i havent really tried client side functions very much guess its time to learn EH THANX for the replys eai and 50p ( gotta say i love that name 50p ) EDIT ::: when i run the script above if im not standing fairly close to where it is created the plane never appears. the script gives no errors and if i make sure to be close to where the plane is created i can see it fine. does this mean i should try to run this sort of thing as a client side script so that it is synchronized properly or is this due to something else. if i do need to run it as a client side function is it just a case of setting the script to client in the meta or do i need a server side script as well Thanx for any advice as i am trying to use moveObject and createObject like this quite a lot but this is the first time ive had this problem.
  11. from what ive seen the only way around it is to put the registry entries in yourself if you already have an account with MTA beta. the problem is u need to do the registry before u try the install ( details below ) i had to do a XP reinstall and lost my serial number ( also couldnt remember password ) so lil toady looked up the accounts associated to my IP address and sent me the passwords if u have the username and password for MTA beta just log in to that and get your serial number from your profile and then put username and serial into registry before u try to install MTA u need to open regedit and go to HKEY_LOCAL_MACHINE\SOFTWARE\ then create a new key ( select SOFTWARE right click for menu ) rename the key ( Multi Theft Auto: San Andreas ) then open that key and right click again and make 2 new string values edit one and rename it to username then right click and modify ( put username in ) edit second one and rename it to serial then modify and put in serial number then if u install MTA again it should have username already filled in so just use that account and u should be fine if like me u have lost password / username u need to put a serial request in here https://forum.multitheftauto.com/viewtopic.php?f=89&t=21435 hope that helps
  12. thanx eai ive got to pay more attention to what im typing with the objectScale being client side i dont think ill worry to much about it as im not very good at scripting and im not to sure how to do stuff client side ( not to important anyway for the time being ) i will test the collisions thing now THANX AGAIN EDIT :: OK tried putting setElementCollisionsEnabled ( plane, true ) and i get this : attempt to call global 'setElementCollisionsEnabled' (a nil value) looking at the wiki im pretty sure im writing it wrong but im not sure how to do it
  13. problem is when i try to use ( setObjectScale ) on the fog machines ID 2780 i get an error cant seem to find exact error in server log for this one and when i try to ( setCollisionsEnabled ) true on the plane ID 1681 i also get an error : attempt to call global 'setCollisionsEnabled' (a nil value)
  14. i am trying to make a plane crash on easter bay bridge this is what i have so far function planecrash ( player ) outputChatBox ( "!!!!LOOK OUT BELOW!!!!" ) local plane = createObject( 1681, -1740.3088378906, 411.09747314453, 109.56239318848, 0, 0, 0 ) local smokin = createObject ( 2780, -1740, 411, 109 ) local smokin2 = createObject ( 2780, -1738, 411, 109 ) attachElementToElement ( smokin, plane, -1.5, -4, 0 ) attachElementToElement ( smokin2, plane, 1.5, -4, 0 ) setTimer ( moveObject, 1000, 1, plane, 10000, -1699.7166748047, 502.56951904297, 84.887832641602, -4.5, -11.5, -34 ) setTimer ( moveObject, 11010, 1, plane, 10000, -1527.2728271484, 689.72906494141, 58.848167419434, -5, 11.5, -10.5 ) setTimer ( moveObject, 21020, 1, plane, 10000, -1444.8721923828, 774.34039306641, 50.639617919922, 9.5, -16, 9 ) setTimer ( moveObject, 31030, 1, plane, 10000, -1381.8197021484, 860.57458496094, 53.381561279297, 7.5, 41.5, -10 ) setTimer ( moveObject, 41040, 1, plane, 10000, -1285.4609375, 943.88037109375, 47.282379150391, -3, -21, -4.5 ) setTimer ( moveObject, 51050, 1, plane, 10000, -1223.9165039063, 1008.3391113281, 44.425498962402, -2.5, -4.5, 13.5 ) setTimer ( createExplosion, 62000, 1, -1223, 1008, 44, 4 ) setTimer ( destroyElement, 62000, 1, plane ) setTimer ( destroyElement, 62000, 1, smokin ) setTimer ( destroyElement, 62000, 1, smokin2 ) end plane flys down to bridge trys to land and then blows up the two SMOKIN/SMOKIN2 objects are to make smoke come out of engines what i want to do is use ( setObjectScale ) on the two smoke machines so u cant see them and i also want to use ( setElementCollisionsEnabled ) on the PLANE so it will smash down lampposts on the bridge as it trys to land script is working fine as is but i think i could make it better with these thanx for any ideas
  15. with the ramps not appearing for everyone try this resource https://community.multitheftauto.com/index.php?p=resources&s=details&id=92 works great on my server with the map editor i use DSM map editor but u need to save the map u have created and the put the objects u want into the .map file for the resource your running before anyone else can see them with the floating admin island if u want it to be in place at all times just use the map file to create it like this <object model="4866" posX="-542.96350097656" posY="886.63665771484" posZ="2.7947807312012" rotX="0.5" rotY="0.5" rotZ="75"/> hope that helps a bit
  16. easiest way is just start TDMA or ASSAULT resource and use votemode to start a map just look in MTA server resources directory and everything u need should be there ( assault / team death match ) game modes ( area51, dam, docks etc. are assault game modes ) / ( arena1 , damwars, nomansland etc. are death match maps )
  17. not sure what u mean do u need to set yourself as an admin in your server or are you having problems creating account to install MTA
  18. your ip address in server config file probably needs to be changed. your router would have given you an ip on your home network but you will now be using ip address assigned by service provider just open local area connection and see what your new ip address is or if you have network icon in taskbar just click that and look in support tab
  19. i have made a backdoor / sidelift / and rearlift for the aircraft carrier by easterbay airport i use collision spheres to move lifts and door when player approaches but i need to put a check to see where the lifts / door are when player hits collision sphere my problem is that if player stands on the lift it moves down but when it moves back up player hits collision sphere again and lift moves back down i need to deactivate the collision sphere or make it do a check to see where the lift is so it will go all the way up and player can get off on aircraft carrier deck i was thinking of just using setElementPosition on the sphere and then moving it back again on a timer but just wondered if theres a better way of doing it heres the code backdooropen = createColSphere ( -1465, 501, 1, 5 ) backdoor = createObject ( 3113, -1465.0147705078, 501.51794433594, 1.900021314621, 0, 0, 0 ) sidepanelopen = createColSphere ( -1414, 516, 16, 5 ) sidepanel = createObject ( 3114, -1414.5109863281, 516.51159667969, 16.721645355225, 0, 0, 0 ) rearpanelopen = createColSphere ( -1456, 501, 20, 5 ) rearpanel = createObject ( 3115, -1456.6696777344, 501.32189941406, 17.009790420532, 0, 0, 0 ) function carrierbackdooropen () outputChatBox ( "open sesame" ) moveObject ( backdoor, 5000, -1463.3822021484, 499.57089233398, -9.5959815979004, 0, 0, 0 ) setTimer ( moveObject, 10000, 1, backdoor, 5000, -1465.0147705078, 501.51794433594, 1.900021314621, 0, 0, 0 ) setTimer ( outputChatBox, 9900, 1, "close sesame" ) end function carriersidepanelopen () outputChatBox ( "Side Panel Lowering" ) moveObject ( sidepanel, 10000, -1414.5109863281, 516.51159667969, 9, 0, 0, 0 ) setTimer ( moveObject, 20000, 1, sidepanel, 10000, -1414.5109863281, 516.51159667969, 16.721645355225, 0, 0, 0 ) setTimer ( outputChatBox, 19800, 1, "Side Panel Rising" ) end function carrierrearpanelopen () outputChatBox ( "Rear Panel Lowering" ) moveObject ( rearpanel, 10000, -1456.6696777344, 501.32189941406, 9.009790420532, 0, 0, 0 ) setTimer ( moveObject, 20000, 1, rearpanel, 10000, -1456.6696777344, 501.32189941406, 17.009790420532, 0, 0, 0 ) setTimer ( outputChatBox, 19800, 1, "Rear Panel Rising" ) end addEventHandler ( "onColShapeHit", backdooropen, carrierbackdooropen ) addEventHandler ( "onColShapeHit", sidepanelopen, carriersidepanelopen ) addEventHandler ( "onColShapeHit", rearpanelopen, carrierrearpanelopen ) any ideas greatly appreciated THANX EDIT :: i have sorted it with setelementposition thanx for lookin
  20. right ive built my ferry and all pieces are attached properly but is there any way to attach players/vehicles to it when they land on it and allow them to jump off/ takeoff when they want at the moment if u stand on the deck or land plane / chopper on deck they slide off when ferry moves even if i move it slow i have downloaded the GLUE script form MTA resources but i need a way of turning it on and off without player having to type command or press key i was thinking of using collision shapes at each port that ferry stops to activate / deactivate the GLUE script but that means u will have to wait until ferry stops before u can get off if i use collision shape to stick and unstick players / vehicles at each port would it mess everything up if i leave the keybind for GLUE script switched on so u can leave / board ferry when u want or u can wait for it to stop and it will GLUE u by itself like if u fly to the ferry while its moving land and then press key to GLUE yourself and then wait till it gets to port and will then unstick u or u get on ferry while its stopped and it GLUEs u to the deck before moving off then someone flys past and u want to chase them so u just press key to unglue yourself without having to wait for ferry to stop hope that makes sense i was thinking of using a collision shape that calls this check function to get the PLAYER / VEHICLE to be glued function samSite ( element, matchingDimension ) if ( getElementType ( element ) == "player" ) then veh = getPlayerOccupiedVehicle ( element ) id = getVehicleID ( veh ) if ( id == 592 or id == 577 or id == 511 or id == 548 or id == 512 or id == 593 or id == 417 or id == 487 or id == 553 or id == 488 or id == 497 or id == 563 or id == 476 or id == 447 or id == 519 or id == 460 or id == 469 or id == 513 or id == 464 or id == 501 or id == 465 ) then triggerClientEvent ( element, "onSamTrigger", getRootElement() ) outputChatBox ( "Surface to air missiles have been fired!", element, 255, 0, 0 ) end end end i know ill have to edit it a bit ( take ID check out so it just looks for vehicle/ player / jetpack ) and then i will trigger the GLUE script for whoever / whatever is in collision area i want to be able to just spawn a few vehicles on top of it to give an idea what its for which is the main reason for switching GLUE on and off without any commands EDIT :: glue doesnt seem to work on the ferry u still just slide off. i think its only meant for vehicles looking at the scripts for it
  21. WOW Awesome thanx loads man thats well cool
  22. WOW Awesome thanx loads man thats well cool
×
×
  • Create New...