Jared's Resource Manager--functionality requests?
by Stephen Zepp · in RTS Starter Kit · 11/18/2004 (8:03 pm) · 41 replies
I liked the functionality in Jared's SupplyMan resource, so I decided to adapt it to a server authoritative version, where the client was only allowed to display the data sent by the server.
I currently have the client able to:
--display the icons John created for us in a SupplyDisplay gui panel
--Accept a server command to setup the local store
--Inform the server the store is ready for inventory
--accept the server's authoritative inventory count, and update guis
And I have the server be able to:
--tell the client to setup the local store
--maintain an authoritative count of each supply
--send an inventory (supply and count) to the client
--(almost ready) accept client requests to "spend" resources
I wanted to ask everyone here what other type of functionality we would like for this updated resource.
I currently plan to implement tomorrow:
--client requesting to "spend" inventory
--server authorizing/declining a spend request
--server adjusting inventory for anything spent
--(already done) server sending authoritative inventory updates
I haven't yet decided how I'd like to adjust inventories over time. Jared's resource is very similar to Warcraft 3's tracking of food (your count doesn't go up or down over time based on individual apply events, it simply "is", based on any addSupply calls). We might want to further define individual supplies as "static"--where you don't spend the supply to do things, it's simply there as a count that allows you to do other things, and "dynamic" where you can collect more of the supply over time, and spend the supplies to do things (like lay down buildings, buy troops, etc.).
Any other things folks would like to see?
I currently have the client able to:
--display the icons John created for us in a SupplyDisplay gui panel
--Accept a server command to setup the local store
--Inform the server the store is ready for inventory
--accept the server's authoritative inventory count, and update guis
And I have the server be able to:
--tell the client to setup the local store
--maintain an authoritative count of each supply
--send an inventory (supply and count) to the client
--(almost ready) accept client requests to "spend" resources
I wanted to ask everyone here what other type of functionality we would like for this updated resource.
I currently plan to implement tomorrow:
--client requesting to "spend" inventory
--server authorizing/declining a spend request
--server adjusting inventory for anything spent
--(already done) server sending authoritative inventory updates
I haven't yet decided how I'd like to adjust inventories over time. Jared's resource is very similar to Warcraft 3's tracking of food (your count doesn't go up or down over time based on individual apply events, it simply "is", based on any addSupply calls). We might want to further define individual supplies as "static"--where you don't spend the supply to do things, it's simply there as a count that allows you to do other things, and "dynamic" where you can collect more of the supply over time, and spend the supplies to do things (like lay down buildings, buy troops, etc.).
Any other things folks would like to see?
Torque Owner Ruleui