SourceOP
Save entities spawned with e_spawnprop - Printable Version

+- SourceOP (http://forums.sourceop.com)
+-- Forum: SourceOP Plugin (http://forums.sourceop.com/SourceOP-Plugin-forum)
+--- Forum: General Chat (http://forums.sourceop.com/General-Chat-forum)
+---- Forum: Ideas (http://forums.sourceop.com/Ideas-forum)
+---- Thread: Save entities spawned with e_spawnprop (/Save-entities-spawned-with-e-spawnprop-thread)

Pages: 1 2 3 4


Save entities spawned with e_spawnprop - Nightmare - Nov 18, 2007

I finally got SourceOP running with Sourceforts and it is fun to spawn entities with e_spawnprop.
The problem is: they dissapear for other players if you disconnect (like the command e_removespawned).

There should be an option to save them until the map is over (even if you disconnect) or better to save them to a file.
Cool would be also if you can optionally auto-load the saved file if you play the map again.


Save entities spawned with e_spawnprop - OmegaZero_Alpha - Nov 18, 2007

"Cool would be also if you can optionally auto-load the saved file if you play the map again."

Don't we have this? I know that Dark Fox had this on every map on his server with the first AdminOP, if we don't have it we will probably implement it.


Save entities spawned with e_spawnprop - Naquadria - Nov 18, 2007

It's on the list for sourceop but it hasn't been done as of yet.


Save entities spawned with e_spawnprop - Drunken F00l - Nov 20, 2007

The fact that the entities dissapear when you disconnect is by design. I can add a CVAR or something that will allow you to disable this. Saving them to a file is a little more complicated, but it is something that I am working on.

Can you post what you did to get SourceOP working for SourceForts in another thread in case other people are interested?


Save entities spawned with e_spawnprop - DaftMink - Apr 06, 2008

I can see where objects disappearing would be a good idea, but i have problems with it.

I have a problem with admins deleting vital map objects and remaking them to look and function better, but when they disconnect it vanishes. I would love if you could make a cvar to keep them till the map changes.


Save entities spawned with e_spawnprop - Drunken F00l - Apr 06, 2008

I've added a CVAR called DF_spawn_removeondisconnect for the next version. The next version will be released for games on the Orange Box engine only. Valve will be porting their games (CSS, HL2DM, etc.) to the Orange Box engine, it's just unknown when that will be completed.

If this feature would really help you out and you need it now, I could post a special version of SourceOP with this feature added.


Save entities spawned with e_spawnprop - DaftMink - Apr 06, 2008

I would greatly appreciate it.

Also if you could include a cvar to make 100 frags at once credit worthy that would be great. Smile


Save entities spawned with e_spawnprop - Drunken F00l - Apr 06, 2008

OK, here is a DLL with added CVARs DF_credits_maxpointsatonce and DF_spawn_removeondisconnect. For you, set DF_credits_maxpointsatonce to at least 100 and DF_spawn_removeondisconnect to 0.

Download:
http://www.sourceop.com/downloads/SourceOP/special_r147/sourceop.dll


Save entities spawned with e_spawnprop - DaftMink - Apr 06, 2008

Hmm i tried it and it didn't seem to work.

I extract it to my addons folder, if it doesn't go there can you please provide a path to the file.

I just wanted to say I'm running a linux server, hope that doesn't mess any thing up.


Save entities spawned with e_spawnprop - Drunken F00l - Apr 06, 2008

Oh, Linux. That means I would have to compile it in Linux. The DLL I gave you is for Windows.