Staredit Network > Forums > SC1 Mapping Tools > Topic: [EUD/EPD] Amazing new Trigger Editor [Stable]
[EUD/EPD] Amazing new Trigger Editor [Stable]
Dec 31 2017, 9:09 pm
By: T-warp
Pages: < 1 2 3 4
 

Jan 10 2018, 10:35 am T-warp Post #61



Quote from MTiger156
Starting getting error when changing weapon properties, though it hasn't happened in the past.
Collapse Box

This exception was thrown after you tried to copy a trigger. Without any further details it's useless (I can't test all possible triggers to find out which causes this). Give me the map or the trigger that caused this.



None.

Jan 10 2018, 3:10 pm MTiger156 Post #62



These 2 triggers cause the error when copied. (Putting glaive wurm on ghost, subterannean spines on zergling)
Collapse Box





Jan 11 2018, 7:20 pm T-warp Post #63



Quote from MTiger156
These 2 triggers cause the error when copied. (Putting glaive wurm on ghost, subterannean spines on zergling)
Collapse Box


Alright, listen. It's not a bug (shouldn't crash, but it shouldn't pass either). According to my reverse caclulator (link), what you're trying to do is change ground weapons for 4 objects starting at ID 104 (units 104, 105, 106 and 107). You are using SETs (which is cool), but the value 2189591089 (in hex 0x82828231, formatted to 0x82, 0x82, 0x82 and 0x31) cannot be used as it exceeds "integer" type and SCMDraft seems to cut it down to 2147483647 (in hex 7FFFFFFF, formated as 0x7F, 0xFF, 0xFF and 0xFF), which is invalid as fuck as there's no weapon for index 0xFF. Either use negative value for this (should be -4252859854, not sure what will/won't work), or don't use SCMDraft for inserting such high values. Does it really work in game? (copy these triggers to trigedit, check/save, close, open trigedit again and check values again). Also, make sure you have latest SCMDraft version (could be fixed already).



None.

Jan 11 2018, 8:08 pm MTiger156 Post #64



I did eventually get these triggers to save without crashing your editor. Amazingly, they are working in-game. I notice that 2189591089 was decreased by 1 (2189591088) and 829237122 was significantly changed to 1834372994, while my intended changes are still present. Though I'm not knowledgeable on this subject, I take it that I'm very lucky.




Jan 11 2018, 8:20 pm T-warp Post #65



Quote from MTiger156
I did eventually get these triggers to save without crashing your editor. Amazingly, they are working in-game. I notice that 2189591089 was decreased by 1 (2189591088) and 829237122 was significantly changed to 1834372994, while my intended changes are still present. Though I'm not knowledgeable on this subject, I take it that I'm very lucky.
Very lucky indeed



None.

Jan 12 2018, 12:08 am MTiger156 Post #66



After some experimentation, I have figured out the following:
-Changing the weapon on Infested Duran will be invalid 95% of the time.
-Changing weapon effect of C-10 Canister Rifles will be invalid 50% of the time (weird).
-It is possible to program missile turrets to shoot ground units, but if you go to compile triggers in SCMD's TrigEdit, it will become invalid.
-Programming tanks to shoot air units is valid at first, but when in-game, the turret will suddenly disappear and the game will crash within the next 10 seconds.




Jan 12 2018, 1:57 pm T-warp Post #67



Added "Set Player Color" as experimental action, solved "Key Detection" (it now works), fixed probably a bunch of stuff, like tech and upgrade detection...



None.

Jan 16 2018, 2:21 am Ultraviolet Post #68



Been having a lot of fun messing around with this tool. Great job! I'm having the unfortunate problem of being unable to compile my triggers in TrigEdit after using your program to create EPD triggers. Is there any way to work around this?

Edit: Nvm, was told to update SCMDraft to latest version, and it's working now.

Post has been edited 1 time(s), last time on Jan 16 2018, 2:46 am by Ultraviolet.




Feb 27 2018, 7:24 am lifebot Post #69



Hi Tarferi

I just realized Bitz banned you on discord. I lifted the ban, I don't know why he did it. I removed him as the admin for now for that.

I also didn't know you made the discord server the main discussion chat. Please come talk to me on discord when you see this.

Post has been edited 1 time(s), last time on Feb 27 2018, 7:30 am by lifebot.



None.

Jun 4 2018, 2:07 am Ultraviolet Post #70



Got this error trying to set Unknown Upgrade 59:

