• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

Race Building Contest #3 - Mini Melee Race

Status
Not open for further replies.
Level 21
Joined
Jul 27, 2008
Messages
14,361
What if there are teams? One ally can protect workers of his ally. Also AI always replaces main base when his first one is destroyed.

But is there real need for victory trigger? Many maps don't use it and players can always leave at the end. Also this a contest so we could add it latter if we wish to release map.
 
Level 11
Joined
Jul 2, 2008
Messages
601
I'm pretty sure, the way we with xxdingo93xx did it, is beatiful enough to fit everybody, cause if you lose - you lose, but if you win, you can continue playing up to the moment you want to leave the game yourself: w/o annoying message about the victory congratulations and clicking the "Continue" button. :p
 
Level 11
Joined
Feb 14, 2009
Messages
884
I think this whole victory-defeat thing is absolutely pointless. The tester won't be stupid, he/she's gonna know when he/she's won and when the game is lost...
 
Level 6
Joined
Aug 26, 2009
Messages
221
my first Screenie!

at last, screenie!!
just on WIP, and i will change the models of some units..
 

Attachments

  • screenie.JPG
    screenie.JPG
    145.6 KB · Views: 142
Level 13
Joined
Jun 23, 2009
Messages
300
But he was logged in yesterday?
Hehe, I found a typo in one of my posts, so I had the urge to correct it ^^'

Anyway, the version of the trigger debode has works perfectly, but is a bit obsolete... (it has a pair of useless lines)
I made a JASS version of it some months ago, I'll post both JASS and GUI ones here ASAP.

Ah... and sorry if I'm not active anymore in the race creators group... I'm in a pause from modding, maybe permanently, maybe until tomorrow... who knows?
 
Last edited:
Level 13
Joined
Jun 23, 2009
Messages
300
Who can blame you. Group is dead without you and Wazzz.
This sucks...

And thank you in advance for the triggers.
No problem, they were made to be shared in these occasions.

Okay, here's the JASS trigger, it doesn't seem that I cleaned leaks, though, but I won't fix that. :razz:
(And I've never encountered any slowing down with this trigger running continuously, so if it leaks, it doesn't leak much anyway :xxd:)

Also, don't blame me about the TriggerSleepAction(), because it doesn't affect gameplay so it's fine as it is.

To make it work, delete this line from the Init trigger:
  • Melee Game - Enforce victory/defeat conditions (for all players)
It IS plain JASS, so it can be compiled also by the normal WE, enjoy and give me credits.
JASS:
//by Michael Peppers

function filter_Structure takes nothing returns boolean
    return (IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == true)
endfunction

function filter_PlayingPlayers takes nothing returns boolean
    return (GetPlayerSlotState(GetFilterPlayer()) == PLAYER_SLOT_STATE_PLAYING)
endfunction

function filter_EnemiesAlive takes nothing returns boolean
    return (IsPlayerEnemy(GetFilterPlayer(), GetEnumPlayer()) == true) and (GetPlayerSlotState(GetFilterPlayer()) == PLAYER_SLOT_STATE_PLAYING)
endfunction

function Trig_Victory_Defeat_Conditions takes nothing returns boolean
    return (GetPlayerSlotState(GetOwningPlayer(GetDyingUnit())) == PLAYER_SLOT_STATE_PLAYING) and (IsUnitGroupDeadBJ(GetUnitsOfPlayerMatching(GetOwningPlayer(GetDyingUnit()), Condition(function filter_Structure))) == true) and (GetOwningPlayer(GetDyingUnit()) != Player(PLAYER_NEUTRAL_AGGRESSIVE))
endfunction

function Trig_Victory_Defeat_VictoryLoop takes nothing returns nothing
    if (CountPlayersInForceBJ(GetPlayersMatching(Condition(function filter_EnemiesAlive))) == 0) then
        call CustomVictoryBJ(GetEnumPlayer(), true, true)
    endif
endfunction

function Trig_Victory_Defeat_Actions takes nothing returns nothing
    call CustomDefeatBJ(GetOwningPlayer(GetDyingUnit()), "Defeat!")
    call DisplayTextToForce(GetPlayersByMapControl(MAP_CONTROL_USER), (GetPlayerName(GetOwningPlayer(GetDyingUnit())) + " has been defeated."))
    call TriggerSleepAction(2.00)
    call ForForce(GetPlayersMatching(Condition(function filter_PlayingPlayers)), function Trig_Victory_Defeat_VictoryLoop)
endfunction

//===========================================================================
function InitTrig_Victory_Defeat takes nothing returns nothing
    set t = CreateTrigger()
    call TriggerRegisterAnyUnitEventBJ(t, EVENT_PLAYER_UNIT_DEATH)
    call TriggerAddCondition(t, Condition(function Trig_Victory_Defeat_Conditions))
    call TriggerAddAction(t, function Trig_Victory_Defeat_Actions)
endfunction

