|
FAQ
• Search • Login
|
|
Page 1 of 1
|
[ 5 posts ] |
|
Lua'd zero gravity trooper
Author |
Message |
Lizardheim
DRL Developer
Joined: Fri May 15, 2009 10:29 am Posts: 4107 Location: Russia
|
Lua'd zero gravity trooper
As in, an Actor that has some lua script that makes it fly like a rocket (up=up, down=down, L=L, R=R) either by the press of a button or when the actor is at a certain speed or something.
|
Sun Oct 11, 2009 5:54 pm |
|
|
The Decaying Soldat
Joined: Thu May 15, 2008 11:40 am Posts: 1527 Location: In heaven, everything is fine.
|
Re: Lua'd zero gravity trooper
You mean Darkstorm drone and EAF jump cat?
|
Mon Oct 12, 2009 11:30 am |
|
|
Lizardheim
DRL Developer
Joined: Fri May 15, 2009 10:29 am Posts: 4107 Location: Russia
|
Re: Lua'd zero gravity trooper
More like a heavy coalition with a huge backpack that has thrusters for zero gravity habitats, so more like emporeans.
|
Mon Oct 12, 2009 11:55 am |
|
|
Grif
REAL AMERICAN HERO
Joined: Sat Jan 27, 2007 10:25 pm Posts: 5655
|
Re: Lua'd zero gravity trooper
pretty easy
function Update(self) if self:GetController():IsState(Controller.MOVE_UP) == true then self.Vel.Y = self.Vel.Y - 1; end if self:GetController():IsState(Controller.MOVE_DOWN) == true then self.Vel.Y = self.Vel.Y + 1; end if self:GetController():IsState(Controller.MOVE_LEFT) == true then self.Vel.X = self.Vel.X - 1; end if self:GetController():IsState(Controller.MOVE_RIGHT) == true then self.Vel.X = self.Vel.X + 1; end end
that's all working code, but completely untested.
|
Mon Oct 12, 2009 3:04 pm |
|
|
zalo
Joined: Sat Feb 03, 2007 7:11 pm Posts: 1496
|
Re: Lua'd zero gravity trooper
Funny you should ask for this.
Had it lying around in my CC folder.
Attachments:
File comment: I can't remember why I gave up on it.
ZeroGrav.rte.rar [774 Bytes]
Downloaded 219 times
|
Thu Oct 15, 2009 2:25 am |
|
|
|
|
Page 1 of 1
|
[ 5 posts ] |
|
Who is online |
Users browsing this forum: No registered users |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|