• 0

    posted a message on [Library] Planet View 1.0

    Wow really nice.

    I looked a bit thru it but I think the most important question is: Can we add different stuff to the planets or when viewing one? This could give some rise to some alternative games where one travels between planets etc. It looked quite mass effect like, too.

    Posted in: Trigger Libraries & Scripts
  • 0

    posted a message on [Contest] WoW Boss Votes

    I was certain that there were movies in the boss contest topic. I dont see them here?

    Posted in: Project Workplace
  • 0

    posted a message on [Release] Onetwo's TD
    Quote from OneTwoSC: Go

    @38dedo: Go

    Yeah, it should be there... Don't even search, just switch to viewing only data from my map as opposed to all, then at the top of the list in the Actors you should see something like ' Birth' actors and the Bug Splat, Drink Splat, etc... and they should all be using the model called 'building splat' which is another one I made (note: I didn't make the model itself (.m3), just the model data type that uses the terran tarmac.m3).

    As well, if you just go into the units tab and click on any tower, with the tree view below you should be able to see the Splat actor in the list.

    EDIT: Yes you have to be in my map looking at my data. If you want it in your map... copy the building splat 'Model' from models tab that I made, then open your map, and paste it into your models. Then go back to mine and copy Drink Splat or whichever, and paste it into your actors. Then now you can go ahead and change it to be for your towers.

    Alright, thank you very much!

    Posted in: Project Workplace
  • 0

    posted a message on [Release] Onetwo's TD
    Quote from 38dedo: Go

    Your looking in HIS map right? not a default data editor?

    Eh well ye in my data editor yes. How else am I going to implement it in my own map :O Copypaste his stuff?

    Posted in: Project Workplace
  • 0

    posted a message on [Release] Onetwo's TD
    Quote from OneTwoSC: Go

    @koffiegast: Go

    Actors.

    I'm looking thru the Actor, when I look up splat I get tons of results but none seem to refer to anything 'drink', 'mall' or terran tarmac. And if anything does, I don't see any references to ground texture. Which one of the many actors that have anything to do with Actor/Splat should I use? I also can't seem to get succesful with google research relating these ground texture adjustments. :D

    Posted in: Project Workplace
  • 0

    posted a message on [Release] Onetwo's TD
    Quote from OneTwoSC: Go

    2. Ground texture you can see in the data editor called 'Drink Splat' or 'Mall Splat' etc... it's a splat actor that uses a terran tarmac model variation that also depends on the fact that you set your building facing to 0 in each tower's options (default is 315, which causes rotated splat).

    Could you please elaborate this a bit more as I can't seem to find anything that is 'Drink Splat'. What part of the Data Editor should I be looking?

    Posted in: Project Workplace
  • 0

    posted a message on How to make Medivacs sacrifice themself when using heals

    Like the title says,

    what I attempted was to change the heal of Medivacs to cost life and give life to another unit. What I also wanted, was that the unit will go on healing (and losing life) till he is dead. Unfortunately the heal seems to have some built in check that doesnt allow it to go below 1 life (even when I change the amount of life required = 1). Is there any trick/thingy im forgetting?

    Thanks

    Posted in: Data
  • 0

    posted a message on Transfer Energy to newly morphed/created Unit

    Quote from MasterDinadan:
    @koffiegast: Go

    The problem with your trigger is that you are initializing the EnergyNew value to the energy of the triggering unit. However, the triggering unit is part of the "UnitsSelected" group, so his energy gets added AGAIN when you do the "Pick Each Unit" loop. For that matter, "Remove Triggering Unit" is redundant, since he will already have been picked and removed, but that won't really break anything.

    Initialize the variable to 0 instead and it should add up properly.
    ----

    Hey, thats actually a very good point haha. Damn shouldve thought the 'pick all units'- part more thoroughly :D

    Thanks

    Posted in: Miscellaneous Development
  • 0

    posted a message on Transfer Energy to newly morphed/created Unit

    New issue concering the fusion of units:

    Fusion
        Events
            Unit - Any Unit uses Marauder - Use Stimpack at Morph14 - Abilities End stage (Include shared abilities)
        Local Variables
            UnitsSelected = (Selected units for player (Owner of (Triggering unit))) <Unit Group>
            EnergyNew = ((Triggering unit) Energy (Current)) <Real>
        Conditions
            (Number of Living units in (Selected units for player (Owner of (Triggering unit)))) > 1
        Actions
            Unit Group - Pick each unit in UnitsSelected and do (Actions)
                Actions
                    General - If (Conditions) then do (Actions) else do (Actions)
                        If
                            (Distance between (Position of (Triggering unit)) and (Position of (Picked unit))) <= 3.0
                        Then
                            Variable - Set EnergyNew = (EnergyNew + ((Picked unit) Energy (Current)))
                            Unit - Remove (Picked unit) from the game
                            Unit Group - Remove (Picked unit) from UnitsSelected
                        Else
            Unit - Remove (Triggering unit) from the game
            Unit - Create 1 Roach for player (Owner of (Triggering unit)) at (Position of (Triggering unit)) using default facing (Ignore Placement)
            Unit - Set (Last created unit) Energy to EnergyNew
            Unit Group - Add (Last created unit) to UnitsSelected
            Unit Selection - Select UnitsSelected for player (Owner of (Triggering unit))

    As you can see I use the marauder stimpack ability (more precisely a copy thereof) for the trigger.
    My intention is that once a player has selected a group of units and clicks the ability of stimpack the following happens:
    The triggering unit 'fuses' with any other unit in its direct approximity (range 3), essentially a new unit is created (roach in this case) with the energy combined of all units in its approximity + the triggering unit (basically, if triggering has 50 energy and another unit has 100 energy, the fused unit has 150 energy). The problem that I face is that the same variable is used for the whole group, essentially leading to energy out of nothing in some cases.

    What do you guys propose on fixing this?

    Another solution might be using 'smart cast', but I cant really find any such field in the data editor (or that looks like it). Before I totally swap over and try to look for an ability that is selfcast + smartcast, I was curious whether someone knows whether there is one? :D

    Thanks in advance

    Posted in: Miscellaneous Development
  • 0

    posted a message on Tracking mines
    Quote from Colt556: Go

    Hmm, that's a good idea. But what about movement? Is it possible to make it so it can move, but that the player can't move it themselves?

    Uncommandable / unselectable? Look at force field

    Posted in: Miscellaneous Development
  • 0

    posted a message on Using the Geometric models as units

    Bump

    Posted in: Miscellaneous Development
  • 0

    posted a message on Transfer Energy to newly morphed/created Unit
    Quote from xytor: Go

    @koffiegast: Go

    Did you try storing the triggering unit in a variable? Global perhaps?

    Nope,
    but I'm really wondering why there isn't a built-in variable that refers to the units created using an ability. That is my only real issue as I'm not sure how to. Checking whether a unit is created isnt an option as there also other means to create the same units. Adding additional conditions such as (unit is close to this unit) also isn't, because units are completely bunched up. It really has to be a way to check what units were created using an ability. The only other options that will give the same effect if when the trigger editor allows for spawning a unit at the same position as another unit (as the create unit seems to spawn units only next to other units, and when you have many of them, they will just spawn on the outer circle, as far as Ive seen).

    update
    Found a way to do it trigger style. But we need to find out two new issues, 1st is finding out how to give only a part of the energy (couldnt see arithmetics mmh?) and what ability the unit should have (I did force field of sentry and oddly enough it spawns 7 units instead of just one!)

    Posted in: Miscellaneous Development
  • 0

    posted a message on Transfer Energy to newly morphed/created Unit
    Quote from 95701 »

    Did you see the event? <<code lua>> Unit Uses Ability Unit: Any Unit Ability: (No Value) Stage: Generic1 - Any Include Shared Abilities: Ignore <</code>>
    Yes and Ive tried something with it. My point is that Im not sure how to refer to the 'newly' created units from that ability. Once the event is triggered, the created units arent already out afaik.
    Posted in: Miscellaneous Development
  • 0

    posted a message on Transfer Energy to newly morphed/created Unit

    Hey, got this new issue as Im not entirely sure how I should go about doing this.

    At the moment I have a unit with the ability to merge with other units (simply using archon warp) and an edited ability larva -> morph (making two of the same unit). This allows me basically to make units become a single unit and split up easily. Now, when units are split (i.e. original unit dies (just like the larva or egg) and two newly made units are created (in a similar way zerglings spawn from eggs), I want the energy of the original unit to be split among the new units evenly. As for the merging, I wish to add the energy of both units together into the new unit.

    I thought of using the data editor but as far Ive seen no such fields exist. So I thought about using the trigger editor. My issue with this approach is that I find it hard to check which unit uses the ability (original unit) and what units are created by that ability (is there such a preset/variable in the trigger editor?). This is because if I use as event "Unit uses ability", I still require some way to check which two units were actually created by the ability.

    A more drastic solution is to create new units using the trigger editor and have the ability function as a dummy ability, the problem with this approach however is that the trigger editor creates units in such a way that they never collide with other units. I actually want this to happen, where the engine of SC2 has to figure out how to place the units and eventually push all units away (just like with the Force fields of Sentry). If it is possible to recreate this scenario using the trigger editor I think I'm set, but so far my research has been fruitless.

    Any ideas?

    Thanks & Greetings

    Posted in: Miscellaneous Development
  • 0

    posted a message on Only 3 levels of cliffs? Tell me I'm missing something

    (I didnt feel like making a new topic when this topic fits it perfectly):

    http://www.few.vu.nl/~bha220/differencelevel.jpg

    Im kinda wondering why they would only allow that few levels.

    I think it is because of beta, well I hope it is.

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