Quote
System.NotImplementedException: The method or operation is not implemented.
at StarcraftEPDTriggers.UpgradeDef.getByIndex(Int32 index)
at StarcraftEPDTriggers.src.data.LenghtyEPDAction_UpgradesTech`1.recalculateOthers()
at StarcraftEPDTriggers.src.data.LenghtyEPDAction_UpgradesTech`1.recalculateFromTarget(Int32 index, TYPE value)
at StarcraftEPDTriggers.src.data.LenghtyEPDAction_UpgradesTech`1.<getInnerDefinitionParts>b__18_1(TYPE obj)
at StarcraftEPDTriggers.src.TriggerDefinitionGeneralDef`1.<>c__DisplayClass3_0.<.ctor>b__1(TYPE val)
at StarcraftEPDTriggers.src.TriggerBasicEnumPart`1.<>c__DisplayClass7_0.<setup>b__0(T val)
at StarcraftEPDTriggers.src.TriggerBasicEnumPart`1.linkUnclicked(UIElement givenElement)
at StarcraftEPDTriggers.src.TriggerBasicEnumPart`1.<>c__DisplayClass9_0.<getRealElement>b__2(Object <sender>, EventArgs <e>)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.FrameworkElement.RaiseClrEvent(EventPrivateKey key, EventArgs args)
at System.Windows.Controls.Primitives.Popup.OnClosed(EventArgs e)
at System.Windows.Controls.Primitives.Popup.DestroyWindow()
at System.Windows.Controls.Primitives.Popup.<HideWindow>b__122_0(Object sender, EventArgs args)
at System.Windows.Threading.DispatcherTimer.FireTick(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
at System.Windows.Window.ShowHelper(Object booleanBox)
at System.Windows.Window.Show()
at System.Windows.Window.ShowDialog()
at StarcraftEPDTriggers.AddCondAct..ctor(String what, List`1 comboInsides, Action`1 setter)
at StarcraftEPDTriggers.WndModify.btnActNew_Click(Object sender, RoutedEventArgs e)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
at System.Windows.Controls.Primitives.ButtonBase.OnClick()
at System.Windows.Controls.Button.OnClick()
at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
at System.Windows.Window.ShowHelper(Object booleanBox)
at System.Windows.Window.Show()
at System.Windows.Window.ShowDialog()
at StarcraftEPDTriggers.WndModify..ctor(Trigger trig, TriggerCollection colection, Action`1 saveCallback)
at StarcraftEPDTriggers.MainWindow.btnNewTrigger_Click(Object sender, RoutedEventArgs e)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
at System.Windows.Controls.Primitives.ButtonBase.OnClick()
at System.Windows.Controls.Button.OnClick()
at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
at System.Windows.Application.RunDispatcher(Object ignore)
at System.Windows.Application.RunInternal(Window window)
at System.Windows.Application.Run(Window window)
at StarcraftEPDTriggers.App.Main()





Jun 18 2018, 3:31 pm T-warp Post #71



Quote from Ultraviolet
Got this error trying to set Unknown Upgrade 59:

Quote
Collapse Box

That's quite unfortunate. I won't be able to work on this any time soon, so I've released source codes and you can try to fix it yourself. See the original post for details.

Post has been edited 2 time(s), last time on Jun 18 2018, 4:53 pm by T-warp.



None.

Aug 8 2018, 1:42 am Jaime_Alonzo Post #72



I'm unable to change unit movement speeds, maybe i'm understanding it wrong?



None.

Aug 8 2018, 1:46 am LoveLess Post #73

Let me show you how to hump without making love.

Quote from Jaime_Alonzo
I'm unable to change unit movement speeds, maybe i'm understanding it wrong?
You can only change the movement speed of a unit's Flingy. Only hover/air units use their flingy by default, while others like Marines or Zerglings, will use their iscript. So you will need to turn that on.



None.

Sep 16 2018, 6:57 pm T-warp Post #74



In case anyone is still following the thread, I've released an update with some new tweaks. The most notable one is that the editor now remembers last opened map and even all previously opened maps.



None.

Options
Pages: < 1 2 3 4
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[06:21 pm]
Voyager7456 -- NudeRaider
NudeRaider shouted: Voyager7456 there should probably be a place more obvious that gives the link to the discord server. I'd say we're past trial stage by now.
jjf28
jjf28 shouted: moose is no longer a mini O.O
Yeah I've been saying for a while we should replace SC2 files in the menu (literally empty) with a link to the Discord
[06:11 pm]
Suicidal Insanity -- Dem0n
Dem0n shouted: It's hardly even a SEN server honestly. Just mostly the same 10 people saying dumb shit LMAO
Sounds like SEN shoutbox :P
[04:47 pm]
Dem0n -- then again w/e
[04:46 pm]
Dem0n -- It's hardly even a SEN server honestly. Just mostly the same 10 people saying dumb shit LMAO
[04:46 pm]
Dem0n -- NudeRaider
NudeRaider shouted: Voyager7456 there should probably be a place more obvious that gives the link to the discord server. I'd say we're past trial stage by now.
no tbh. Lots of dumb people that shouldn't be on it.
[04:45 pm]
Suicidal Insanity -- Naw, somebody just redefined what one standard moose is
[04:39 pm]
Dem0n -- Our Moosey's all grown up C|:'^ )
[04:36 pm]
Dem0n -- O__________________________________________________________O
[04:17 pm]
jjf28 -- moose is no longer a mini O.O
[10:41 am]
NudeRaider -- NudeRaider
NudeRaider shouted: Voyager7456 there should probably be a place more obvious that gives the link to the discord server. I'd say we're past trial stage by now.
In the menu. Probably an item under Site, or preferably next to Wiki
Please log in to shout.


Members Online: Roy, oxygenman, Voyager7456, Excalibur, Suicidal Insanity