How to shoot portals off the screen?

Mods, guides how to use and install mods go right in here.
Post Reply
User avatar
Kasperelo
Posts: 11
Joined: 01 Jun 2012, 18:29

Post » 03 Jun 2012, 18:44

Hi!

Does anyone know how to shoot portals of the screen? In Mari0 without mods, when you
try to shoot a portal at something that's not on the screen the dotted line is red and you
can't fire the portal. Can anyone tell me what to change?

User avatar
popcan12
Posts: 592
Joined: 10 Feb 2012, 02:30

Post » 03 Jun 2012, 18:46

I get it, your asking my original question. Let me ask you a question, do you have the source?

User avatar
Kasperelo
Posts: 11
Joined: 01 Jun 2012, 18:29

Post » 03 Jun 2012, 18:50

Source? The Mari0 files like main.lua and game.lua and etc.?

User avatar
popcan12
Posts: 592
Joined: 10 Feb 2012, 02:30

Post » 03 Jun 2012, 18:52

Yes. Try looking in the Game.lua. If not, then play the waiting game...

User avatar
Kasperelo
Posts: 11
Joined: 01 Jun 2012, 18:29

Post » 03 Jun 2012, 19:03

I have looked in the game.lua but I am no super-leet programmer.

User avatar
Flutter Skye
Posts: 1690
Joined: 08 Apr 2012, 17:54
Contact:

Post » 03 Jun 2012, 19:57

Kasperelo wrote:I have looked in the game.lua but I am no super-leet programmer.
super-leet programmer hmmmmm, http://stabyourself.net/other/ now you are a super-leet programmer

User avatar
Kasperelo
Posts: 11
Joined: 01 Jun 2012, 18:29

Post » 03 Jun 2012, 20:27

Well, well, well...

Maurice
Stabyourself.net
Posts: 2145
Joined: 01 Feb 2012, 20:19

Post » 03 Jun 2012, 20:31

You need to change the "traceline" function in game.lua
Something about currentblock[0]+1 < xscroll+width or something.

User avatar
Turtle95
Posts: 1246
Joined: 21 Mar 2012, 21:48
Contact:

Post » 03 Jun 2012, 20:33

Maurice wrote:You need to change the "traceline" function in game.lua
Something about currentblock[0]+1 < xscroll+width or something.
I think you'd change from +1 to +2 somehow in mario.lua's mario:jump method. This would make it on jump, add 1 more block to be raised on the y-axis.

Maurice
Stabyourself.net
Posts: 2145
Joined: 01 Feb 2012, 20:19

Post » 03 Jun 2012, 20:39

What the fuck are you talking about

User avatar
Turtle95
Posts: 1246
Joined: 21 Mar 2012, 21:48
Contact:

Post » 03 Jun 2012, 20:41

Maurice wrote:What the fuck are you talking about
to double jump. I don't think that he'd wanna make it so he jumps two blocks higher automatically.

Maurice
Stabyourself.net
Posts: 2145
Joined: 01 Feb 2012, 20:19

Post » 03 Jun 2012, 20:47

When did anyone in this thread mention double jumping

User avatar
Turtle95
Posts: 1246
Joined: 21 Mar 2012, 21:48
Contact:

Post » 03 Jun 2012, 20:48

Maurice wrote:When did anyone in this thread mention double jumping
wrong topic just delete the posts since I can't

But you can shoot the portals offscreen somewhat. Just not too far from the edge. It's hard to describe.

User avatar
popcan12
Posts: 592
Joined: 10 Feb 2012, 02:30

Post » 03 Jun 2012, 20:55

Ok, I didn't make myself clear. I want it to be so it's portal possible is always active, and I can place a portal to that place from even 500 feet.

Maurice
Stabyourself.net
Posts: 2145
Joined: 01 Feb 2012, 20:19

Post » 03 Jun 2012, 21:02

See what I posted.

User avatar
Turtle95
Posts: 1246
Joined: 21 Mar 2012, 21:48
Contact:

Post » 03 Jun 2012, 21:06

popcan12 wrote:Ok, I didn't make myself clear. I want it to be so it's portal possible is always active, and I can place a portal to that place from even 500 feet.
Well, the plus side is you go farther in the level.

The downside, you don't entirely know if there is something that'll screw you over. For example, if you portal somewhere and accidentally hit a surface perpendicular to an open gap in a custom mappack, you're done. But I see your point how useful it would be.

User avatar
Kasperelo
Posts: 11
Joined: 01 Jun 2012, 18:29

Post » 03 Jun 2012, 21:30

Maurice wrote:You need to change the "traceline" function in game.lua
Something about currentblock[0]+1 < xscroll+width or something.
Change what?

Maurice
Stabyourself.net
Posts: 2145
Joined: 01 Feb 2012, 20:19

Post » 03 Jun 2012, 23:39

Ain't exactly rocket science.
If you can't figure something that simple out, maybe you shouldn't mod games.

User avatar
LuigiHoax
Posts: 26
Joined: 12 Feb 2012, 02:24

Post » 04 Jun 2012, 01:44

Maurice wrote:What the fuck are you talking about
So, you can say **** but i can't? Alright. Keep doing whatever it is you think you doing.

User avatar
LightningFire
Posts: 1828
Joined: 10 Mar 2012, 17:24
Contact:

Post » 04 Jun 2012, 02:37

LuigiHoax wrote:
Maurice wrote:What the fuck are you talking about
So, you can say **** but i can't? Alright. Keep doing whatever it is you think you doing.
When did he say you can't say fuck?

User avatar
Kasperelo
Posts: 11
Joined: 01 Jun 2012, 18:29

Post » 05 Jun 2012, 16:40

Maurice wrote:Ain't exactly rocket science.
If you can't figure something that simple out, maybe you shouldn't mod games.
I'm not really that old for programming, just started a few weeks ago...
You're right.

Post Reply