AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   Entity Editor (https://forums.alliedmods.net/showthread.php?t=212653)

hornet 04-05-2013 09:32

Entity Editor
 
4 Attachment(s)
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! :)

hornet 04-05-2013 09:33

Re: Entity Editor
 
Changelog:


0.0.2
Code:

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

Inital Release

ANTICHRISTUS 04-05-2013 11:04

Re: Entity Editor
 
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 :|.

roymor 04-05-2013 11:37

Re: Entity Editor
 
Amazing :)

FanatikSVK 04-05-2013 15:47

Re: Entity Editor
 
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

hornet 04-05-2013 21:43

Re: Entity Editor
 
Thanks for those translations. Will update when I'm on my PC.

And antichristus it was actually random this time haha.

Kz1.0 04-07-2013 12:46

Re: Entity Editor
 
@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 ?

hornet 04-08-2013 02:02

Re: Entity Editor
 
Lang file updated.

Quote:

Originally Posted by Kz1.0 (Post 1928140)
@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 :)

Blizzard_87 04-08-2013 02:39

Re: Entity Editor
 
can it change passwords on doors?

hornet 04-08-2013 03:14

Re: Entity Editor
 
Quote:

Originally Posted by Blizzard_87 (Post 1928485)
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.


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

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