CapY Posted August 23, 2011 Share Posted August 23, 2011 I doing a HQ for clan and wanna know how to disable collision when gates opens here : http://imageshack.us/f/199/26585648.png/ Is it possible to disable collisions in original SA world ? Link to comment
CapY Posted August 24, 2011 Author Share Posted August 24, 2011 With some tool or any wiki function ? Link to comment
CapY Posted August 24, 2011 Author Share Posted August 24, 2011 Can you give me a name of the function ? Tool too ( if possible ) Link to comment
qaisjp Posted August 24, 2011 Share Posted August 24, 2011 createObject, partially. buy a model from a modeller Link to comment
CapY Posted August 24, 2011 Author Share Posted August 24, 2011 Yeah i will buy a model from modeler for sure( like i am crazy ) . I have modelers in clan ... Link to comment
Oz. Posted August 24, 2011 Share Posted August 24, 2011 Then get your modellers to work it out. If they have a pair of brain cells to rub together they'd know that what you are proposing is exceedingly simple, and could be done in about two minutes by anyone who knows what they're doing. You've already been told that it's possible (in fact you already knew it's possible as you've seen this exact process done on DKR), and that you need to use functions listed in the Wiki. I'm sure you and your highly competent modellers can figure out the rest. Link to comment
CapY Posted August 24, 2011 Author Share Posted August 24, 2011 So this will be correct function : https://wiki.multitheftauto.com/wiki/Ele ... sion_shape ? Link to comment
Slayer Posted August 24, 2011 Share Posted August 24, 2011 1. https://wiki.multitheftauto.com/wiki/Client_Scripting_Functions#Engine_functions 2. https://wiki.multitheftauto.com/wiki/EngineLoadCOL 3.https://wiki.multitheftauto.com/wiki/EngineReplaceCOL 4.???? 5. ..... Link to comment
qaisjp Posted August 25, 2011 Share Posted August 25, 2011 I have tested txd changes in the world, I haven't test dff. Firstly, you need to find the model id of the object of that location in the world. I'm sure Oz knows that tool, i forgot the name. Secondly, you need to model it so that part of the collisions are removed. Thirdly create an object in the same position of the same world, use setElementCollisionsEnabled(obj,false) and setElementAlpha(obj, 0) on the created object. Finally try and walk through that area and see if you fall through. Now to do what you really want to do (we all know what you are trying to do); create a garage door object so it covers the non-collidable area. Create a colshape roughly around it. When someone enters the colshape move the door object and you have majik on your side. If you can do this, you are no longer classified as a noob, to me. Link to comment
Oz. Posted August 25, 2011 Share Posted August 25, 2011 Firstly, you need to find the model id of the object of that location in the world. I'm sure Oz knows that tool, i forgot the name. Yes Secondly, you need to model it so that part of the collisions are removed. Unnecessary Now to do what you really want to do (we all know what you are trying to do); create a garage door object so it covers the non-collidable area Yes, he is trying to copy something he saw on DKR, but I doubt he will find any garage door objects to cover up the non-collidable (and non-textured) area on this object. The one on DKR was specifically made to fit a specific garage door. If you can do this, you are no longer classified as a noob, to me. You have very low standards. CapY hasn't managed to do a single thing by himself, he occasionally just makes some half-arsed effort or uses code from community resources or resource he's stolen, posts saying "it broke, wat do" and waits for someone to fix it for him. Or in this case, "i saw something on DKR i want to copy, wat do". Didn't even get as far as the half-arsed effort yet. I am disappoint. Going to need to do a lot better to drop the 'noob' classification, and the kind people here who are basically scripting his server for him unfortunately aren't really helping him improve (clearly). Let him do his own work for his own damn server. Link to comment
CapY Posted August 25, 2011 Author Share Posted August 25, 2011 Are you happy now or have to say 20 more lines ? Link to comment
[DKR]silverfang Posted August 25, 2011 Share Posted August 25, 2011 Are you happy now or have to say 20 more lines ? Are you happy now or have to ask for 20 more lines of code? Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now