Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @name Concueror v3.4 beta
- @inputs Hud:wirelink
- @outputs
- @persist Ac PN A Temp Check
- @trigger
- runOnTick(1)
- E = entity()
- O = owner()
- O:weapon():setAlpha(0)
- PUSH = O:keyAttack2()
- AIMP = O:aimEntity()
- #if(AIMP:isPlayer()) { AIMP:setEyeAngles(ang(999,-999,512)) }
- findIncludeClass("prop_physics")
- findIncludeClass("entity_*")
- findIncludeClass("player")
- FI = find()
- RL = rangerOffset(-999,O:pos(), vec(0,0,1))
- RLP = RL:pos()
- ShootV = holoEntity(75):pos() + vec(5,0,0) + owner():eye()
- AimPos = owner():aimPos()
- V = (AimPos - ShootV):normalized()
- setName("ZH VTF")
- ATT = O:keyAttack2()
- if(changed(ATT & ATT)) {Ac = !Ac}
- if(first()) {
- PN = 1
- Temp = 0
- Hud:egpClear()
- Check = 1
- holoCreate(0,E:toWorld(vec(18,0,40)),vec(1,0.1,0.1),E:toWorld(ang(12,197,-18)),vec(255))
- holoCreate(1,E:toWorld(vec(0,0,40)),vec(1,0.1,0.1),E:toWorld(ang(0,0,0)),vec(255))
- holoCreate(2,E:toWorld(vec(0,0,39.94)),vec(1,0.09,0.1),E:toWorld(ang(0,0,0)),vec(255)):setModel("models/holograms/hq_rcube_thick.mdl")
- holoCreate(4,E:toWorld(vec(6,0,39.94)),vec(0.01,0.5,0.3),E:toWorld(ang(0,0,0)),vec(255)):setModel("models/holograms/hq_rcube_thick.mdl")
- holoCreate(5,E:toWorld(vec(5.5,0,39.94)),vec(0.01,0.5,0.3),E:toWorld(ang(0,0,0)),vec(255)):setModel("models/holograms/hq_rcube_thick.mdl")
- holoCreate(6,E:toWorld(vec(5,0,39.94)),vec(0.01,0.5,0.3),E:toWorld(ang(0,0,0)),vec(255)):setModel("models/holograms/hq_rcube_thick.mdl")
- holoCreate(7,E:toWorld(vec(4.5,0,39.94)),vec(0.01,0.5,0.3),E:toWorld(ang(0,0,0)),vec(255)):setModel("models/holograms/hq_rcube_thick.mdl")
- holoCreate(8,E:toWorld(vec(4,0,39.94)),vec(0.01,0.5,0.3),E:toWorld(ang(0,0,0)),vec(255)):setModel("models/holograms/hq_rcube_thick.mdl")
- holoCreate(9,E:toWorld(vec(3.5,0,39.94)),vec(0.01,0.5,0.3),E:toWorld(ang(0,0,0)),vec(255)):setModel("models/holograms/hq_rcube_thick.mdl")
- holoCreate(10,E:toWorld(vec(3,0,39.94)),vec(0.01,0.5,0.3),E:toWorld(ang(0,0,0)),vec(255)):setModel("models/holograms/hq_rcube_thick.mdl")
- holoCreate(11,E:toWorld(vec(2.5,0,39.94)),vec(0.01,0.5,0.3),E:toWorld(ang(0,0,0)),vec(255)):setModel("models/holograms/hq_rcube_thick.mdl")
- holoCreate(12,E:toWorld(vec(2,0,39.94)),vec(0.01,0.5,0.3),E:toWorld(ang(0,0,0)),vec(255)):setModel("models/holograms/hq_rcube_thick.mdl")
- holoCreate(13,E:toWorld(vec(1.5,0,39.94)),vec(0.01,0.5,0.3),E:toWorld(ang(0,0,0)),vec(255)):setModel("models/holograms/hq_rcube_thick.mdl")
- holoCreate(14,E:toWorld(vec(1,0,39.94)),vec(0.01,0.5,0.3),E:toWorld(ang(0,0,0)),vec(255)):setModel("models/holograms/hq_rcube_thick.mdl")
- holoCreate(15,E:toWorld(vec(0.5,0,39.94)),vec(0.01,0.5,0.3),E:toWorld(ang(0,0,0)),vec(255)):setModel("models/holograms/hq_rcube_thick.mdl")
- holoCreate(16,E:toWorld(vec(0,0,39.94)),vec(0.01,0.5,0.3),E:toWorld(ang(0,0,0)),vec(255)):setModel("models/holograms/hq_rcube_thick.mdl")
- holoCreate(17,E:toWorld(vec(-0.5,0,39.94)),vec(0.01,0.5,0.3),E:toWorld(ang(0,0,0)),vec(255)):setModel("models/holograms/hq_rcube_thick.mdl")
- holoCreate(18,E:toWorld(vec(-1,0,39.94)),vec(0.01,0.5,0.3),E:toWorld(ang(0,0,0)),vec(255)):setModel("models/holograms/hq_rcube_thick.mdl")
- holoCreate(19,E:toWorld(vec(-1.5,0,39.94)),vec(0.01,0.5,0.3),E:toWorld(ang(0,0,0)),vec(255)):setModel("models/holograms/hq_rcube_thick.mdl")
- holoCreate(20,E:toWorld(vec(-2,0,39.94)),vec(0.01,0.5,0.3),E:toWorld(ang(0,0,0)),vec(255)):setModel("models/holograms/hq_rcube_thick.mdl")
- holoCreate(21,E:toWorld(vec(-2.5,0,39.94)),vec(0.01,0.5,0.3),E:toWorld(ang(0,0,0)),vec(255)):setModel("models/holograms/hq_rcube_thick.mdl")
- holoCreate(22,E:toWorld(vec(-3,0,39.94)),vec(0.01,0.5,0.3),E:toWorld(ang(0,0,0)),vec(255)):setModel("models/holograms/hq_rcube_thick.mdl")
- holoCreate(23,E:toWorld(vec(-3.5,0,39.94)),vec(0.01,0.5,0.3),E:toWorld(ang(0,0,0)),vec(255)):setModel("models/holograms/hq_rcube_thick.mdl")
- holoCreate(24,E:toWorld(vec(-4,0,39.94)),vec(0.01,0.5,0.3),E:toWorld(ang(0,0,0)),vec(255)):setModel("models/holograms/hq_rcube_thick.mdl")
- holoCreate(25,E:toWorld(vec(-4.5,0,39.94)),vec(0.01,0.5,0.3),E:toWorld(ang(0,0,0)),vec(255)):setModel("models/holograms/hq_rcube_thick.mdl")
- holoCreate(99,E:toWorld(vec(10,0,40)),vec(1,0.1,0.1),E:toWorld(ang(0,0,0)),vec(255))
- holoCreate(26,E:toWorld(vec(10,0,40)),vec(1,0.1,0.1),E:toWorld(ang(0,0,45)),vec(255))
- holoCreate(27,E:toWorld(vec(0,0,40)),vec(1,0.1,0.1),E:toWorld(ang(0,0,0)),vec(255))
- holoCreate(28,E:toWorld(vec(0,0,39.94)),vec(1,0.09,0.1),E:toWorld(ang(0,0,0)),vec(255)):setModel("models/holograms/hq_rcube_thick.mdl")
- holoCreate(29,E:toWorld(vec(16,0,39.94)),vec(0.01,0.5,0.3),E:toWorld(ang(0,0,0)),vec(255)):setModel("models/holograms/hq_rcube_thick.mdl")
- holoCreate(30,E:toWorld(vec(15.5,0,39.94)),vec(0.01,0.5,0.3),E:toWorld(ang(0,0,0)),vec(255)):setModel("models/holograms/hq_rcube_thick.mdl")
- holoCreate(31,E:toWorld(vec(15,0,39.94)),vec(0.01,0.5,0.3),E:toWorld(ang(0,0,0)),vec(255)):setModel("models/holograms/hq_rcube_thick.mdl")
- holoCreate(32,E:toWorld(vec(14.5,0,39.94)),vec(0.01,0.5,0.3),E:toWorld(ang(0,0,0)),vec(255)):setModel("models/holograms/hq_rcube_thick.mdl")
- holoCreate(33,E:toWorld(vec(14,0,39.94)),vec(0.01,0.5,0.3),E:toWorld(ang(0,0,0)),vec(255)):setModel("models/holograms/hq_rcube_thick.mdl")
- holoCreate(34,E:toWorld(vec(13.5,0,39.94)),vec(0.01,0.5,0.3),E:toWorld(ang(0,0,0)),vec(255)):setModel("models/holograms/hq_rcube_thick.mdl")
- holoCreate(35,E:toWorld(vec(13,0,39.94)),vec(0.01,0.5,0.3),E:toWorld(ang(0,0,0)),vec(255)):setModel("models/holograms/hq_rcube_thick.mdl")
- holoCreate(36,E:toWorld(vec(12.5,0,39.94)),vec(0.01,0.5,0.3),E:toWorld(ang(0,0,0)),vec(255)):setModel("models/holograms/hq_rcube_thick.mdl")
- holoCreate(37,E:toWorld(vec(12,0,39.94)),vec(0.01,0.5,0.3),E:toWorld(ang(0,0,0)),vec(255)):setModel("models/holograms/hq_rcube_thick.mdl")
- holoCreate(38,E:toWorld(vec(11.5,0,39.94)),vec(0.01,0.5,0.3),E:toWorld(ang(0,0,0)),vec(255)):setModel("models/holograms/hq_rcube_thick.mdl")
- holoCreate(39,E:toWorld(vec(11,0,39.94)),vec(0.01,0.5,0.3),E:toWorld(ang(0,0,0)),vec(255)):setModel("models/holograms/hq_rcube_thick.mdl")
- holoCreate(40,E:toWorld(vec(10.5,0,39.94)),vec(0.01,0.5,0.3),E:toWorld(ang(0,0,0)),vec(255)):setModel("models/holograms/hq_rcube_thick.mdl")
- holoCreate(41,E:toWorld(vec(10,0,39.94)),vec(0.01,0.5,0.3),E:toWorld(ang(0,0,0)),vec(255)):setModel("models/holograms/hq_rcube_thick.mdl")
- holoCreate(42,E:toWorld(vec(9.5,0,39.94)),vec(0.01,0.5,0.3),E:toWorld(ang(0,0,0)),vec(255)):setModel("models/holograms/hq_rcube_thick.mdl")
- holoCreate(43,E:toWorld(vec(9,0,39.94)),vec(0.01,0.5,0.3),E:toWorld(ang(0,0,0)),vec(255)):setModel("models/holograms/hq_rcube_thick.mdl")
- holoCreate(44,E:toWorld(vec(8.5,0,39.94)),vec(0.01,0.5,0.3),E:toWorld(ang(0,0,0)),vec(255)):setModel("models/holograms/hq_rcube_thick.mdl")
- holoCreate(45,E:toWorld(vec(8,0,39.94)),vec(0.01,0.5,0.3),E:toWorld(ang(0,0,0)),vec(255)):setModel("models/holograms/hq_rcube_thick.mdl")
- holoCreate(46,E:toWorld(vec(7.5,0,39.94)),vec(0.01,0.5,0.3),E:toWorld(ang(0,0,0)),vec(255)):setModel("models/holograms/hq_rcube_thick.mdl")
- holoCreate(47,E:toWorld(vec(7,0,39.94)),vec(0.01,0.5,0.3),E:toWorld(ang(0,0,0)),vec(255)):setModel("models/holograms/hq_rcube_thick.mdl")
- holoCreate(48,E:toWorld(vec(6.5,0,39.94)),vec(0.01,0.5,0.3),E:toWorld(ang(0,0,0)),vec(255)):setModel("models/holograms/hq_rcube_thick.mdl")
- holoCreate(49,E:toWorld(vec(6,0,39.94)),vec(0.01,0.5,0.3),E:toWorld(ang(0,0,0)),vec(255)):setModel("models/holograms/hq_rcube_thick.mdl")
- holoCreate(50,E:toWorld(vec(5,0,39.94)),vec(0.01,0.5,0.3),E:toWorld(ang(0,0,0)),vec(255)):setModel("models/holograms/hq_rcube_thick.mdl")
- for(I=4,50) { holoColor(I,vec(0,0,140)) }
- holoCreate(51,E:toWorld(vec(6,0,39.94)),vec(1.9,0.4,0.2),E:toWorld(ang(0,0,0)),vec(255)):setModel("models/holograms/hq_rcube_thick.mdl")
- holoAlpha(51,200)
- # holoCreate(52,E:toWorld(vec(21,0,37)),vec(1,0.07,0.09),E:toWorld(ang(30,0,0)),vec(110,110,110))
- holoCreate(53,E:toWorld(vec(5.5,0,41.9)),vec(1.8,0.5,0.1),E:toWorld(ang(0,0,0)),vec(160))
- # holoCreate(54,E:toWorld(vec(18.9,0,39.5)),vec(0.7,0.5,0.1),E:toWorld(ang(38.7,0,0)),vec(160)):setModel("")
- holoCreate(55,E:toWorld(vec(5.5,0,39)),vec(0.5,0.2,1.8),E:toWorld(ang(0,90,90)),vec(160)):setModel("models/holograms/hq_rcylinder_thin.mdl")
- holoCreate(56,E:toWorld(vec(4,0,40)),vec(0.2,0.2,1.7),E:toWorld(ang(0,90,90)),vec(255)):setModel("models/holograms/hq_tube.mdl")
- holoMaterial(56,"debug/env_cubemap_model")
- holoCreate(57,E:toWorld(vec(6.2,2.3,40.4)),vec(0.05,0.05,1.8),E:toWorld(ang(0,90,90)),vec(160)):setModel("models/holograms/hq_rcylinder_thin.mdl")
- holoCreate(58,E:toWorld(vec(6.2,-2.3,40.4)),vec(0.05,0.05,1.8),E:toWorld(ang(0,90,90)),vec(160)):setModel("models/holograms/hq_rcylinder_thin.mdl")
- holoCreate(59,E:toWorld(vec(5.5,0,43)),vec(0.2,0.18,0.06),E:toWorld(ang(0,0,-90)),vec(160)):setModel("models/Mechanics/gears2/pinion_40t3.mdl")
- holoCreate(60,E:toWorld(vec(17.3,-1.5,39.9)),vec(0.3,0.05,0.2),E:toWorld(ang(20,35,0)),vec(160)):setModel("models/holograms/hq_rcube.mdl")
- holoCreate(61,E:toWorld(vec(17.3,1.5,39.9)),vec(0.3,0.05,0.2),E:toWorld(ang(20,-35,0)),vec(160)):setModel("models/holograms/hq_rcube.mdl")
- holoCreate(62,E:toWorld(vec(16.5,0,41.1)),vec(0.1,0.02,0.33),E:toWorld(ang(25,0,90)),vec(160)):setModel("models/holograms/hq_rcube.mdl")
- holoCreate(63,E:toWorld(vec(17.5,0,40.7)),vec(0.1,0.02,0.23),E:toWorld(ang(25,0,90)),vec(160)):setModel("models/holograms/hq_rcube.mdl")
- holoCreate(64,E:toWorld(vec(18.3,0,40.45)),vec(0.1,0.02,0.13),E:toWorld(ang(25,0,90)),vec(160)):setModel("models/holograms/hq_rcube.mdl")
- holoCreate(65,E:toWorld(vec(18.7,-0.5,39.18)),vec(0.06,0.01,0.18),E:toWorld(ang(15,80,15)),vec(160)):setModel("models/holograms/hq_rcube.mdl")
- holoCreate(66,E:toWorld(vec(18.7,0.5,39.18)),vec(0.06,0.01,0.18),E:toWorld(ang(15,-80,-15)),vec(160)):setModel("models/holograms/hq_rcube.mdl")
- holoCreate(67,E:toWorld(vec(18.7,0,39.18)),vec(0.06,0.01,0.18),E:toWorld(ang(0,-90,165)),vec(160)):setModel("models/holograms/hq_rcube.mdl")
- holoCreate(68,E:toWorld(vec(13,0,43.18)),vec(0.2,0.2,0.2),E:toWorld(ang(0,90,90)),vec(160)):setModel("models/holograms/hq_stube_thin.mdl")
- holoCreate(69,E:toWorld(vec(10,0,43.18)),vec(0.2,0.2,0.2),E:toWorld(ang(0,90,90)),vec(160)):setModel("models/holograms/hq_stube_thin.mdl")
- holoCreate(70,E:toWorld(vec(7,0,43.18)),vec(0.2,0.2,0.2),E:toWorld(ang(0,90,90)),vec(160)):setModel("models/holograms/hq_stube_thin.mdl")
- holoCreate(71,E:toWorld(vec(4,0,43.18)),vec(0.2,0.2,0.2),E:toWorld(ang(0,90,90)),vec(160)):setModel("models/holograms/hq_stube_thin.mdl")
- holoCreate(72,E:toWorld(vec(1,0,39.18)),vec(0.06,0.01,0.18),E:toWorld(ang(0,-90,165)),vec(160)):setModel("models/holograms/hq_rcube.mdl")
- holoCreate(73,E:toWorld(vec(1,0,43.18)),vec(0.2,0.2,0.2),E:toWorld(ang(0,90,90)),vec(160)):setModel("models/holograms/hq_stube_thin.mdl")
- holoCreate(74,E:toWorld(vec(-2,0,43.18)),vec(0.2,0.2,0.2),E:toWorld(ang(0,90,90)),vec(160)):setModel("models/holograms/hq_stube_thin.mdl")
- holoCreate(75,E:toWorld(vec(-5,0,43.05)),vec(0.3,0.1,0.1),E:toWorld(ang(0,90,90)),vec(160)):setModel("models/holograms/hq_stube_thin.mdl")
- holoCreate(76,E:toWorld(vec(15.5,0,43.05)),vec(0.3,0.1,0.1),E:toWorld(ang(0,90,90)),vec(160)):setModel("models/holograms/hq_stube_thin.mdl")
- holoCreate(77,E:toWorld(vec(17.5,0,41)),vec(0.2,0.1,0.3),E:toWorld(ang(-55,0,0)),vec(11)):setModel("models/props_junk/PropaneCanister001a.mdl")
- holoCreate(78,E:toWorld(vec(18.5,0,40.3)),vec(0.3,0.5,0.3),E:toWorld(ang(0,35,111)),vec(11)):setModel("models/props_wasteland/panel_leverHandle001a.mdl")
- holoCreate(79,E:toWorld(vec(18.5,0,40.3)),vec(0.3,0.5,0.3),E:toWorld(ang(0,-35,-111)),vec(11)):setModel("models/props_wasteland/panel_leverHandle001a.mdl")
- for(IC = 1,79) {
- holoParent(99,IC)
- holoParent(IC,0)
- }
- for(NC = 68,76) { holoColor(NC,vec(127,153,165))
- }
- #models/props_wasteland/panel_leverHandle001a.mdl
- }
- # models/holograms/right_prism.mdl
- # models/holograms/hq_tube.mdl
- # models/Mechanics/gears2/pinion_40t3.mdl
- # models/holograms/hq_rcube_thick.mdl
- # models/holograms/hq_rcube.mdl
- holoPos(0,owner():attachmentPos("anim_attachment_RH"))
- holoAng(0,owner():attachmentAng("anim_attachment_RH"))
- holoParentAttachment(0,owner(),"anim_attachment_RH")
- if(O:weapon():type()=="weapon_physgun" == 0){
- for(PP = 0,79) {
- holoAlpha(PP,0)
- holoAlpha(99,0)
- }
- }
- if(O:weapon():type()=="weapon_physgun" == 1){
- for(PP = 0,79) {
- holoAlpha(PP,255)
- holoAlpha(99,255)
- }
- }
- if(PUSH & O:weapon():type()=="weapon_physgun" & Check & PN == 1) {
- O:soundPlay(1,1,"buttons/lever7.wav")
- # if(AIMP:isPlayer())
- #{
- # AIMP:playerFreeze()
- # AIMP:pp("sharpen", "200")
- # timer("Unfr", 5000)
- #}
- timer("PUS", 400)
- PN = 0
- }
- if(clk("PUS")) {
- O:soundPlay(2,1000,"player/crit_received3.wav")
- soundPitch(2,random(35,70))
- O:setdLight(vec(random(255,0), random(0,255), random(0,255)), 25, 50)
- timer("WRK", 500)
- Entity = entitySpawn("hunter_flechette",ShootV,ang(0,90,0),0)
- Entity:setMass(50000)
- #Entity:ignite(100)
- #crossbow_bolt
- #hunter_flechette
- #grenade_helicopter
- #rpg_missile
- #grenade_ar2
- Entity:setTrails(4,0.1,0.8,"trails/laser",vec(random(255,0),random(0,255),175),240)
- particle(0.7,15,1,"effects/strider_pinch_dudv", vec(0,0,255),holoEntity(75):pos() + vec(0,0,-2), vec(0,0,0))
- Entity:propFreeze(0)
- Entity:setVel(V * 5000)
- Entity:setAng(O:eyeAngles())
- }
- runOnTick(1)
- if(clk("WRK")) { PN = 1
- O:dLightRemove()
- O:soundPlay(1,1000,"player/recharged.wav")
- Temp = Temp + 5
- timer("TmpDown",3000)
- }
- if(Temp > 100) {
- Temp = 100 }
- if(Temp<0) { Temp = 0 }
- if(Temp == 100) {
- timer("TOdwn", random(10000,15000))
- Check = 0
- }
- if(clk("TOdwn")) { Temp = Temp - Temp/Temp + 1 }
- if(findInSphere(Entity:pos(), 100)){
- FI:setVel(FI:up() * 50)
- FI:takeDamage(100,noentity(), noentity())
- FI:ignite(1000)
- }
- if(O:keyReload() == 1)
- {
- cameraCreate(1,O:shootPos() + vec(0,0,85),O:eyeAngles(), 100)
- cameraToggle(1,1)
- cameraZoom(1,-170)
- setFOV(-150)
- crosshair(255)
- }
- if(O:keyReload() == 0)
- {
- cameraRemove(1)
- }
- gSetGroup("Owner")
- if(clk("Unfr"))
- {
- AIMP:playerUnFreeze()
- AIMP:pp("sharpen", "0")
- }
- Hud:egpText(1,""+Temp, vec2(1024,520))
- Hud:egpSize(1,35)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement