Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // [RCD] NotABasicCarAnymore
- Val
- {
- BRAKE(default=0, max=80, step=80)
- ENGINE(default=0, min=-2500, max=2500, step=2500)
- GUN(default=0, max=9999999999, step=9999999999)
- HANDLE(default=0, min=-20, max=20, step=5)
- HBRAKE(default=0, max=100, step=100)
- INVINCIBILITY(default=1, max=2)
- }
- Key
- {
- 0:Engine(step=-500)
- 1:Engine(step=500)
- 2:Handle(step=-0.5)
- 3:Handle(step=0.5)
- 4:GUN(step=9999999999)
- 7:Brake(step=30), HBrake(step=20)
- 8:HBrake(step=20)
- }
- Body
- {
- Core() {
- N:Chip() {
- N:Rudder(angle=Handle) {
- W:Frame() {
- W:Wheel(angle=90, brake=Brake) { }
- }
- E:Frame() {
- E:Wheel(angle=90, brake=Brake) { }
- }
- N:Arm(power=GUN, option=1600000, name=GUN) { }
- }
- }
- S:Chip() {
- W:Frame() {
- W:Wheel(angle=90, power=Engine, brake=HBrake) { }
- }
- E:Frame() {
- E:Wheel(angle=90, power=-Engine, brake=HBrake) { }
- }
- }
- }
- }
- Script
- {
- print 0,"Welcome to Rigid-Chips World."
- print 1," FPS=",_FPS()," Chips=",_CHIPS()," Weight=",_WEIGHT()
- print 2," Width=",_WIDTH()," Height=",_HEIGHT()
- print 3," Faces=",_FACE()
- print 4," Vel=",_VEL()
- print 5," R=",_RED(32,32)
- print 6," G=",_GREEN(32,32)
- print 7," B=",_BLUE(32,32)
- }
- Lua
- {status="ON"
- function main()
- INVINCIBILITY=INVINCIBILITY+_KEYDOWN(5)
- inv = INVINCIBILITY
- if inv<1 then
- _SETTICKS(200) status="OFF"
- elseif inv<2 then
- _SETTICKS(148)--not sure about other values
- status="ON"
- elseif inv>2 then
- INVINCIBILITY=0 _SETTICKS(200) status="OFF"
- end
- out(0,"weapon energy = ".._E(GUN).." (1.6M)")
- out(1,"controls are pretty much the same as b8test")
- out(2,"x toggles invincibility")
- out(3,"invincibility = "..status)
- end}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement