| Blockland Forums > Suggestions & Requests |
| TDM Spawing System |
| << < (5/5) |
| jockeykiller:
--- Quote from: Gen. Hothauser on September 04, 2012, 12:21:35 AM ---Well, lets see, a teledoor allows for people on the battlefield to enter the spawn room. Not very good, don't you think? If you decide to use VCE, here ya go 3 spawn locations and a brick in the spawn room for teleporting. Spawn button --- Code: ---[0] [Onactivate] [Client] [VCE_Modvariable] [Spawn] [Random] [1] [Onactivate] [Client] [VCE_Ifvariable] [Spawn] [<] [.33] [2 3] [2] [Onvariabletrue] [Namedbrick] [Spawn1] [setplayertransform] [ ] [ ] the main problem is I downloaded all the VCE add-ons and i don't have "VCE_Modvariable" [3] [Onvariablefalse] [Client] [VCE_Ifvariable] [Spawn] [>=] [.33] [4 4] [4] [Onvariabletrue] [Client] [VCE_Ifvariable] [Spawn] [<=] [.66] [5 6] [5] [Onvariabletrue] [Namedbrick] [Spawn2] [setplayertransform] [ ] [ ] [6] [Onvariablefalse] [Namedbrick] [Spawn3] [setplayertransform] [ ] [ ] --- End code --- Easy as that. --- End quote --- The main problem is I downloaded all the VCE add-ons and i don't have "VCE_Modvariable" |
| SgtDaemon:
This topic literary makes me cry, not because OP, but because what you guys can('t) think of. Screw VCE, use this: http://forum.returntoblockland.com/dlm/viewFile.php?id=2301 Disable player DMG when players spawn, and enable when they move to the battlefield. Also --- Quote from: Gen. Hothauser on September 04, 2012, 12:21:35 AM ---Well, lets see, a teledoor allows for people on the battlefield to enter the spawn room. Not very good, don't you think? -totallyunnecessarystuff- --- End quote --- No. Turn collision off on the exit teledoor (not the one in spawn room) and viola: people can't teleport with it. Make sure there is a wall behind it or players may glitch out. Also for weapon buying system: It's only possible with VCE and reques event_additem for giving items to players, but it's fairly easy. --- Code: ---On Active => Client => VCE_IfVariable => <var:cl:score> == <cost> On variable true => player => add item => <item> On variable true => client => Centerprint => <color:ffffff> You bought a(n) <item> On variable true => client => IncScore => -<cost> On variable false => client => Centerprint => You don't have enught points to buy this <item> --- End code --- I think that's it. Replace <item> with the item's name you want players to buy, and <cost> should be self-explanatory. Also most of this can be found on the forum; Next time use the search button ;P |
| Navigation |
| Message Index |
| Previous page |