SC2Mapster Forums

Development > Triggers

Random nuclear bombs :)

  • 5 posts
    #1 Feb 20, 2013 at 19:09 UTC - 0 likes

    Hi everyone I'm new to SC2 editor and for this map, here's my goal: I want a nuke randomly droped on selected region of map (most of the map exluding spawns).

    My event is a "time trigger" (nuke every x second). I set the region for this trigger (random point in the region).

    I have some troubles to make the actions. I selected effects (nucléar bombe persistant) + sound (sound of alert and launch). Everything works fine basically. Nuke Alert -> nuke launch + lauch sound-> 10sec pause -> and explosion at dedicated spot. BUT: I wanted to display the famous red dot on the terrain (actually like in the real SC2 explosions) so players could at least know where it's gonna fall :) I can't find where it is? and how to use it?

    Also if you have any suggestion to help me it would be welcome.

    Thanks

    NB: some of you have maybe heard about Georgopolis map (from P&T french casters). The mecanism is similar.

    #2 Feb 20, 2013 at 19:48 UTC - 0 likes

    You would either have to modify the actor using data or simply create the actor using triggers.

    Assistant Team Leader of "Generic Code" and User of the All-Mighty Data Editor.

    My Amazing Cutscenes

    #3 Feb 20, 2013 at 19:58 UTC - 0 likes

    @Spoolofwhool: Go

    Thank you for reply but I didn't creat actors. Mainly because it' seems more complicated that just add effects. Should I? Actually I don't understand what an actor really is... An what is the actor's domain and content I have to add. If u have any tutorial it would be great?

    #4 Feb 21, 2013 at 00:09 UTC - 0 likes

    Nuke indicateur Events Timer - Every 5.0 seconds of Game Time Local Variables Conditions Actions Actor - Create actor Ghost Nuke Indicator at point (Random point in Region 001)

    Use this but replace Random Point in region by the targetted point of the nuke drop.

    #5 Feb 21, 2013 at 00:17 UTC - 0 likes

    I tried to replicate what the map does (from what I remember when I played it), look at the attached file... Pretty much everything is explained (I added comments everywhere in the triggers). If you want to prevent frame drops (when loading models and effects), maybe you should add preloads in another trigger... But other than that, I think the map I made is pretty much everything you're looking for. I was looking to do it myself some day anyway, the original map is fun and I always wondered what it would look like on one of my own melee maps! Have fun (no credits needed for the help, but it's always nice)! :)

    EDIT: I noticed a little bug with the warning sound when playing terran, basically you just have to remove the default value in the switch to make it work again. Everything else seems to work just fine (although timings are not accurate, it's up to you to change them to your tastes). Enjoy!

    Last edited Feb 21, 2013 by ZealNaga
    Name Description Size MD5
    georgeopolis_test.SC2Map georgeopolis clone 33.4 KiB ea8458920f9f...
  • 5 posts

You must login to post a comment. Don't have an account? Register to get one!