[FilterScript] Ingame player holding object editor.
#1

Ingame PlayerHoldingObject Editor
(updated to v1.1 25th August 2010)

Basic filterscript-based editor I made (in a bit of a hurry) for holding objects which allows you to move objects around ingame, using the arrow keys, on each set of axes (XYZ offset, XYZ rotation). Realised that actually specifying offsets through trial and error is a bitch, so there had to be an easier way.

Probably a bit crude, but it's simple enough to use. Load the filterscript (it requires zcmd to compile by the way) and /editorhelp will show all three of the commands in their glory. Pick an object and a bone ID (no, you can't pick 0, lulz), execute /editor and it'll appear on your player (and freeze you, as it uses up/down/left/right keystates). Left/right shifts the axis (XYZ rotation/offset) while up/down controls the object along the axis. Once you've got it right in place, /preview can be used to move the camera and see what you've done; /saveobj will spit out the SetPlayerHoldingObject code, already fully formatted with a comment of your choice, to /scriptfiles/savedobjs.txt.

And yes, it's great for briefcases and the like. While not initally my idea, it can also be used in a multiplayer situation. I've now updated it to use a textdraw, the sscanf stock (as opposed to the plugin, it was unnecessary here) and added some other bits here and there.
.amx: http://solidfiles.com/d/cf33/
.pwn: http://pastebin.com/n1PxppfJ
screenshot: here
Reply


Messages In This Thread
Ingame player holding object editor. - by General Abe - 24.08.2010, 12:54
Re: Ingame player holding object editor. - by [TD]Torben - 24.08.2010, 13:10
Re: Ingame player holding object editor. - by bertuspiteri - 24.08.2010, 13:46
Re: Ingame player holding object editor. - by iggy1 - 24.08.2010, 13:56
Re: Ingame player holding object editor. - by Shadow_ - 24.08.2010, 17:48
Re: Ingame player holding object editor. - by playbox12 - 24.08.2010, 17:54
Re: Ingame player holding object editor. - by nuriel8833 - 24.08.2010, 17:55
Re : Ingame player holding object editor. - by Varkoll_ - 24.08.2010, 18:37
Re: Ingame player holding object editor. - by XtremePlanet - 24.08.2010, 19:49
Re: Ingame player holding object editor. - by General Abe - 24.08.2010, 22:32
Re: Ingame player holding object editor. - by Calgon - 24.08.2010, 22:49
Re: Ingame player holding object editor. - by General Abe - 24.08.2010, 22:56
Re: Ingame player holding object editor. - by General Abe - 25.08.2010, 08:00
Re: Ingame player holding object editor. - by Souvlaki - 25.08.2010, 08:25
Re: Ingame player holding object editor. - by matheuzinho - 20.09.2010, 23:25
Re: Ingame player holding object editor. - by Basicz - 21.09.2010, 10:09
Re: Ingame player holding object editor. - by [KMA]DlennartD - 27.09.2010, 10:06
Re: Ingame player holding object editor. - by JamesC - 27.09.2010, 12:19
Re: Ingame player holding object editor. - by royal_king - 27.09.2010, 12:36
Re: Ingame player holding object editor. - by General Abe - 03.10.2010, 14:50
Re: Ingame player holding object editor. - by [HITAMN]Deepak - 03.10.2010, 14:53
Re: Ingame player holding object editor. - by Jaxson - 31.10.2010, 20:01
Re: Ingame player holding object editor. - by Cenation - 09.04.2011, 17:08
Re: Ingame player holding object editor. - by Skidmarks - 23.05.2011, 09:58
Re: Ingame player holding object editor. - by AlternativeDC - 23.05.2011, 10:00
Re : Re: Ingame player holding object editor. - by Naruto_Emilio - 23.05.2011, 21:17

Forum Jump:


Users browsing this thread: 1 Guest(s)