Raised This Month: $12 Target: $400
 3% 

Entity Editor


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Technical/Development       
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 04-05-2013 , 09:32   Entity Editor
Reply With Quote #1

Entity Editor
Version 0.0.2

by hornet

Introduction

Does that cell door open just that little bit too slow? Speed it up?
The map creator put in a button that doesn't even work? Let's fix it!
Why is there an Elephant Gun in Pool Day!? Make it a UMP instead?

Entity Editor is an old plugin of mine which I've decided to complete and publish. You can use it to edit the key values of any brush entity or map weapon ( excluding those thrown by a player ), with a very straight forward and easy-to-use interface.
The menu can be brought up by pushing your USE key ( default 'E' ), and then push USE again whilst aiming at a lit up entity to edit it. Any changes made will only take effect once reloaded / map change, and will be saved for real gameplay so long as the plugin is running.

CVars
  • ent_edit_mode <0|1> Enables / Disables Edit Mode. Doing so will restart the server. Should be disabled during real gameplay.
  • ent_safe_mode <0|1> Enables / Disables Safe Mode. Doing so will lock / unlock certain features and key values which may prevent your server from loading if incorrectly edited. ADVANCED AMXX / HAMMER EDITOR USERS ONLY!
  • ent_edit_admin <0|1> When enabled, only users with Admin Menu Access will be able to edit.

Required Modules

Installation

Installing this plugin is just like any other; put entity_editor.amxx ( after compiling locally ) into plugins folder and add to plugins.ini. Next place entity_editor.txt into data/lang.
To compile the plugin locally, place nvault_util.inc into scripting/include.

Credits

Bugsy
  • String storage help
  • nVault Utility

Translators:
  • ANTICHRISTUS - French
  • FanatikSVK - Slovakian
  • luki1412 - Slovakian
  • quilhos - Portuguese
  • claudiuhks - Romanian
  • naven - Polish
  • Kia - German
  • jingojang - Swedish
  • baneado - Spanish

Conclusion

To anyone who can help with multilingual, it would be much appreciated!
Attached Thumbnails
Click image for larger version

Name:	ekv.jpg
Views:	2844
Size:	83.4 KB
ID:	118090  
Attached Files
File Type: inc nvault_util.inc (3.4 KB, 771 views)
File Type: sma Get Plugin or Get Source (entity_editor.sma - 2078 views - 18.8 KB)
File Type: txt entity_editor.txt (20.0 KB, 867 views)

Last edited by hornet; 05-10-2013 at 06:13.
hornet is offline
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 04-05-2013 , 09:33   Re: Entity Editor
Reply With Quote #2

Changelog:


0.0.2
Code:
All entities are forced to have spawnflags key value now
0.01
Code:
Inital Release

Last edited by hornet; 04-14-2013 at 06:58.
hornet is offline
ANTICHRISTUS
kingdom of weird stuff
Join Date: Jun 2010
Location: My kingdom is not in thi
Old 04-05-2013 , 11:04   Re: Entity Editor
Reply With Quote #3

wow, looks nice. and the green color of your titles, it's just at random ?

Code:
[fr]
KV_MENU = %s selectionné(e). Choisissez pour éditer la valeur des boutons:
ENT_MENU_ACTIVE = Éditeur: %s
ENT_MENU_NONE = \dÉditeur d'entité(s) \r[ AUCUNE DE SELECTIONNÉE ]
ENT_GLOBAL_OPTIONS = Options globales des entités
ENT_NONE_SELECTED = Aucune entité n'est sélectionnée!

KV_SET = bouton ^"%s^" avec une valeur de ^"%s^" fixé à ^"%s^" - Les changements seront appliqués au changement de map
KV_LOCKED = cette valeur de bouton est bloquée!
KV_RESET_SELECTED = Les valeurs par défaut du bouton "%s" seront restaurés au redémarrage
KV_RESET_ALL = Les valeurs par défaut des bouton pour toutes les entités ( vaste map ) ont été réinitialisés avec les valeurs par défaut.

ENT_MAP_RESET = Toutes les valeurs des boutons d'entités ont été effacés du fichier de sauvegarde
ENT_MAP_RESETQ = Êtes vous sur de vouloir effacer les données de cette map?

