[System] Scanner Ver. 3.0

U

Ur-Quan

Guest
That wasn't an insult for sure.
Constructive criticism :D.
I will tingle a little with your map if you dont mind.
Like add a spec effect or 2.
 

Miz

Administrator
Reaction score
424
TY then but IKilledKEnny will most likey helping me with Jass because I'm still learning but (If IKilledKEnny is still working with me on Verison 4) we will put the Special Effects

Nexts Verison Thread will have alot of things because people are telling me to put different stuff someplace else

Like Loading bar over the platform instead of a bigger edited one that most people do including Ace...

Special Effect and Normal one

And other things I have to put it

But this isn't really a map as it is a system that has gotten good reviews unlike my other Systems :p

___________________________________________
Woot 3 more Rep till 50!
 
I

IKilledKEnny

Guest
Code:
function Scanning3OG takes integer i, destructable d returns nothing // Opening / Closing the gate. 
if i==0 then // If order is close
  if GetDestructableLife(d)<=0 then
    call DestructableRestoreLife(d,GetDestructableMaxLife(d),true)
  endif
  call SetDestructableAnimation(d,"stand")
elseif i==1 then // If order is open
  if GetDestructableLife(d)>0 then
    call KillDestructable(d)
  endif
  call SetDestructableAnimation(d,"death alternate")
endif
endfunction

function scanning3b takes nothing returns boolean // Force condition (only owner of triggering unit)
return GetFilterPlayer()==GetOwningPlayer(GetTriggerUnit())
endfunction

function scanning3 takes nothing returns nothing // Actions
local unit t=GetTriggerUnit() // t = triggering unit
local force f=CreateForce() // f = some force
local integer l=1 // l = 1
local boolexpr b=Condition(function scanning3b) // Condition is stored in variable
local string array s // Get array string variable 's' and setting it
set s[1]="|" // 1 "|"
set s[2]="|||" // 2 "|"
set s[3]="|||||" // 3 "|"
set s[4]="|||||||" // 4 "|"

call PauseUnit(t,true) // Pasue t
set f=GetPlayersMatching(b) // Set f as owner of triggering unit

loop // start loop
  exitwhen l>4 // condition for loop
  call DisplayTextToForce(f,"|cffffcc00"+s[l]) // Display massage
  call TriggerSleepAction(2) // Wait action
  set l=l+1 // Increase 'l' for loop condition
endloop

call DisplayTextToForce(f,"Scanning Completed") // Display massage

if GetUnitTypeId(t)=='h000' then // Checks if unit is a gard you might need to change 'h000'
  call DisplayTextToForce(f,"|cff00ff00Acess Approved") // Displays massage
  call Scanning3OG(1,gg_dest_LTg3_0000) // Opens gate
  call PauseUnit(t,false) // Upauses t
  call TriggerSleepAction(7) // Wait
  call Scanning3OG(0,gg_dest_LTg3_0000) // Close gate
else // Else
  call DisplayTextToForce(f,"|cffff0000Acces Denied") // Displays massage
  call PauseUnit(t,false) // Unpauses unit
endif

call DestroyForce(f) // Leaks from here
call DestroyBoolExpr(b)
set b=null
set f=null
set t=null
endfunction

//===========================================================================
function InitTrig_Scanning3 takes nothing returns nothing // Creates the trigger here
set gg_trg_Scanning3=CreateTrigger()
call TriggerRegisterEnterRectSimple(gg_trg_Scanning3,gg_rct_Scanning3)
call TriggerAddAction(gg_trg_Scanning3,function scanning3)
endfunction

So this is the trigger, sorry it took so long loops are acting wierd and I'm trying to fix that.

I'm working at the moment on:

  • Using function instead of 's' I tryed to do that in the first place but somthing odd was going on when I did that.
  • Adding special effect, at the moment it's only the regular system.
  • Giving an example map.
  • Instructions on importing it to your map.
  • Aye, too much work for one little system, I know. :p

Notice: But the fact I use 's' instead of function everything was made so it would be quickest as I can, thus no BJs etc. All variables cleared so shouldn't be any lag. Also this was tested so it does work. ;)
 

Miz

Administrator
Reaction score
424
Well thank you for the help :p I added Jass into it and Thank you IKilledKEnny

but no rush IKilledKEnny we have time becasue the next verison is going to have many types of scanners and crap :p
 
I

IKilledKEnny

Guest
Sure. By the way clean your PM box, can't send you any...
 

Miz

Administrator
Reaction score
424
My PM Box is empty but make sure I'm on your buddy list or you click the button on the bottom

EDIT: WTF? 2 post ...
 
I

IKilledKEnny

Guest
Nope still can't send you. Could you just post / PM your MSN / skype? (MSN better). If you don't have then maybe E-mail? Just that it would be easier to communicate if we want to keep on doing this. :)
 

Miz

Administrator
Reaction score
424
I'm getting MSN soon I have AIM (which some how you can contact MSN - AIM but anyway) [email protected] is email

_____________________________________________________
3 more points of REP for 50 Rep ... but it still says its still 25
 

Hero

─║╣ero─
Reaction score
250
Also AceHart used in his map (Hatchery Havoc) some kind of progress bar, you might want to ask him how he did it.

For the progress bar all you do is some thing like this

|||||||||||||||

and when you display it you do it in steps

you show one then clear screen show 2 then clear screen show 3 etc..
 

Miz

Administrator
Reaction score
424
Thankyou but only loap lol joking...
-------------------------------------------------------------------------
Never found out when your sick from school how empty it can be on the forums
 

Miz

Administrator
Reaction score
424
Updated: Besides the Jass Being Added back to the thread we are going to put anyother upgrades to the next verison... And because there hasn't been much suggestions lately unless you really want something to be put in I think that the muti-trigger (Different Types) of scanners will be on Verison 4

Suggestions: are still allowed and if you cant do it here you can try to PM me

Comments: PLEASE!

EDIT: Some say my PM isn't working for some reason but you can email me
Click Here
 

Sim

Forum Administrator
Staff member
Reaction score
534
This looks more like a trigger if you ask me :p

It would belong in the Free Trigger Code subforum.
 
General chit-chat
Help Users
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    New recipe is another summer dessert Berry and Peach Cheesecake - https://www.thehelper.net/threads/recipe-berry-and-peach-cheesecake.194169/

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top