Duke4.net Forums: Is there a way to substitute to the Alt-f7 hotkey in mapster32? - Duke4.net Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Is there a way to substitute to the Alt-f7 hotkey in mapster32?

User is offline   Man 'o War 

#1

i'm trying to find all the secrets in DNF 2013, and the alt-f7 combination on my keyboard flat out does not function. it's an european keyboard, so almost everything besides the letters are completely different. I posted about the same problem back in 2020, and a fellow member was kind enough to supply me with a Cheater.32, but thing is, it...doesn't work...anymore. So if i want to find all the secrets, Lotag search it is. ...Which i cannot do on my keyboard.
is there a console command or something, or am i just fucked because my keyboard, and i have to wallhump throught the game.
0

User is offline   oasiz 

  • Dr. Effector

#2

m32 should always auto switch to US layout.

I did a script before (this one you mentioned?)

Save as i.e. cheater.m32
in console "include cheater"
Press N in 2D

gamevar i 0 0
gamevar temp 0 0
gamevar smax 0 0
gamevar scur 0 0
gamearray secrets 16384

defstate nextsecret
	set smax 0
	for i allsectors {
		ife sector[i].lotag 32767 {
		setarray secrets[smax] sector[i].wallptr
		add smax 1
		}
	}
	ifg smax 0 {
		set temp secrets[scur]
		set posx wall[temp].x
		set posy wall[temp].y
	}
ends

onevent EVENT_PREKEYS2D
	ifhitkey KEY_N
	{
		state nextsecret
		add scur 1
		ifg scur smax set scur 0
	}
endevent

0

User is offline   Man 'o War 

#3

View Postoasiz, on 28 July 2021 - 12:12 PM, said:

m32 should always auto switch to US layout.

I did a script before (this one you mentioned?)

Save as i.e. cheater.m32
in console "include cheater"
Press N in 2D

gamevar i 0 0
gamevar temp 0 0
gamevar smax 0 0
gamevar scur 0 0
gamearray secrets 16384

defstate nextsecret
	set smax 0
	for i allsectors {
		ife sector[i].lotag 32767 {
		setarray secrets[smax] sector[i].wallptr
		add smax 1
		}
	}
	ifg smax 0 {
		set temp secrets[scur]
		set posx wall[temp].x
		set posy wall[temp].y
	}
ends

onevent EVENT_PREKEYS2D
	ifhitkey KEY_N
	{
		state nextsecret
		add scur 1
		ifg scur smax set scur 0
	}
endevent



Yes, it was you. Thank you very much, again. Whatdoyouknow, the moment you sent this, it started working again.(i swear it did not in the last 40 minutes...).
guess it's just technology being technology. or i might've mistyped smth.
0

User is offline   Man 'o War 

#4

View Postoasiz, on 28 July 2021 - 12:12 PM, said:

m32 should always auto switch to US layout.

I did a script before (this one you mentioned?)

Save as i.e. cheater.m32
in console "include cheater"
Press N in 2D

gamevar i 0 0
gamevar temp 0 0
gamevar smax 0 0
gamevar scur 0 0
gamearray secrets 16384

defstate nextsecret
	set smax 0
	for i allsectors {
		ife sector[i].lotag 32767 {
		setarray secrets[smax] sector[i].wallptr
		add smax 1
		}
	}
	ifg smax 0 {
		set temp secrets[scur]
		set posx wall[temp].x
		set posy wall[temp].y
	}
ends

onevent EVENT_PREKEYS2D
	ifhitkey KEY_N
	{
		state nextsecret
		add scur 1
		ifg scur smax set scur 0
	}
endevent



On a related note, is it possible to use noclip in Mapster 3d mode? sometimes i get taken right to the edge of the secret, and i kind-of fucks up the visibility
0

#5

Isn't it possible to redefine keymappings in mapster32.cfg? There should be instructions inside the cfg itself.
0

User is offline   Aleks 

#6

View PostMan, on 28 July 2021 - 12:54 PM, said:

On a related note, is it possible to use noclip in Mapster 3d mode? sometimes i get taken right to the edge of the secret, and i kind-of fucks up the visibility


Holding ' key and pressing N in 3D mode toggles between 3 clipping modes (default is normal clipping, then goes through "non-masked only" (walls and sprites) and completely disabled clipping.
0

User is offline   Mark 

#7

Learn something new every day after all these years. 2 more Mapster commands.
0

#8

View PostDoom64hunter, on 28 July 2021 - 01:34 PM, said:

Isn't it possible to redefine keymappings in mapster32.cfg? There should be instructions inside the cfg itself.


yes. He can just remap the key to something else at the bottom of mapster32.cfg. The simple instructions are there like you said, I have used it for a number of keys as I don't have a keypad.
0

User is offline   Man 'o War 

#9

View PostDoom64hunter, on 28 July 2021 - 01:34 PM, said:

Isn't it possible to redefine keymappings in mapster32.cfg? There should be instructions inside the cfg itself.

That's incredibly helpful, thank you!

This post has been edited by Man 'o War: 29 July 2021 - 10:46 AM

0

User is offline   Man 'o War 

#10

View PostMan, on 29 July 2021 - 10:40 AM, said:

That's incredibly helpful, thank you!


How can i remap button combinations? i can see how to remap specific buttons to others, but what if i want to rebind alt-f7 to O and( ') -N to P? On european keyboard, there is no ' and ~ key sadly, you have to use the Alt-Gr for them.
0

User is offline   Man 'o War 

#11

View PostMan, on 29 July 2021 - 10:54 AM, said:

How can i remap button combinations? i can see how to remap specific buttons to others, but what if i want to rebind alt-f7 to O and( ') -N to P? On european keyboard, there is no ' and ~ key sadly, you have to use the Alt-Gr for them.

Tried remapping, and as expected, it refuses to work. I'm considering throwing this keyboard the fuck out, i can't fathom why something as simple as an alt-f7 refuse to work, when i have those exact same keys.
0

#12

swapping f7 for 0
remap = 41-0B

Then alt 0 should work as alt f7
0

User is offline   Man 'o War 

#13

View PostWilliam Gee, on 29 July 2021 - 05:31 PM, said:

swapping f7 for 0
remap = 41-0B

Then alt 0 should work as alt f7

Doesn't work sadly. It just opens the console, like regular 0 for me :(

Edit: the ALT+ A and ALT+Z commands work fine for looking up and down, so i would think it's the f7 that's guilty ...somehow.
Edit 2: Scratch that. F7 works by itself, even if it's... been remapped? The ALT-f7 combination still does aboslutely nothing.

This post has been edited by Man 'o War: 30 July 2021 - 10:22 AM

0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic


All copyrights and trademarks not owned by Voidpoint, LLC are the sole property of their respective owners. Play Ion Fury! ;) © Voidpoint, LLC

Enter your sign in name and password


Sign in options