Hi, I want to retrieve the amount of max/current players in a map and allow logic to be performed by exposing the data to the entity input/output system available to level designers.
Implementing it (code) would be easy. I just have doubts as to how would this entity work to allow level designers get the best out of it. Less entities required to do some task, ease of use, etc.
If you think you have enough experience with the I/O system would you please reply with a wiki like definition for this entity?
I lack such experience hence this post.
1
Re: Need your input on new entity
Posted by Captain P on Thu Dec 21st at 9:22pm 2006

Captain P
member
1370 posts
247 snarkmarks
Registered: Nov 6th 2003
Location: Netherlands
Occupation: Game-programmer
Posted by Captain P on Thu Dec 21st at 9:22pm 2006
Sounds like it could be used together with the logic_case entity? Never used that entity though...
" SRC="images/smiles/icon_smile.gif">
I think it'd be usefull if you could trigger entities based on the current number of players or max. player count, as well as triggering entities when a player joins or disconnects. I think it can be usefull to lock off parts of a map when the max. player count is set to 8 instead of the 16 your map supports, for example, or to open up a few item hatches when the number of players grows beyond a certain count and close them when some people disconnect.
So, it could have the following outputs:
OnMaxPlayerCount(8/16/32/whatever other values):
Fires once at the start of the map, based on the max. player count set at the server.
OnPlayerCount(1-32):
Fires after someone connects or disconnects and the number of players equals the associated output.
OnPlayerConnect:
Fires when a player connects.
OnPlayerDisconnect:
Fires when a player disconnects.
Does that help you?
I think it'd be usefull if you could trigger entities based on the current number of players or max. player count, as well as triggering entities when a player joins or disconnects. I think it can be usefull to lock off parts of a map when the max. player count is set to 8 instead of the 16 your map supports, for example, or to open up a few item hatches when the number of players grows beyond a certain count and close them when some people disconnect.
So, it could have the following outputs:
OnMaxPlayerCount(8/16/32/whatever other values):
Fires once at the start of the map, based on the max. player count set at the server.
OnPlayerCount(1-32):
Fires after someone connects or disconnects and the number of players equals the associated output.
OnPlayerConnect:
Fires when a player connects.
OnPlayerDisconnect:
Fires when a player disconnects.
Does that help you?
Captain P
member
1370 posts
247 snarkmarks
Registered: Nov 6th 2003
Location: Netherlands

Occupation: Game-programmer
Re: Need your input on new entity
Posted by gia on Thu Dec 21st at 9:46pm 2006
Posted by gia on Thu Dec 21st at 9:46pm 2006
Yes, thank you! I hadn't thought of such outputs (just increased/decreased). If anyone else has something to add please do.
Re: Need your input on new entity
Posted by Captain P on Thu Dec 21st at 10:15pm 2006

Captain P
member
1370 posts
247 snarkmarks
Registered: Nov 6th 2003
Location: Netherlands
Occupation: Game-programmer
Posted by Captain P on Thu Dec 21st at 10:15pm 2006
So for what mod are you creating this entity then? Just curious...
" SRC="images/smiles/icon_smile.gif">
Captain P
member
1370 posts
247 snarkmarks
Registered: Nov 6th 2003
Location: Netherlands

Occupation: Game-programmer
Re: Need your input on new entity
Posted by gia on Fri Dec 22nd at 4:11am 2006
Posted by gia on Fri Dec 22nd at 4:11am 2006
http://www.pdark-mod.com/. I'll make a tut eventually so any mod can implement the entity.
1
© Snarkpit.net 2001 - 2023, about us, donate, contact
Snarkpit v6.1.0 created this page in 0.0094 seconds.

Snarkpit v6.1.0 created this page in 0.0094 seconds.