I finally found the GUI one, but there's no purpose for using it, sincerely...
  • Victory Defeat
    • Events
      • Unit - A unit dies
    • Conditions
      • ((Owner of (Dying unit)) slot status) Equal to In Game
      • (All Units of (Units owned by (Owner of (Dying unit)) matching (((Matching Unit) is a building) Equal to True)) are dead) Equal to True
      • (Owner of (Dying unit)) different from Neutral-hostile
    • Actions
      • Game - Defeat (Owner of (Dying unit)) with the message: Defeat!
      • Game - Display to (All players controlled by an User player) the text: ((Name of (Owner of (Dying unit))) + has been defeated.)
      • Wait 2.00 seconds
      • Player Group - Pick Every Player in (All Players matching (((Matching player) Slot status) Equal to In Game)) and do (Actions)
        • Loop - Actions
          • If (All Conditions are true) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Number of players in (All players Matching ((((Matching player) is an enemy of (Picked player)) Equal to True) and (((Matching Player) slot status) Equal to In Game)))) Equal to 0
            • Then - Actions
              • Game - Victory (Picked player) (Show dialogs, Show scores)
            • Else - Actions
 
Last edited:
Level 13
Joined
Mar 6, 2008
Messages
525

pippo's Troll Race

attachment.php
attachment.php
attachment.php
attachment.php
attachment.php
attachment.php
attachment.php
attachment.php
attachment.php
attachment.php
attachment.php
More images are coming soon!
 

Attachments

  • Clipboard05.jpg
    Clipboard05.jpg
    77.6 KB · Views: 620
  • Clipboard04.jpg
    Clipboard04.jpg
    14.6 KB · Views: 590
  • Clipboard03.jpg
    Clipboard03.jpg
    40.8 KB · Views: 628
  • Clipboard02.jpg
    Clipboard02.jpg
    29.6 KB · Views: 639
  • Clipboard01.jpg
    Clipboard01.jpg
    37.2 KB · Views: 601
  • Clipboard06.jpg
    Clipboard06.jpg
    60.6 KB · Views: 645
  • Clipboard07.jpg
    Clipboard07.jpg
    54.9 KB · Views: 612
  • Clipboard08.jpg
    Clipboard08.jpg
    66.3 KB · Views: 616
  • Clipboard09.jpg
    Clipboard09.jpg
    82.4 KB · Views: 625
  • Clipboard10.jpg
    Clipboard10.jpg
    68.3 KB · Views: 590
  • Clipboard11.jpg
    Clipboard11.jpg
    43.1 KB · Views: 610
Level 23
Joined
Nov 17, 2008
Messages
17,315
The story of trolls, who wanted to go dancing, but were hurt by the furbolgs, and now they have revenge... It shows their long way to victory and their cool dancing moves, like water dance and fury, and in the end the main character is kicked out of the team... =(
 
Level 16
Joined
Jun 17, 2008
Messages
550
Probably one of my last WIPs. I'm happy to say that it is 95% done, and I'm at the stage where I would welcome play-testers, if of course, it is within the scope of rules.

attachment.php

attachment.php

My triggering isn't terrific. That's about as much tweaking as I can do :/


attachment.php
attachment.php

Have Fun with the competition guys! :D

attachment.php

Once again, I wish all of you - Best of Progress :)
 

Attachments

  • GhostArmy01.jpg
    GhostArmy01.jpg
    109.9 KB · Views: 225
  • GhostArmy02.JPG
    GhostArmy02.JPG
    169.8 KB · Views: 218
  • GhostArmy03.JPG
    GhostArmy03.JPG
    117.1 KB · Views: 224
  • GhostArmy0x.jpg
    GhostArmy0x.jpg
    139.3 KB · Views: 256
  • GhostArmy04.jpg
    GhostArmy04.jpg
    157.1 KB · Views: 227
Level 19
Joined
Apr 30, 2007
Messages
1,937
Time for Some Wips

I've got quite far, almost finishing the race (and still not on the contestants list :bored:). So its time for some wips.
 

Attachments

  • Tyranny5.png
    Tyranny5.png
    1.7 MB · Views: 122
  • Tyranny4.png
    Tyranny4.png
    1.5 MB · Views: 101
  • Tyranny3.png
    Tyranny3.png
    1.6 MB · Views: 121
  • Tyranny2.png
    Tyranny2.png
    1.7 MB · Views: 101
  • Tyranny1.png
    Tyranny1.png
    1.6 MB · Views: 139
  • Tyranny6.png
    Tyranny6.png
    1.7 MB · Views: 106
Level 13
Joined
Mar 6, 2008
Messages
525
Probably one of my last WIPs. I'm happy to say that it is 95% done, and I'm at the stage where I would welcome play-testers, if of course, it is within the scope of rules.

attachment.php

attachment.php

My triggering isn't terrific. That's about as much tweaking as I can do :/


attachment.php
attachment.php

Have Fun with the competition guys! :D

attachment.php

Once again, I wish all of you - Best of Progress :)

The rules said "only one tier"...
 
Status
Not open for further replies.
Top