SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts > Includes

Reply
 
Thread Tools Display Modes
Old 26/10/2014, 01:44 AM   #121
Pottus
High-roller
 
Pottus's Avatar
 
Join Date: Jun 2012
Posts: 4,884
Reputation: 1321
Default Re: [alpha] Objects Physics - Handle objects collisions and more.

You loaded it in a filterscript put this...

pawn Code:
public OnFilterScriptInit()
{
    OnGameModeInit();
    return 1;
}
Pottus is offline   Reply With Quote
Old 26/10/2014, 02:31 AM   #122
Crayder
Banned
 
Join Date: Sep 2013
Location: Flames of Hell
Posts: 3,324
Reputation: 652
Default Re: [alpha] Objects Physics - Handle objects collisions and more.

Is there a way to use mapandreas for the end position? I need it because using PHY_SetObjectZBound I can't make explosions on the ground :P
Crayder is offline   Reply With Quote
Old 26/10/2014, 02:37 AM   #123
Pottus
High-roller
 
Pottus's Avatar
 
Join Date: Jun 2012
Posts: 4,884
Reputation: 1321
Default Re: [alpha] Objects Physics - Handle objects collisions and more.

You would have to modify the include to use map andreas instead of using a minimum zbound it looks like Peppe is still active so he might update if your lucky
Pottus is offline   Reply With Quote
Old 26/10/2014, 06:00 AM   #124
Crayder
Banned
 
Join Date: Sep 2013
Location: Flames of Hell
Posts: 3,324
Reputation: 652
Default Re: [alpha] Objects Physics - Handle objects collisions and more.

Quote:
Originally Posted by Pottus View Post
You would have to modify the include to use map andreas instead of using a minimum zbound it looks like Peppe is still active so he might update if your lucky
I managed to add it, did a lot of testing, the only problem is that it looks pretty weird when it bounces up a hill :P...
Crayder is offline   Reply With Quote
Old 26/10/2014, 04:09 PM   #125
Pottus
High-roller
 
Pottus's Avatar
 
Join Date: Jun 2012
Posts: 4,884
Reputation: 1321
Default Re: [alpha] Objects Physics - Handle objects collisions and more.

Could you send me your edit so I can try playing around with it ?
Pottus is offline   Reply With Quote
Old 23/12/2014, 10:41 AM   #126
dice7
High-roller
 
Join Date: Apr 2009
Location: Slovenia
Posts: 2,200
Reputation: 22
Default Re: [alpha] Objects Physics - Handle objects collisions and more.

First of all this is amazing. Will this get updated? Using the Z axis would be really nice, so you can make a ball go down a staircase or similar

Very good work!
dice7 is offline   Reply With Quote
Old 23/12/2014, 10:55 AM   #127
Banditukas
Banned
 
Join Date: Jul 2014
Posts: 534
Reputation: 2
Default Re: [alpha] Objects Physics - Handle objects collisions and more.

Give download football.
Banditukas is offline   Reply With Quote
Old 23/12/2014, 11:08 AM   #128
Banditukas
Banned
 
Join Date: Jul 2014
Posts: 534
Reputation: 2
Default Re: [alpha] Objects Physics - Handle objects collisions and more.

How to make object moving in 3D and he move that like you hit ball growing up and then down.
Banditukas is offline   Reply With Quote
Old 24/12/2014, 04:50 AM   #129
$$inSane
Gangsta
 
$$inSane's Avatar
 
Join Date: Feb 2012
Location: Behind you, you cant see me!!!
Posts: 658
Reputation: 56
Default Re: [alpha] Objects Physics - Handle objects collisions and more.

Thanks for sharing the include, all i would do is, make a SNOWBALL gamemode(any soon)!!!
__________________
$$inSane is offline   Reply With Quote
Old 01/02/2015, 01:20 PM   #130
newbie scripter
Gangsta
 
newbie scripter's Avatar
 
Join Date: Apr 2012
Location: Heaven <3
Posts: 798
Reputation: 34
Default Re: [alpha] Objects Physics - Handle objects collisions and more.

i got a problem, when i include this in my GM, i get loose indentation warning but when i use it in his example GM, i don't get that problem. any ideas to fix it? and also in my GM, it doesn't work on objects which are already in samp, i mean it doesn't collide with any object
__________________
SUGGESTION FOR FUTURE SA-MP
pawn Code:
forward SetWeaponRange(weaponid, maxrange); // if weapon is fist and 100 range, it may give a warn or super punch xD
forward SetWeaponRecoil(weapoinid, maxrecoil);
newbie scripter is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Player Camera Goes Trough Objects And Attached Objects. [WSF]ThA_Devil Scripting Help 1 20/11/2013 02:40 PM
Handle multiple objects. HeLiOn_PrImE Scripting Help 5 08/04/2012 06:32 AM
If I create the objects in virtual worlds that makes room for other objects? tal_peretz Help Archive 8 17/05/2011 01:48 PM
Question regarding objects, collisions Biesmen Help Archive 5 25/03/2011 06:27 AM
Making objects, deleting created objects KnooL Help Archive 1 15/02/2009 08:34 AM


All times are GMT. The time now is 12:57 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.