| Blockland Forums > Modification Help |
| CityRPG |
| << < (117/209) > >> |
| CityRPG:
--- Quote from: phydeoux on January 28, 2012, 11:31:36 PM ---lights work for it? Thats awesome. So players of the light can hang out in someplace well lit to protect themselves at night, and vice versa right? Kickass. --- End quote --- No. It works through a vertical check to the sky. If there's no obstructions, it's good. I don't think it's possible to check the lighting of particular areas. The Prepper script would have worked like that if it did. |
| Brian Smithers:
--- Quote from: CityRPG on January 28, 2012, 11:33:28 PM ---No. It works through a vertical check to the sky. If there's no obstructions, it's good. I don't think it's possible to check the lighting of particular areas. The Prepper script would have worked like that if it did. --- End quote --- Get the Radius of a light and you can make a zone and if they are in that zone of course it would be awful because the zones are square, but if you really wanted to you could. Also, if they were a lot of lights it would lag. So yeah, bad idea. But defiantly not impossible. |
| Scout31:
--- Quote from: Brian Smithers on January 28, 2012, 11:36:50 PM ---Get the Radius of a light and you can make a zone and if they are in that zone of course it would be awful because the zones are square, but if you really wanted to you could. Also, if they were a lot of lights it would lag. So yeah, bad idea. But defiantly not impossible. --- End quote --- Or just get the radius and see if the distance between the player and the block fits. No need for zones. There's some function built into Torque to get the distance between two vectors. EDIT: Found it. --- Code: ---if(vectorDist(%brick.position, %player.position) =< %radius) { //Do Stuff } --- End code --- |
| mp7964:
Maybe you could implement an energy/sleep system. You can sleep to completely refill your energy, or eat energy bars/soda/candy/food/whatever for a quick boost. |
| SeventhSandwich:
--- Quote from: mp7964 on January 29, 2012, 01:09:29 AM ---Maybe you could implement an energy/sleep system. You can sleep to completely refill your energy, or eat energy bars/soda/candy/food/whatever for a quick boost. --- End quote --- Something like that would revolutionize how the game works from something similar to Dark RP to StickRPG. |
| Navigation |
| Message Index |
| Next page |
| Previous page |