Module: BMOD - Extended Physics Module
2 Attachment(s)
https://github.com/jonatan1024/bgmod..._logo/bmod.png
What is BMOD? BMOD allows amxx developers to use physics engine (Bullet) inside their plugin. There are few videos, so you can get the idea, what kind of things can be achieve with this: http://www.youtube.com/watch?v=WxbXrLsKFGQ http://www.youtube.com/watch?v=Nn26KkoIGNY http://www.youtube.com/watch?v=pAocm7bZszs http://www.youtube.com/watch?v=CUmNRsVro1U http://www.youtube.com/watch?v=vUCIKGlyDBQ http://www.youtube.com/watch?v=fAJlHJehlI8 How does it work? There is an API which gives you the ability to create dynamic, static or kinematic objects inside the "bullet world". After creating an dynamic object, you connect it to some entity and this entity now copies the object's movement. Dynamic objects can be used as anything that moves freely, for example pink rubber balls boucing all across the map. In case of static object, no movement is copied, but you can still work with the object, set its properties, etc. These can be used for building the world, making walls or triggers. Kinematic objects are exact opposite of dynamic objects - they copy their entity's movement. That is useful for player collision box or for moving brush entities like doors, trains, etc. Documentation? For documentation just grab latest inc file, everything should be written in there. Hello world? Here is a simple example where you can learn how to create static world, dynamic spheres, kinematic player collision box and modify behaviour of some objects (bounciness). Code:
#include <amxmodx> More? Download bmod_test.zip form the attached files. It contains more complicated example and also that fyzsph.mdl you might be looking for. You can also check out CrateNade plugin. Latest binaries/source Download latest binaries from GitHub (windows,linux). Download latest amxx include file from Github. View latest source at GitHub. Additional info Your feedback, wishes and english mistakes corrections are appreciated! Current linux release requires Bullet shared libraries to be put into hlds root directory. If there is anyone who can recompile this module for linux without the need for bullet shared libs, your help is very welcome. Attached zip file might be several years old and contain some serious bugs. If you're looking for old-api bmod, see legacy branch. It's full of bugs and has been discontinued. Thanks joropito for helping me with GitHub and other support. |
Re: Module: BMOD - Extended Physics Module
Finally released! Good job!
|
Re: Module: BMOD - Extended Physics Module
I just cant belive it,
this is better than hl2 Physics omg. Good job! |
Re: Module: BMOD - Extended Physics Module
Sweet!
|
Re: Module: BMOD - Extended Physics Module
|
Re: Module: BMOD - Extended Physics Module
Quote:
|
Re: Module: BMOD - Extended Physics Module
Quote:
And i take back my words :):):):):):) But this module here, is so fucking awsome. That bounce balls and spike physics is so nice. I think it is impossible on hl2 physics :) that way i said that is better than hl2 physics. HL2 physics are too real :) but better player touch... |
Re: Module: BMOD - Extended Physics Module
Awesome! Wery NICE! GJ ;)
|
Re: Module: BMOD - Extended Physics Module
EXCELENT!
You upload the plugin that samples in the video: http://www.youtube.com/watch?v=Nn26KkoIGNY ? You upload the models/fyzsph.mdl ? |
Re: Module: BMOD - Extended Physics Module
1 Attachment(s)
Quote:
Code:
#include <amxmodx> |
All times are GMT -4. The time now is 22:57. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.