Jump to content
Sign in to follow this  
[GB] n0ught

DDDK help

Recommended Posts

So i set up a button in the pause menu

RaUBOmH.png

-- https://i.imgur.com/RaUBOmH.png

And i tried using Goto URL but it didn't work

4SR1CkO.png

-- https://i.imgur.com/4SR1CkO.png

So i opened the pausemenu script and added a button (with the same component name as the kismet object) and I added this

BWnBpps.png

-- https://i.imgur.com/BWnBpps.png

But that didn't work either.

Basically I want to open a web page for https://trendyent.zendesk.com/hc/en-us/requests/new

The idea of the button was mostly for prevention by the fact that it makes it easier to report people, but it also allows people to report players since I don't think there really is any documentation or help for people that aren't really into the community that much but just like playing without cheaters.

Share this post


Link to post
Share on other sites

-- I know this may seem simple, once I get started with using the DDDK I don't think I'll be looking for community help as much :P

Share this post


Link to post
Share on other sites

Click the background in the UI editor, then go to the 'properties' window and link your Kismet button object to the button in the UI

Share this post


Link to post
Share on other sites


@Plane quote:

Click the background in the UI editor, then go to the 'properties' window and link your Kismet button object to the button in the UI

Do you mean parent the object under PauseBGPanel?

pZMQMfX.png

qxj0aUX.png

And how would this fix the problem?

Share this post


Link to post
Share on other sites
When I said 'click the background' I really just meant you should select PauseMenuUI, but you can do that from the scene tools then go to properties.  So pretend I said that in my last message.

Set the reportPlayerButton property in PauseMenuUI  (presumably under DungeonDefense, or whichever section you declared it in) to UIScriptWidget_Button'DunDefMisc.PauseMenuUI:PauseMenuRezContainer.PauseBGPanel.YourButton' or whatever your button is called to link them up.  Then you can trigger your action from UnrealScript.

Share this post


Link to post
Share on other sites


@Plane quote:

When I said 'click the background' I really just meant you should select PauseMenuUI, but you can do that from the scene tools then go to properties.  So pretend I said that in my last message.

Set the reportPlayerButton property in PauseMenuUI  (presumably under DungeonDefense, or whichever section you declared it in) to UIScriptWidget_Button'DunDefMisc.PauseMenuUI:PauseMenuRezContainer.PauseBGPanel.YourButton' or whatever your button is called to link them up.  Then you can trigger your action from UnrealScript.

I did that and now the button is appearing disabled

JgSPksR.png

in the script, I added a button

lHXDJCq.png

I then added these two lines in the SceneActivated event 

811aoAd.png

I don't know if maybe I have to compile it in VS, I tried going BUILD -> Build DungeonDefenders_Scripts but it threw this error

RRewati.png

-- (((

"Error 1 The "Ucc" task was not given a value for the required parameter "UccToolLocation". C:\Program Files (x86)\MSBuild\PixelMine\UnrealScript.targets 126 6 DungeonDefenders_Scripts"

Warning 2 The element 'PropertyGroup' in namespace 'http://schemas.microsoft.com/developer/msbuild/2003' has invalid child element 'UnrealScriptTaskVersion' in namespace 'http://schemas.microsoft.com/developer/msbuild/2003'. List of possible elements expected: 'Property, AllowUnsafeBlocks, AppConfigForCompiler, ApplicationIcon, ApplicationRevision, ApplicationVersion, AppDesignerFolder, AspNetConfiguration, AssemblyKeyContainerName, AssemblyKeyProviderName, AssemblyName, AssemblyOriginatorKeyFile, AssemblyOriginatorKeyFileType, AssemblyOriginatorKeyMode, AssemblyType, AutoGenerateBindingRedirects, AutorunEnabled, BaseAddress, BootstrapperComponentsLocation, BootstrapperComponentsUrl, BootstrapperEnabled, CharacterSet, CheckForOverflowUnderflow, CLRSupport, UseDebugLibraries, CodePage, Configuration, ConfigurationName, ConfigurationOverrideFile, CreateDesktopShortcut, CreateWebPageOnPublish, CurrentSolutionConfigurationContents, DebugSecurityZoneURL, DebugSymbols, DebugType, DefaultClientScript, DefaultHTMLPageLayout, DefaultTargetSchema, DefineConstants, DefineDebug, DefineTrace, DelaySign, DisableLangXtns, DisallowUrlActivation, CodeAnalysisAdditionalOptions, CodeAnalysisApplyLogFileXsl, CodeAnalysisConsoleXsl, CodeAnalysisCulture, CodeAnalysisFailOnMissingRule.... C:\Program Files (x86)\MSBuild\PixelMine\UnrealScript.targets 4 6 Miscellaneous Files

))) --

I thought that when you launched the uncooked TC, it was supposed to ask if you want to compile

rndaTeu.png

(Thanks for putting up with me, this is probably such simple stuff and just annoying to deal with :P)

Share this post


Link to post
Share on other sites
DunDefDevelopment.exe will try to detect if scripts have been changed and prompt you to rebuild whenever you run it.  The easiest way to trigger this when working on a TC is to click "Launch TC Editor" with your TC selected.  I never work on TCs, so I just use "Launch Mod Editor" instead. 

If none of the .uc files in the section you've modified have timestamps newer than the timestamps on the compiled .u files for those sections, touch one of the .uc files to update its timestamp and try again.

I can't help you with your VS problems since I don't use VS.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...