AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   New Plugin Submissions (https://forums.alliedmods.net/forumdisplay.php?f=26)
-   -   Set Objects (the object Manager) (https://forums.alliedmods.net/showthread.php?t=319007)

plmods 10-06-2019 03:47

Set Objects (the object Manager)
 
3 Attachment(s)
Preview:

Description: Meet the updated version of the plugin Set Objects - for those who do not remember or just forgot this plugin, I remind you this advanced model Manager - with which you can arrange various items on the cards with a convenient menu.

Change logs:
Quote:

A2-U2 (2.1) to 26.11.2016

1. Added new commands for developers.
2. Increased range of settings and places passed optimization.
3. Added more models.

A2-U1 (2.0): output stable version.
Cvar's:
Code:

objects_access        "l"                                //        Flag of access (l - ADMIN_RCON).
objects_gmode        "1"                                //        Giving immortality in developer mode?
objects_noclip        "1"                                //        Giving Noclip in developer mode?
objects_frame_rand        "1"                        //        Random animation speed.

The buttons to control the object (developer mode):
Quote:

CTRL (duck): Lower object.
E (USE): Raise the object
left arrow: rotate the object to the left.
right arrow: rotate the object to the right.
For developers:
Code:

native obj_register                (const szName[], const szModel[], const szSize[], const szClassname[]);
native obj_remove                        (iObject);
native obj_create                        (Float:fOrigin[3], Float:fAngles[3] = {0.0, 0.0, 0.0}, iObject, iSeq = 0, iSolid = 2);
native obj_show_menu                (iPlayer, iMenu, iPosition = 0);
       
forward player_touch_object        (iPlayer, iEntity);
forward creating_object                (iObject, iEntity, iSeq, iSolid);

There is a contact with the object, called player_touch_object (iPlayer, iEntity);
Connect it to the plug-ins: forward player_touch_object (iPlayer, iEntity);


amirwolf 01-17-2022 20:19

Re: Set Objects (the object Manager)
 
What is the required module?

Natsheh 01-18-2022 06:39

Re: Set Objects (the object Manager)
 
Nice work but the plugin can be improved a lot for example you can create the ability to insert new objects within a cfg file just like how i am doing with mysterybox plugin, and add ability to set the appearance of an object, and also who can touch it or who cant if the object was solid or solid_trigger.


All times are GMT -4. The time now is 06:22.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.