Howdy, Stranger!

It looks like you're new here. Sign in or register to get started.

Categories

Dark Dreams of Furiae - a new module for NWN:EE! Buy now
Attention, new and old users! Please read the new rules of conduct for the forums, and we hope you enjoy your stay!

[MOD]CLUAConsole Cheats without keyboard (any device).

2»

Comments

  • signupforsignupfor Member Posts: 3
    Can
    _Luke_ wrote: »
    signupfor wrote: »
    Please help me it won't work in my device i did everything is written can anyone help please

    You might want to install component ~CLUAConsole for mobile~ from this mod.

    Can you explain how to do that because i a noob in this thing I have a Huawei mobile device not a computer

  • signupforsignupfor Member Posts: 3
    I downloaded the tweak but how to put it is the. Question

  • _Luke__Luke_ Member, Mobile Tester Posts: 1,509
    signupfor wrote: »
    I downloaded the tweak but how to put it is the. Question

    Calling @Gusinda for assistance about installing mods on Android devices...

    Gusinda
  • GusindaGusinda Member Posts: 1,808
    Thanks @_Luke_...

    Hi @signupfor, and welcome to the forum. Sorry I haven't been here earlier but with the lockdowns, my children rule my office (for work other than my play!).

    Unfortunately you wont be able install EEUITWeaks in the normal sense unless you look the good work @2k16daniel is doing here (installing mods on Android without a PC).


    However you would be able to copy the code from 'actionalt.lua' to install it manually (copied below for convenience and future readers).
    		actionAlt
    		"
    			if rgCheat == 0 then
    				Infinity_PushMenu('cheatConsole')
    				Infinity_PushMenu('cheatMenu')
    				rgCheat = 1
    			else
    				Infinity_PopMenu('cheatConsole')
    				Infinity_PopMenu('cheatMenu')
    				rgCheat = 0
    			end
    		"
    

    The only thing left is where to put it. This thread is about creating a new button at the bottom right hand of the screen and as mentioned, it takes precious realestate. The updated version in EEUITweaks places the console access on an existing button; the Top Left Hand Icon which, in BG1EE, is the Skull (Return to Game).

    You will need a copy of UI.MENU for the game you are going to add the code to. This will come down to whether you have other mods installed which have modified your UI.MENU or you are just adding the console to a vanilla game.

    If adding to a modded (or vanilla) game with access to a UI.MENU, then you will need to find the code (within the section * Menu {name 'LEFT_SIDEBAR') *:
    Note: This is for BG1EE, the code will slightly differ (like the tooltip references) for each game.
    
    	button
    	{
    		area 3 14 73 55
    		bam GUILS10
    		sequence 0
    		tooltip lua "getTooltipWithHotkey(2,24364)"
    		tooltip force lua "sidebarForceTooltips == 1"
    		tooltip force top
    --		glow lua "highlightSidebarButton(worldScreen)"
    		clickable lua "sidebarsGreyed ~= 1"
    		action
    		"
    			e:GetActiveEngine():OnLeftPanelButtonClick(0)
    		"
    	}
    
    

    and change it to look like:
    
    	button
    	{
    		area 3 14 73 55
    		bam GUILS10
    		sequence 0
    		tooltip lua "getTooltipWithHotkey(2,24364)"
    		tooltip force lua "sidebarForceTooltips == 1"
    		tooltip force top
    --		glow lua "highlightSidebarButton(worldScreen)"
    		clickable lua "sidebarsGreyed ~= 1"
    		action
    		"
    			e:GetActiveEngine():OnLeftPanelButtonClick(0)
    		"
    		actionAlt
    		"
    			if rgCheat == 0 then
    				Infinity_PopMenu('WORLD_ACTIONBAR')
    				Infinity_PushMenu('cheatConsole')
    				Infinity_PushMenu('cheatMenu')
    				rgCheat = 1
    			else
    				Infinity_PopMenu('cheatConsole')
    				Infinity_PopMenu('cheatMenu')
    				Infinity_PushMenu('WORLD_ACTIONBAR')
    				rgCheat = 0
    			end
    		"
    	}
    
    

    I have added some additional lines which will clear the WORLD_ACTIONBAR from the background so it wont clutter the view, and return it when you are finished.

    If you are adding the console to a Vanilla game and/or you don't have access to your UI.MENU, I have made the necessary changes to within the files attached. You need to do is to create a folder under:

    Android/data/com.beamdog.[GAMENAME]/files/

    called 'override', rename the attached files to UI.MENU and place the appropriate game's UI.MENU in to it's override folder and start your game. To open the console, long press on the Skull (BG1/2); to close, long press the Skull again.

    *** The attached files only work for the game that is mentioned. If you are on the 2.6.6.0 Beta, or when you move to the 2.6.6.0 release, then they will need to be redone.

    Let me know if you are running Android 11, as there may be a couple of additional steps to allow you to view the /Files folder to add content...

    Hopefully all this makes sense and you are able to access the console. If not and you are having probs, let me know and I will try to assist where I can. I will keep an eye on this thread but as soon as the COVID lockdown (maybe Thursday but I am not holding my breath) here is lifted, my family and I will be on the road for a couple of months (caravanning) and will have limited access to the forum.

    All the best and Happy Gaming
    Gus

    McGollum
  • StummvonBordwehrStummvonBordwehr Member, Mobile Tester Posts: 1,018
    _Luke_ wrote: »
    signupfor wrote: »
    Please help me it won't work in my device i did everything is written can anyone help please

    You might want to install component ~CLUAConsole for mobile~ from this mod.
    Hi @_Luke_

    Hope you can help me - since Gusinda is absent for the moment.

    I have succesfully installed Gusindas clua console tweak, and it works. So far so good. But I would like to console an item, and my damn iPhone wont let me use a paranthesis “()”. It’s usully not an issue on my phone - but in the app I cant, and I cant copy the command and insert it..

    Do you know if the EEUITweaks can help me, or can I make an ingame command that bypasses the need for a paranthesis (in my game the commands “give gold”, “move to area” and “give xp” just need some minor input.

  • _Luke__Luke_ Member, Mobile Tester Posts: 1,509
    @StummvonBordwehr

    Yes, install the CLUAConsole via EEUITweaks and try again...

    Also:
    • the correct command for gold is AddGold("<some integer>")
    • the correct command for XP is SetCurrentXP("<some integer>")
    • the correct command for moving between areas is MoveToArea("<area code>")
    See here for further details and examples.

    StummvonBordwehrMcGollum
  • StummvonBordwehrStummvonBordwehr Member, Mobile Tester Posts: 1,018
    _Luke_ wrote: »
    @StummvonBordwehr

    Yes, install the CLUAConsole via EEUITweaks and try again...

    Also:
    • the correct command for gold is AddGold("<some integer>")
    • the correct command for XP is SetCurrentXP("<some integer>")
    • the correct command for moving between areas is MoveToArea("<area code>")
    See here for further details and examples.

    @_Luke_
    Thanks. I will give it a try.

    I am very adept with the console from days if old, so I know the commands. It’s just typing them that seems to be the problem. But I shall give the EEUITweaks a try when 2.6 comes - it’s not urgent, so I can wait..

  • BmFaelRRBmFaelRR Member Posts: 5
    Ah cara muito complicado pro meu baixo qi 🤦 tem como alguem me ajudar ? Please

  • McGollumMcGollum Member Posts: 21
    Just my opinion, but @Gusinda is to Beamdog's BG & IWD, what Dr. W. Spahl was to #VTMB... Kudos.

    StummvonBordwehr
  • StummvonBordwehrStummvonBordwehr Member, Mobile Tester Posts: 1,018
    @Gusinda has been very helpful and is indeed a key figure, when it comes to modding Android phones and tablets. He deserves much praise, and I hope he enjoyes his trip/journey with his wife - it’s very much deserved. He will be back, and will be welcomed with open arms.

    Since I am enjoying my games on a iOS version, I feel compelled to shower the same kind of appraise to _Luke_ (the iOS artist formerly known as Luke93) for his work on the iOS versions. Thanks to you all.

    McGollum
Sign In or Register to comment.