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 5 >
 

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

Unlimited N-word pass winner

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.




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

Veteran Mapper

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

Unlimited N-word pass winner

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).




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

Veteran Mapper

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

Unlimited N-word pass winner

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




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

Veteran Mapper

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

Unlimited N-word pass winner

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




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.



My Projects:

Impossible Ultraviolet | Impossible UV2 | Impossible UV3
Mercenaries 2020 | Mercenaries III
Squad Defense

Legacy Projects (No guarantee of functionality in modern SC):

Pixel Adventure 2 | Space Snipers | Control the Ball

______________________________________________

Join me in Torn City
It's a text-based MMORPG, kind of like GTA, and played from your browser. Sounds silly, but it's fun. I get a referral reward if you join after clicking my link. Let me know if you do, and if you make it to level 10, I'll send you the reward I get.

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.




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()




My Projects:

Impossible Ultraviolet | Impossible UV2 | Impossible UV3
Mercenaries 2020 | Mercenaries III
Squad Defense

Legacy Projects (No guarantee of functionality in modern SC):

Pixel Adventure 2 | Space Snipers | Control the Ball

______________________________________________

Join me in Torn City
It's a text-based MMORPG, kind of like GTA, and played from your browser. Sounds silly, but it's fun. I get a referral reward if you join after clicking my link. Let me know if you do, and if you make it to level 10, I'll send you the reward I get.

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

Unlimited N-word pass winner

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.




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

Unlimited N-word pass winner

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.




Jan 11 2019, 12:01 am wolfsigma Post #75



This is very useful for EUD/EPD Creators, I'll check it out :)

Post has been edited 1 time(s), last time on Jan 11 2019, 3:27 pm by wolfsigma.



None.

Jan 20 2019, 9:07 pm scmapper100 Post #76



I tried the key pressed condition,what i have noticed,when i pressed a key then released, the map just remember that as pressed forever,then whatever action comes after pressing that key will go on forever. Supposed that Key pressed condition means" currently"pressing? or once that key is pressed then the trigger will think its pressed forever. May be u can create an Action, such as, " Clear key pressed history", so the key press condition can be reuse?



None.

Jan 24 2019, 2:05 pm Oh_Man Post #77

Find Me On Discord (Brood War UMS Community & Staredit Network)

Wow, this is very impressive. I am going to try to learn this. What does "safe" and "unsafe" mean in this context?




Jan 25 2019, 12:50 am NudeRaider Post #78

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

I think unsafe conditions are very likely to cause desync in multiplayer, but are fine to use in single player.




Jan 30 2019, 4:32 pm 123dominico Post #79



Is it possible to increase the damage of Spells such as irradiate, plague, etc?



None.

Jan 31 2019, 10:41 pm TheBigDingus Post #80



123dominico you can change the damage of irradiate and plague using Set Weapon Damage, you should be able to select plague in the list of weapons as well as irradiate.
I was messing around with this yesterday and was able to change the splash radius of plague.
You can also use Set Weapon Effect and change the effect of plague making it a whole differnt spell.


I have been having trouble making the "Permanently cloaked" check box in advanced properties actually cloak the unit.
I tried giving it to units, and removing it from the dark templar but no change occurs.
Are there more steps to making this work that I am missing?




Options
Pages: < 1 « 2 3 4 5 >
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[11:58 pm]
O)FaRTy1billion[MM] -- wb sen
[2024-9-30. : 6:06 pm]
NudeRaider -- Zoan
Zoan shouted: NudeRaider :O so that's why we get spambots about exercise equipment: they're just mineral farmers
of course, hired by me. Get on my level!
[2024-9-30. : 6:05 pm]
Zoan -- NudeRaider
NudeRaider shouted: just post more, plebs :ego:
:O so that's why we get spambots about exercise equipment: they're just mineral farmers
[2024-9-30. : 1:48 pm]
Vrael -- they made a movie about it and everything: https://en.wikipedia.org/wiki/Free_Willy
[2024-9-30. : 1:37 pm]
Oh_Man -- i dont know who this will guy is but he has been in captivity for far too long. free will!
[2024-9-30. : 8:41 am]
NudeRaider -- just post more, plebs :ego:
[2024-9-29. : 8:45 pm]
RIVE -- The top 1% of the top 1% are soulless, mod-entities who control more minerals than the bottom 99%
[2024-9-29. : 4:31 pm]
Vrael -- down with the mods! take their minerals!
[2024-9-29. : 4:31 pm]
Vrael -- if the top 1% just paid their fair share of minerals we all could just have minerals dammit
[2024-9-28. : 5:39 pm]
RIVE -- Minerals should be taxed
Please log in to shout.


Members Online: RIVE, Roy