Ice Texture ;.....;

Status
Not open for further replies.
J

Jim

Guest
Hi ,1. Where i find / how can i put on my map an icy texture so the units would be able to ''skate'' on it (like polar escape) i've checked those maps.All are protected
2.And a second one (maybe offtopic) I downloaded the fullscreen.BLP now what i need to do? To import a photo in wc3 world editor with blp ? ? ?
Thanks in advance .
 

Sil3nt

SUP?
Reaction score
134
1. Check the tilesets titled "Northrend", "Icecrown" they have icey terrain tiles.

2. Check the tutorial section of the WE zone or use the search function, theres lots of tutorials regarding loading screens.
 
J

Jim

Guest
I've done those before 2 years xD now forgot everything. . .
Where i find those tilesets?
Edit:Ok i found it ty
 
J

Jim

Guest
Ok i've added the icy terrain now i need some triggers to make players skating on the icy terrain. Can someone post those triggers plz?
Edit:sorry for double post*
 

Sil3nt

SUP?
Reaction score
134
There is also a tutorial for sliding in the tutorial section. I'd link you to it but my net is very, very slow right now and I really can't be bothered looking for it.
 

OneBadPsycho

10100111001
Reaction score
93
Something like this...
Code:
Slide
    Events
        Time - Every 0.03 seconds of game time
    Conditions
    Actions
        Set Ugroup = (Units in (Playable map area))        
        Unit Group - Pick every unit in Ugroup and do (Actions)
            Loop - Actions
                Set LocSU = (Position of (Picked unit))
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        (Terrain type at LocSU) Equal to [COLOR="Red"]Your icy terrain[/COLOR]
                    Then - Actions                                                
                        Set MoveLocSU = (LocSU offset by 20.00 towards Unit Facing of Picked unit degrees)
                        Unit - Move (Picked unit) instantly to MoveLocSU                        
                        Custom script:   call RemoveLocation (udg_MoveLocSU) 
                    Else - Actions
            Custom script:   call RemoveLocation (udg_LocSU)
        Custom script:   call DestroyGroup (udg_Ugroup)

This IS MuI^^
 

darkbeer

Beer is Good!
Reaction score
84
Code:
Event - Periodic event every 0.03 seconds
Actions - Group Pick every unit in SlidingGroup and do actions
    Set TempLoc = Position of Picked Unit
    If all Conditions are true then do Actions
        Conditions -
            Terrain Type at TempLoc equal to "ICE"
        Actions - 
             set TempLoc_2 = TempLoc offset by 20 towards Unit Facing of Picked unit degrees
             Unit - Move Picked unit instantly to TempLoc_2
             CustomScript: call RemoveLocation(udg_TempLoc_2)
     CustomScript: call RemoveLocation(udg_TempLoc)

will slide all units in SlidingGroup on ice terrain towards their facing angle.

EDIT: OneBadPsycho your trigger leaks a group and a locaton and you dont need to set reals to 0 especially not globals.
 

darkbeer

Beer is Good!
Reaction score
84
sorry should have pointed that out better:
and i think a 0.03 period is much better than 0.01 concerning the performance and it makes no difference for the eye.

Note: this is OneBadPsychos trigger!
Code:
Slide
    Events
        Time - Every [COLOR="Red"]0.03[/COLOR] seconds of game time
    Conditions
    Actions
        Set Ugroup = (Units in (Playable map area))
        Unit Group - Pick every unit in Ugroup and do (Actions)
            Loop - Actions
                Set LocSU = (Position of (Picked unit)) // put it here so you can use it for the condition
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        (Terrain type at [[COLOR="Red"](Position of (Picked unit)))[/COLOR] // this leaks] use LocUs Equal to Your icy terrain
                    Then - Actions
                        Set AngleSU = (Facing of (Picked unit))
                        Set MoveLocSU = (LocSU offset by[COLOR="Red"] 30.00[/COLOR] towards AngleSU degrees)
                        Unit - Move (Picked unit) instantly to MoveLocSU
                        Custom script:   call RemoveLocation (udg_MoveLocSU) 
                    Else - Actions
        Custom script:   call RemoveLocation (udg_LocSU) //outside the if then to remove the leak
        Custom script:   call DestroyGroup (udg_Ugroup)

And yes this is MUI :)
 
J

Jim

Guest
Do i need to do this triggers for all players?
BTW i opened a slide kitty slide map and the triggers where very complicated
and there was an >.< and i cannot do to my original map because i cant find units ! ! !
Edit:When i was typing this (which took me a lot of time to upload xD)u were typing .NVM ur triggers are more complicated xD
ty guyz

sliding.jpg
 
J

Jim

Guest
Damn i got a problem . ..
I need to select those triggers based on ur code but i cant find some things.(not all)
Is there a way to make a custom script and copy paste ur code including everything?
:thup:

Edit:Can you post the code again plz? and tell me where i can find each trigger?
thx much
 

OneBadPsycho

10100111001
Reaction score
93
Like this?
Code:
Slide
    Events
        Time - Every 0.03 seconds of game time
    Conditions
    Actions
        Set Ugroup = (Units in (Playable map area)) [B]//Unit Group Variable... [/B]   
        Unit Group - Pick every unit in Ugroup and do (Actions) [B]//Obvious[/B]
            Loop - Actions
                Set LocSU = (Position of (Picked unit)) [B]//Point Variable[/B]
                If (All Conditions are True) then do (Then Actions) else do (Else Actions) [B]//If/Then/Else[/B]
                    If - Conditions
                        (Terrain type at LocSU) Equal to Your icy terrain [B]//Terrain Type Condition[/B]
                    Then - Actions                                                
                        Set MoveLocSU = (LocSU offset by 20.00 towards Unit Facing of Picked unit degrees) [B]//Point Variable[/B]
                        Unit - Move (Picked unit) instantly to MoveLocSU       [B]//Obvious[/B]                  
                        Custom script:   call RemoveLocation (udg_MoveLocSU) [B]//Custom script, just copy "call RemoveLocation (udg_MoveLocSU)"[/B]
                    Else - Actions
            Custom script:   call RemoveLocation (udg_LocSU) [B]//Custom script, just copy "call RemoveLocation (udg_LocSU)"[/B]
        Custom script:   call DestroyGroup (udg_Ugroup) [B]//Custom script, just copy "call DestroyGroup (udg_Ugroup)"[/B]
 
J

Jim

Guest
I've done some of these but the rest >.<
impossible . . .
I would be grateful if you would sumbit a map with those triggers in it.
. . .
impossible.JPG
 

OneBadPsycho

10100111001
Reaction score
93
Here it is...
I made a steering system too, so you can move your sliding unit, while it is sliding.
 

Attachments

  • Slide.w3x
    16.3 KB · Views: 188
Status
Not open for further replies.
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top