• 0

    posted a message on A Solution to Generating Normally-Distributed Random Variables

    @Yaksmanofage: Go

    It's useful it someone needs to create a variable that takes on values around the average most of the time, but has small chances of taking on more extreme values. I think it's useful for item drops and quality levels and whatnot.

    Posted in: Triggers
  • 0

    posted a message on A Solution to Generating Normally-Distributed Random Variables

    The editor only lets you generate uniformly distributed numbers, I created the following function that generates normally distributed RV's.

    Parameters:
    Mean = 0.0 <Real>
    Standard Deviation = 0.0 <Real>

    Local Variables:
    RV = 0.0 <Real>

    Actions:
    Set RV = Standard Deviation*(Square root(-2.0*Log2(Random real between 0.0 and 1.0)/Log2("2.7183"))*(Sin(360*Random real between 0.0 and 1.0)))+Mean

    Return RV

    Posted in: Triggers
  • 0

    posted a message on Test map loading very slow after last patch?

    Excellent, thanks to all for the information. Staying logged-in works great.

    Posted in: General Chat
  • 0

    posted a message on Test map loading very slow after last patch?

    I was wondering if it's just me, but since downloading the last patch (2.0.10), whenever I go to test a map in the editor the load times have seemingly increased by at least 5-fold. The biggest wait is between actually hitting "Test" and the screen going black then going to map loading screen. Once the loading bar appears it loads more or less as fast as before. It's an extremely annoying waste of time when you need to go back n forth frequently to test tweaks. This has really slowed down my map development. Anyone else encountered this?

    Posted in: General Chat
  • 0

    posted a message on Where to get the SC2 Art Tools?

    Ok, thanks for clearing that up!

    Posted in: General Chat
  • 0

    posted a message on Where to get the SC2 Art Tools?

    I would like to jump into it and explore the new modeling tools, but I didn't get in on the beta for it. Does anyone know if the tools have been released to the public yet? I'm guessing no, since I haven't seen any announcement from Blizzard. Other searches haven't turned up anything besides the pre-HotS beta test thread.

    If they have been released, where can we access them? If not, when will they be coming out?

    "soon"?

    Posted in: General Chat
  • 0

    posted a message on ObjectivePanel frame cannot be found.

    @Helral: Go

    Thanks! Got the syntax down. The whole template issue was giving me trouble. By the way your big xml name list is absolutely invaluable for this UI work.

    Posted in: UI Development
  • 0

    posted a message on ObjectivePanel frame cannot be found.

    @Helral: Go

    I got the exact same type of error message popping up. I want to change the inventory's layout, so I tried to override part of the "InventoryPanel" layout and simply make the inventory container twice as large (from 400x440 to 800x880).

    The xml snippet:

    <?xml version="1.0" encoding="utf-8" standalone="yes"?>
    <Desc>
        <Frame type="InventoryContainer" name="GameUI/UIContainer/ConsoleUIContainer/InventoryPanel/ContainerPanelTemplate" file="GameUI">
            <AcceptsMouse val="true"/>
            <CollapseLayout val="true"/>
            <Width val="800"/>
            <Height val="880"/>
        </Frame>
    </Desc>
    

    it gives me the errors:

    UI: File [CustomInventory.SC2Layout] Line [8] Column [5]. Failed to locate specified Desc [GameUI/UIContainer/ConsoleUIContainer/InventoryPanel/ContainerPanelTemplate].

    UI: File [CustomInventory.SC2Layout] Line [8] Column [5]. Could not find Frame Desc [GameUI/UIContainer/ConsoleUIContainer/InventoryPanel/ContainerPanelTemplate] in File Desc [GameUI].

    Posted in: UI Development
  • 0

    posted a message on Carrier interceptors with multiple targets

    I finally got something I'm happy with. It turns out that it's actually quite simple (what a shocker). In the ability carrier - hangar, I simply removed the flag "retarget". This allowed me to apply the random target attack order to each interceptor. Simply link the effect -> launch in carrier - hangar to your random target sort -> issue order effects.

    Only potential downside I see is that it still tends to concentrate the interceptors on the first target until it's dead, then it begins to spread them out more or less evenly.

    Posted in: Data
  • 0

    posted a message on Carrier interceptors with multiple targets

    I second this request, I've been trying to get even 1 carrier to spread its interceptors between multiple targets with no luck yet. Any one actually got it to work? Search area effect linked to the carrier's weapon is useless for this from what I've found. I'll try and tool around with dummy units/behaviors whatnot see if anything comes of it.

    Posted in: Data
  • To post a comment, please or register a new account.