Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
sourcemod
empfun
Commits
4ab53c92
Commit
4ab53c92
authored
Apr 25, 2020
by
Mikleo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
--
parent
9b799255
Pipeline
#9518
passed with stages
in 14 seconds
Changes
4
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
10 deletions
+9
-10
dist/addons/sourcemod/plugins/empfun.smx
dist/addons/sourcemod/plugins/empfun.smx
+0
-0
dist/addons/sourcemod/scripting/empfun.sp
dist/addons/sourcemod/scripting/empfun.sp
+4
-3
dist/scenarios/entdata.txt
dist/scenarios/entdata.txt
+4
-6
dist/updater.txt
dist/updater.txt
+1
-1
No files found.
dist/addons/sourcemod/plugins/empfun.smx
View file @
4ab53c92
No preview for this file type
dist/addons/sourcemod/scripting/empfun.sp
View file @
4ab53c92
...
...
@@ -10,7 +10,7 @@
#include <SteamWorks>
#define PluginVersion "1.0
6
"
#define PluginVersion "1.0
7
"
float pVersion;
// note linearmap field is unstable
...
...
@@ -5018,7 +5018,8 @@ bool ShouldSave(int entity,char[] classname,any[] classInfo)
{
int hammerID = GetEntProp(entity,Prop_Data,"m_iHammerID");
if(hammerID == 0 && classInfo[data_customOnly])
// if the entity is customonly, don't save any non-custom entities.
if(hammerID > 0 && hammerID < BASEHAMMERID && classInfo[data_customOnly])
{
return false;
}
...
...
dist/scenarios/entdata.txt
View file @
4ab53c92
...
...
@@ -1034,7 +1034,6 @@
"light_dynamic"
{
"extend" "map_entity"
"version" "0.78"
"customOnly" "1"
"fields"
{
...
...
@@ -1089,7 +1088,6 @@
{
"extend" "map_entity"
"customOnly" "1"
"version" "0.78"
"fields"
{
"damageRadius"
...
...
@@ -1140,7 +1138,6 @@
"env_fire"
{
"extend" "map_entity"
"customOnly" "1"
"version" "0.80"
"fields"
{
...
...
@@ -1207,17 +1204,18 @@
}
"emp_comm_restrict"
{
"extend" "brush"
"customOnly" "1"
"version" "1.04"
"moveable" "0"
}
// add fields in future.
"emp_eng_restrict"
{
"extend" "brush"
"customOnly" "1"
"version" "1.04"
"moveable" "0"
"fields"
{
"restrictNF"
...
...
dist/updater.txt
View file @
4ab53c92
...
...
@@ -4,7 +4,7 @@
{
"Version"
{
"Latest" "1.0
6
"
"Latest" "1.0
8
"
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment