AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Extensions (https://forums.alliedmods.net/forumdisplay.php?f=134)
-   -   [EXTENSION] CustomKeyValues (https://forums.alliedmods.net/showthread.php?t=305347)

hmmmmm 02-16-2018 14:45

[EXTENSION] CustomKeyValues
 
Note: Use the plugin version instead: https://forums.alliedmods.net/showthread.php?p=2588562

This extension was made with the idea of allowing easy transfer of information between maps/mappers and plugins.

Mappers can add keys/values for entities through hammer by clicking "Smart Edit" and filling in the boxes:
https://camo.githubusercontent.com/7...3379522e706e67

Then, once the map is loaded on the server, the extension will pick up any keys/values that the server tries to throw out, and provides a native to allow plugins to easily get them.
Following from the example of the image above:
PHP Code:

char tier[8];
bool success GetCustomKeyValue0"mod_tier"tiersizeoftier ) );
PrintToServer"Map tier: %i (%s)"StringToInttier ), success "success" "failure" );
    
// output: "Map tier: 3 (success)" 


Drixevel 02-23-2018 05:28

Re: [EXTENSION] CustomKeyValues
 
so uhh... this is useful as shit.

Drixevel 03-13-2018 07:30

Re: [EXTENSION] CustomKeyValues
 
Any chance for TF2 support?

hmmmmm 03-13-2018 08:00

Re: [EXTENSION] CustomKeyValues
 
Sure

404UserNotFound 03-19-2018 12:55

Re: [EXTENSION] CustomKeyValues
 
Perfect. Like Drix said, this is immensely useful.

VsX 03-30-2018 18:06

Re: [EXTENSION] CustomKeyValues
 
Great Job !!! That's what I'm looking for!
Can I ask for Linux version?

hmmmmm 03-30-2018 18:10

Re: [EXTENSION] CustomKeyValues
 
Quote:

Originally Posted by VsX (Post 2585382)
Great Job !!! That's what I'm looking for!
Can I ask for Linux version?

Thanks, It'll take a bit of set up to get a linux build since (I think) it needs to be done on either a linux machine or a linux VM.

I'll try to get it done in a VM sometime within the next week, but no promises. If anyone else thats more experienced can do the linux builds would be appreciated.

VsX 03-30-2018 18:18

Re: [EXTENSION] CustomKeyValues
 
Thank You in advance for linux build.
This extensions is so useful. Once again - thanks!

VsX 04-03-2018 14:15

Re: [EXTENSION] CustomKeyValues
 
Bump.
If someone could help and compile for linux - I would be grateful. I have no experience with configuring ambuild. I have tried by only get errors like 'no sdk found' and so one.
Much appreciate.

blacklagoon 04-04-2018 04:09

Re: [EXTENSION] CustomKeyValues
 
3 Attachment(s)
compiled on linux untested though


All times are GMT -4. The time now is 08:33.

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