EDIT_MODE_ALREADY_ON = Le mode d'édition est déjà activé!
EDIT_MODE_OFF_RESTART = Serveur en cours de redémarrage. Le mode d'édition sera désactivé au re-commencement
EDIT_MODE_ALREADY_OFF = Le mode d'édition est déjà désactivé!
EDIT_MODE_ON_RESTART = Serveur en cours de redémarrage. Le mode d'édition sera activé au re-commencement
EDIT_MODE_IS = ^"ent_edit_mode^" est ^"%i^"

YES = Oui
NO = Non
ps. to provide the specific .inc file is better for those who don't know how to search .
__________________

Last edited by ANTICHRISTUS; 04-05-2013 at 11:06.
ANTICHRISTUS is offline
roymor
Senior Member
Join Date: Apr 2012
Old 04-05-2013 , 11:37   Re: Entity Editor
Reply With Quote #4

Amazing
roymor is offline
FanatikSVK
Member
Join Date: Aug 2012
Location: Slovakia
Old 04-05-2013 , 15:47   Re: Entity Editor
Reply With Quote #5

WOW nice job !
Code:
[sk]
KV_MENU = %s Vyber. Vyber, ci chces upravit Key Value:
ENT_MENU_ACTIVE = Editor: %s
ENT_MENU_NONE = \dEntity Editor \r[ Nevybrane ]
ENT_GLOBAL_OPTIONS = Globalalne Entity Nastavenia
ENT_NONE_SELECTED = Neexistuje ziadny vybrany subjekt!

KV_SET = Key ^"%s^" s hodnotou ^"%s^" nastaveny na ^"%s^" - Zmeny sa prejavia po zmene mapy
KV_LOCKED = Tato hodnota kluca je uzamknuta!
KV_RESET_SELECTED = Hodnoty predvolenych klucov pre "%s" Bude obnoveny po restarte
KV_RESET_ALL = Hodnoty vsetkych klucov pre vsetky subjekty (celej mapy) boli obnovene na predvolene

ENT_MAP_RESET = Vsetky entity Key hodnoty pre tuto mapu boli vymazene z suboru
ENT_MAP_RESETQ = Sisi isti, ze chces zmazat na tejto mape udaje?

EDIT_MODE_ALREADY_ON = Edit mod je uz aktivovany!
EDIT_MODE_OFF_RESTART = Server restarovany. Edit mod bue zakazany na re-connete
EDIT_MODE_ALREADY_OFF = Edit mod je uz zakazany!
EDIT_MODE_ON_RESTART = Server restarovany. Edit mod bue povoleny na re-connete
EDIT_MODE_IS = ^"ent_edit_mode^" je ^"%i^"

YES = Ano
SK-SLovak
__________________
FanatikSVK is offline
Send a message via Skype™ to FanatikSVK
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 04-05-2013 , 21:43   Re: Entity Editor
Reply With Quote #6

Thanks for those translations. Will update when I'm on my PC.

And antichristus it was actually random this time haha.
hornet is offline
Kz1.0
Senior Member
Join Date: Jan 2013
Location: Vietnam
Old 04-07-2013 , 12:46   Re: Entity Editor
Reply With Quote #7

@hornet, I have some maps that have locked door, and can only be opened by entering the password, can your plugin leave those doors opening all the time ?
Kz1.0 is offline
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 04-08-2013 , 02:02   Re: Entity Editor
Reply With Quote #8

Lang file updated.

Quote:
Originally Posted by Kz1.0 View Post
@hornet, I have some maps that have locked door, and can only be opened by entering the password, can your plugin leave those doors opening all the time ?
Absolutely! You'll need to set CVar ent_safe_mode to 0, then find your door, and change key value spawnflags to 256. Please let me know how it goes
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.
hornet is offline
Blizzard_87
Veteran Member
Join Date: Oct 2012
Old 04-08-2013 , 02:39   Re: Entity Editor
Reply With Quote #9

can it change passwords on doors?
__________________
Blizzard_87 is offline
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 04-08-2013 , 03:14   Re: Entity Editor
Reply With Quote #10

Quote:
Originally Posted by Blizzard_87 View Post
can it change passwords on doors?
Possible, yes, realistic, no. These passworded doors are not made with a simple string of numbers. There are many entities involved, including invisible triggers which the map creator may have placed anywhere.
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.
hornet is offline
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

Forum Jump


All times are GMT -4. The time now is 02:16.


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