+ Reply to Thread
Page 1 of 7 1 2 3 ... LastLast
Results 1 to 10 of 68

Thread: Holo madness

  1. #1
    Wire Sofaking Unsmart will become famous soon enough Unsmart's Avatar
    Join Date
    Dec 2008
    Location
    Slovakia OR BANland
    Posts
    1,169

    Default Holo madness

    PLEASE, CLICK ON THE TEXT ABOVE THE VIDEO TO PLAY IT! EMBED DOESN'T WORK HERE!



    Hello, recently I have been working a lot with the E2 holograms and this is the result:

    Holo helicopter
    Controlls:
    Pilot:WASD, shift up, alt down, space is airbrake, R toggles engine
    Gunner: space for crosshairs, mouse 1 fire AA guns, mouse 2 fire rockets, mouse wheel up cycles rockets (visible on front hud panel), F to lock target (smart lock settings), R to lock rockets

    It is 31 props and 32 constraints, ~26 holograms, 1 turret, 4 rocket mounts. Rockets are part of dup. The heli was duped and spawned max. 4 times, so the dup. damage should be 0.

    The heli must be spawned at [0,0,0] angle for the holograms to work correctly (could be fixed later with E:toWorld(A))

    This heli is incredibly easy to control, the rockets are fast and powerful, auto destructing after use, or switching off if entity is null, they are wireless, triggered by signals and target is fed to it by global variables.

    CREDITS TO Generic Default for the heli CHASY
    And yes, no picky, no clicky: (video in this case)
    Click here to play.


    Holo Buddy

    This is exactly like Maso?s Bubble buddy, but remade into holograms. It has 4 expressions, another one for talking:
    Speaking in chat: opens/closes moth for every word (string explode)
    Mic: opens mouth every 500miliseconds (runOnKey(?G?))

    Commands (expressions):
    /evil --
    /evil++ --I love this expression in text: >
    /surprise ?default expression for speaking
    /smile ?default

    Video:

    Holo buddy

    Holo toaster

    Yes, I noticed you guys got a thing about toasters, so I made one for you! It is a double waffle toaster made out of holograms. It grabs nearest 2 waffles, and starts to cook them, when they are cooked, it will spit them out (can be changed to frozen only). The hologram changes color 5 times during cooking, and of course, the final waffle has the final color.

    Video:
    holo toaster II

    And yes, important part, the dups or E2 codes:
    bubble buddy (make sure to spawn it on ground and that its flat)

    E2 Code:
    1. @name holo face
    2. @inputs
    3. @outputs Done Clk Speak Times Mod Max Mic
    4. @persist
    5. @trigger
    6. Clk= chatClk(owner())
    7. Ls= owner():lastSaid()
    8. Ls= Ls:lower()
    9. Mic= key("X")
    10. if(Clk)
    11. {
    12. Ar= Ls:explode(" ")
    13. Max= Ar:count()*2
    14.  
    15. }
    16. if(Done==0)
    17. {
    18. if(first())
    19. {
    20. I=1
    21. #for(I=1,I<=15,1)
    22. while(I<=19)
    23. {
    24. holoCreate(I)
    25. #print(I+"")
    26. I++
    27. }
    28. #1=body
    29. #2,3= big eyes
    30. #5,6= small eyes
    31. #4,13= mouth
    32. #7,8=eye brows
    33. #9=nose
    34. #hairs: 10~18
    35. #D mouth: 19
    36.  
    37. }
    38. H1= holoEntity(1)
    39.  
    40. #position
    41. holoPos(1,H1:pos()+vec(0,0,40))
    42. holoPos(2,H1:toWorld(vec(25, 13,10)))
    43. holoPos(3,H1:toWorld(vec(25,-13,10)))
    44. holoPos(4,H1:toWorld(vec(29,0,-12)))
    45. holoPos(5,H1:toWorld(vec(30, 13,10)))
    46. holoPos(6,H1:toWorld(vec(30,-13,10)))
    47. holoPos(7,H1:toWorld(vec(22,-13,19)))
    48. holoPos(8,H1:toWorld(vec(22, 13,19)))
    49. holoPos(9,H1:toWorld(vec(30, 0,0)))
    50. holoPos(10,H1:toWorld(vec(10, 0,30)))
    51. holoPos(11,H1:toWorld(vec(10, 10,30)))
    52. holoPos(12,H1:toWorld(vec(10,-10,30)))
    53. holoPos(13,H1:toWorld(vec(29,0,-12)))
    54. holoPos(14,H1:toWorld(vec(-5,5,30)))
    55. holoPos(15,H1:toWorld(vec(-5,-5,30)))
    56.  
    57. holoPos(16,H1:toWorld(vec(-15,-10,30)))
    58. holoPos(17,H1:toWorld(vec(-15,-0,30)))
    59. holoPos(18,H1:toWorld(vec(-15,10,30)))
    60.  
    61. holoPos(19,H1:toWorld(vec(29,0,-14.5)))
    62. #angle
    63. holoAng(7,ang(30,90,0))
    64. holoAng(8,ang(-30,90,0))
    65.  
    66. holoAng(4,ang(0,90,0))#-15
    67.  
    68. holoAng(10,ang(80,0,0))
    69. holoAng(11,ang(80,0,0))
    70. holoAng(12,ang(80,0,0))
    71.  
    72. holoAng(13,ang(90,0,0))
    73.  
    74. holoAng(14,ang(80,0,0))
    75. holoAng(15,ang(80,0,0))
    76. holoAng(16,ang(80,0,0))
    77. holoAng(17,ang(80,0,0))
    78. holoAng(18,ang(80,0,0))
    79.  
    80. holoAng(19,ang(90,0,0))
    81. #material
    82. holoMaterial(1,"models/shiny")
    83. holoMaterial(2,"models/shiny")
    84. holoMaterial(3,"models/shiny")
    85. holoMaterial(7,"models/shiny")
    86. holoMaterial(8,"models/shiny")
    87. holoMaterial(9,"models/shiny")
    88. #holoMaterial(13,"models/shiny")
    89. #holoMaterial(19,"models/shiny")
    90.  
    91. #scale
    92. holoScale(1,vec(5,5,5))
    93. holoScale(4,vec(1,0.2,0.2))
    94. holoScale(5,vec(0.5,0.5,0.5))
    95. holoScale(6,vec(0.5,0.5,0.5))
    96. holoScale(7,vec(0.6,0.2,0.2))
    97. holoScale(8,vec(0.6,0.2,0.2))
    98. holoScale(9,vec(0.5,0.5,0.5))
    99. holoScale(10,vec(1,0.2,0.2))
    100. holoScale(11,vec(1,0.2,0.2))
    101. holoScale(12,vec(1,0.2,0.2))
    102. holoScale(14,vec(1,0.2,0.2))
    103. holoScale(15,vec(1,0.2,0.2))
    104. holoScale(16,vec(1,0.2,0.2))
    105. holoScale(17,vec(1,0.2,0.2))
    106. holoScale(18,vec(1,0.2,0.2))
    107.  
    108. holoScale(19,vec(0.65,1,0.2))
    109. #model
    110. holoModel(1,"hqicosphere2")
    111. holoModel(2,"hqicosphere2")
    112. holoModel(3,"hqicosphere2")
    113. holoModel(5,"hqicosphere2")
    114. holoModel(6,"hqicosphere2")
    115. holoModel(9,"hqcylinder")
    116. holoModel(13,"hqtorus2")
    117.  
    118. holoModel(19,"cylinder")
    119. #color
    120.  
    121. Red= vec(255,0,0)
    122. White= vec(255,255,255)
    123. Black=vec()
    124. Yel= vec(255,255,0)
    125. Brown= vec(80,40,40)
    126.  
    127. holoColor(1,Yel)
    128. holoColor(4,Red)
    129. holoColor(5,Black)
    130. holoColor(6,Black)
    131. holoColor(7,Brown)
    132. holoColor(8,Brown)
    133.  
    134. holoColor(10,Black)
    135. holoColor(11,Black)
    136. holoColor(12,Black)
    137. holoColor(14,Black)
    138. holoColor(15,Black)
    139. holoColor(16,Black)
    140. holoColor(17,Black)
    141. holoColor(18,Black)
    142. holoColor(13,Red)
    143. holoColor(19,Red)
    144.  
    145. holoAlpha(13,0)
    146. #holoAlpha(4,0)
    147.  
    148. #parent
    149. I=2
    150. while(I<=19)
    151. {
    152. holoParent(I,1)
    153. I++
    154. }
    155. #holoParent(1,owner())
    156. #holoPos(1,owner():shootPos())
    157. runOnChat(1)
    158. Done=1
    159.  
    160.  
    161. Me=owner()
    162. #holoPos(1,(Me:shootPos()))
    163. #holoAng(1,ang(0,Me:angles():yaw(),0))#
    164. runOnTick(1)
    165.  
    166. runOnKey("X")
    167. #runOnKey("W")
    168. #runOnKey("S")
    169. #runOnKey("LCONTROL")#for height -50
    170. }
    171. if(tickClk())
    172. {
    173. Me=owner()
    174. holoPos(1,Me:pos()+vec(0,0,45))
    175. holoAng(1,ang(Me:eye():z()*-45,Me:angles():yaw(),0))
    176. holoParent(1,owner())
    177. }
    178.  
    179. if(Clk)
    180. {
    181. Speak=0
    182. H1= holoEntity(1)
    183. holoAng(4,ang(0,holoEntity(4):angles():yaw(),0))
    184. holoScale(7,vec(0.6,0.2,0.2))
    185. holoScale(8,vec(0.6,0.2,0.2))
    186.  
    187. holoPos(7,H1:toWorld(vec(22,-13,19)))
    188. holoPos(8,H1:toWorld(vec(22, 13,19)))
    189.  
    190. if(Ls=="/smile")
    191. {
    192. holoAlpha(13,0)
    193. holoAlpha(4,255)
    194. holoAlpha(19,255)
    195. holoAng(7,ang(0,holoEntity(7):angles():yaw(),0))
    196. holoAng(8,ang(0,holoEntity(8):angles():yaw(),0))
    197. }
    198. elseif(Ls=="/suprise")
    199. {
    200. holoAng(7,ang(30,holoEntity(7):angles():yaw(),0))
    201. holoAng(8,ang(0,holoEntity(8):angles():yaw(),0))
    202. holoAlpha(4,0)
    203. holoAlpha(19,0)
    204. holoAlpha(13,255)
    205. }
    206. elseif(Ls=="/evil")
    207. {
    208. holoAlpha(13,0)
    209. holoAlpha(4,255)
    210. holoAlpha(19,0)#the | is better than |D
    211.  
    212. holoAng(7,ang(30,holoEntity(7):angles():yaw(),0))
    213. holoAng(8,ang(-30,holoEntity(8):angles():yaw(),0))
    214. holoAng(4,ang(-15,holoEntity(4):angles():yaw(),0))
    215. }
    216. elseif(Ls=="/evil++") #>|D
    217. {
    218. holoAlpha(13,0)
    219. holoAlpha(4,255)
    220. holoAlpha(19,0)
    221.  
    222. holoAng(7,ang(30,holoEntity(7):angles():yaw(),0))
    223. holoAng(8,ang(-30,holoEntity(8):angles():yaw(),0))
    224. holoAng(4,ang(-15,holoEntity(4):angles():yaw(),0))
    225.  
    226. holoScale(7,vec(1.8,0.2,0.2))
    227. holoScale(8,vec(1.8,0.2,0.2))
    228.  
    229.  
    230. holoPos(7,H1:toWorld(vec(25,-13,19)))
    231. holoPos(8,H1:toWorld(vec(25, 13,19)))
    232.  
    233. }
    234. else
    235. {
    236. Speak=1
    237.  
    238. }
    239.  
    240. }
    241. if(changed(Mic)&Mic)
    242. {
    243. interval(100)
    244. }
    245. if(changed(Mic)&!Mic)
    246. {
    247. interval(0)
    248. Mod=1
    249.  
    250.  
    251. }
    252. if(Speak|Mic)
    253. {
    254. runOnChat(0)
    255. timer("Speak",500)
    256. }
    257. if(clk("Speak"))
    258. {
    259. Times++
    260.  
    261. }
    262. if(changed(Times)&Times&Done)
    263. {
    264. if(Times>=Max&!Mic)
    265. {
    266. Times=0
    267. Speak=0
    268. stoptimer("Speak")
    269. CLk=0
    270. runOnChat(1)
    271. Mod=1
    272. }
    273.  
    274. if(Mod)
    275. {
    276. holoAlpha(4,255)
    277. holoAlpha(13,0)
    278. holoAlpha(19,255)
    279.  
    280. }
    281. else
    282. {
    283. holoAlpha(4,0)
    284. holoAlpha(13,255)
    285. holoAlpha(19,0)
    286. }
    287. Mod=!Mod
    288.  
    289. }
    290. if(changed(Times)&Times==0&clk("Speak"))
    291. {
    292.  
    293. stoptimer("Speak")
    294. runOnChat(1)
    295. Max=0
    296. }

    Toaster:
    E2 Code:
    1. @name
    2. @inputs
    3. @outputs &#91;Find Wafles]:array Cook Phase Col:vector
    4. @persist
    5. @trigger
    6. interval(200)
    7. if(first())
    8. {
    9. Wafles1=array()
    10. for(I=1,6)
    11. {
    12.  
    13. holoCreate(I)
    14. holoColor(I,vec(100,100,100))
    15. if(I<3|I==6)
    16. {
    17. holoScale(I,vec(1.5,2,0.2))
    18. holoAng(I,ang(90,0,0))
    19. }
    20. elseif(I>2&I<5)
    21. {
    22. holoScale(I,vec(1.5,1,0.2))
    23. holoAng(I,ang(90,90,0))
    24. #holoAlpha(I,0)
    25.  
    26. }
    27. else
    28. {
    29. holoScale(I,vec(2,1,0.2))
    30. holoAng(I,ang(0,90,0))
    31. }
    32. }
    33.  
    34.  
    35. H1= holoEntity(1)
    36. H5= holoEntity(5)
    37. H3= holoEntity(3)
    38. holoPos(1,H1:toWorld(vec(0,0,-4.9)))
    39. holoPos(2,H1:toWorld(vec(0,0, 4.9*2)))#multiplication anyone?
    40. holoPos(4,H3:toWorld(vec(0,0,11)))
    41. holoPos(3,H3:toWorld(vec(0,0,-11)))
    42. holoPos(5,H5:toWorld(vec(0,0,-9)))
    43.  
    44. }
    45. if(clk()&!Cook)
    46. {
    47. findByModel("models/waffle.mdl")
    48. findClipToClass("waffle")
    49. findSortByDistance(entity():pos())
    50. Find= findToArray()
    51.  
    52. Wafles=array()
    53.  
    54. for(I=1,Find:count())
    55. {
    56. This= Find&#91;I,entity]
    57. if((This:pos()-entity():pos()):length()<30)
    58. {
    59. if(Wafles:count()<2)
    60. {
    61. Wafles:pushEntity(This)
    62. This:setAlpha(0)
    63. This:propFreeze(1)
    64.  
    65. }
    66. if(Wafles:count()>=2)
    67. {
    68. Cook=1
    69. print("cook")
    70. timer("cook",5000)
    71. break
    72. }
    73. if(Wafles:count()==1)
    74. {
    75. H1=holoEntity(1)
    76. holoCreate(8)
    77. holoModelAny(8,"models/waffle.mdl")
    78. #holoScale(8,vec(1,1,0.1))
    79. holoAng(8,ang(90,0,0))
    80. holoPos(8,H1:toWorld(vec(-2,0,7.5)))
    81. }
    82. }
    83. else
    84. {
    85. #This:setAlpha(255)
    86. }
    87. }
    88.  
    89. }
    90.  
    91. if(Cook&clk("cook"))
    92. {
    93. Cook=-1
    94. print("cooked")
    95. }
    96. if(clk("throw"))
    97. {
    98. Wafles&#91;1,entity]:propRotate(ang(0,180,0))
    99. Wafles&#91;2,entity]:propRotate(ang(0,180,0))
    100.  
    101. Wafles&#91;1,entity]:tele(holoEntity(8):pos())
    102. Wafles&#91;2,entity]:tele(holoEntity(9):pos())
    103.  
    104. holoDelete(8)
    105. holoDelete(9)
    106.  
    107. Wafles&#91;1,entity]:setAlpha(255)
    108. Wafles&#91;2,entity]:setAlpha(255)
    109.  
    110. Wafles&#91;1,entity]:setColor(vec(137,119,119))
    111. Wafles&#91;2,entity]:setColor(vec(137,119,119))
    112.  
    113. Wafles&#91;1,entity]:propFreeze(0)
    114. Wafles&#91;2,entity]:propFreeze(0)
    115.  
    116.  
    117.  
    118.  
    119.  
    120. Wafles&#91;1,entity]:applyForce(vec(0,0,50))
    121. Wafles&#91;2,entity]:applyForce(vec(0,0,50))
    122.  
    123. timer("dis throw",2000)
    124.  
    125.  
    126. }
    127.  
    128. if(clk("dis throw"))
    129. {
    130. Cook=0
    131. }
    132. if(changed(Cook)&Cook==1)
    133. {
    134. #H1=holoEntity(1)
    135. holoCreate(8)
    136. holoModelAny(8,"models/waffle.mdl")
    137. #holoScale(8,vec(1,1,0.1))
    138. holoAng(8,ang(90,0,0))
    139. holoPos(8,H1:toWorld(vec(-2,0,7.5)))
    140.  
    141. holoCreate(9)
    142. holoModelAny(9,"models/waffle.mdl")
    143. #holoScale(9,vec(1,1,0.1))
    144. holoAng(9,ang(90,0,0))
    145. holoPos(9,H1:toWorld(vec(-2,0,2.3)))
    146. Phase=1
    147. }
    148. if(Phase){timer("phaser",1000)}
    149. if(changed(Cook)&Cook==-1&!first())
    150. {
    151. #holoDelete(8)
    152. #holoDelete(9)
    153. H1=holoEntity(1)
    154. holoPos(8,H1:toWorld(vec(-7,0,7.5)))
    155. holoPos(9,H1:toWorld(vec(-7,0,2.3)))
    156. timer("throw",1000)
    157. }
    158.  
    159. if(clk("phaser"))
    160. {
    161. #if(Phase==0){Col=vec(255,255,255)}
    162. Phase++
    163. if(Phase==1){Col=vec(255,255,255)}
    164. if(Phase==2){Col=vec(150,130,130)}
    165. if(Phase>=4){Col=vec(137,119,119) Phase=0 stoptimer("phaser")}
    166. holoColor(8,Col)
    167. holoColor(9,Col)
    168. }
    no holomodelAny toaster:
    E2 Code:
    1. @name
    2. @inputs
    3. @outputs &#91;Find Wafles]:array Cook
    4. @persist
    5. @trigger
    6. interval(200)
    7. if(first())
    8. {
    9. Wafles1=array()
    10. for(I=1,6)
    11. {
    12.  
    13. holoCreate(I)
    14. holoColor(I,vec(100,100,100))
    15. if(I<3|I==6)
    16. {
    17. holoScale(I,vec(1.5,2,0.2))
    18. holoAng(I,ang(90,0,0))
    19. }
    20. elseif(I>2&I<5)
    21. {
    22. holoScale(I,vec(1.5,1,0.2))
    23. holoAng(I,ang(90,90,0))
    24. #holoAlpha(I,0)
    25.  
    26. }
    27. else
    28. {
    29. holoScale(I,vec(2,1,0.2))
    30. holoAng(I,ang(0,90,0))
    31. }
    32. }
    33.  
    34.  
    35. H1= holoEntity(1)
    36. H5= holoEntity(5)
    37. H3= holoEntity(3)
    38. holoPos(1,H1:toWorld(vec(0,0,-4.9)))
    39. holoPos(2,H1:toWorld(vec(0,0, 4.9*2)))#multiplication anyone?
    40. holoPos(4,H3:toWorld(vec(0,0,11)))
    41. holoPos(3,H3:toWorld(vec(0,0,-11)))
    42. holoPos(5,H5:toWorld(vec(0,0,-9)))
    43.  
    44. }
    45. if(clk()&!Cook)
    46. {
    47. findByModel("models/hunter/plates/plate025x025.mdl")
    48. findSortByDistance(entity():pos())
    49. Find= findToArray()
    50.  
    51. Wafles=array()
    52.  
    53. for(I=1,Find:count())
    54. {
    55. This= Find&#91;I,entity]
    56. if((This:pos()-entity():pos()):length()<30)
    57. {
    58. if(Wafles:count()<2)
    59. {
    60. Wafles:pushEntity(This)
    61. This:setAlpha(0)
    62. This:propFreeze(1)
    63.  
    64. }
    65. if(Wafles:count()>=2)
    66. {
    67. Cook=1
    68. print("cook")
    69. timer("cook",5000)
    70. break
    71. }
    72. if(Wafles:count()==1)
    73. {
    74. H1=holoEntity(1)
    75. holoCreate(8)
    76. holoScale(8,vec(1,1,0.1))
    77. holoAng(8,ang(90,0,0))
    78. holoPos(8,H1:toWorld(vec(-2,0,7.5)))
    79. }
    80. }
    81. else
    82. {
    83. This:setAlpha(255)
    84. }
    85. }
    86.  
    87. }
    88.  
    89. if(Cook&clk("cook"))
    90. {
    91. Cook=-1
    92. print("cooked")
    93. }
    94. if(clk("throw"))
    95. {
    96. holoDelete(8)
    97. holoDelete(9)
    98.  
    99. Wafles&#91;1,entity]:setAlpha(255)
    100. Wafles&#91;2,entity]:setAlpha(255)
    101.  
    102. Wafles&#91;1,entity]:setColor(vec(50,10,10))
    103. Wafles&#91;2,entity]:setColor(vec(50,10,10))
    104.  
    105. Wafles&#91;1,entity]:propFreeze(0)
    106. Wafles&#91;2,entity]:propFreeze(0)
    107.  
    108. Wafles&#91;1,entity]:propRotate(ang(90,0,0))
    109. Wafles&#91;2,entity]:propRotate(ang(90,0,0))
    110.  
    111. Wafles&#91;1,entity]:tele(vec(0,0,50)+entity():pos())
    112. Wafles&#91;2,entity]:tele(vec(0,0,50)+entity():pos())
    113.  
    114. Wafles&#91;1,entity]:applyForce(vec(0,0,150))
    115. Wafles&#91;2,entity]:applyForce(vec(0,0,100))
    116.  
    117. timer("dis throw",2000)
    118.  
    119.  
    120. }
    121. if(clk("dis throw"))
    122. {
    123. Cook=0
    124. }
    125. if(changed(Cook)&Cook==1)
    126. {
    127. #H1=holoEntity(1)
    128. holoCreate(8)
    129. holoScale(8,vec(1,1,0.1))
    130. holoAng(8,ang(90,0,0))
    131. holoPos(8,H1:toWorld(vec(-2,0,7.5)))
    132.  
    133. holoCreate(9)
    134. holoScale(9,vec(1,1,0.1))
    135. holoAng(9,ang(90,0,0))
    136. holoPos(9,H1:toWorld(vec(-2,0,2.3)))
    137. }
    138. if(changed(Cook)&Cook==-1&!first())
    139. {
    140. #holoDelete(8)
    141. #holoDelete(9)
    142. H1=holoEntity(1)
    143. holoPos(8,H1:toWorld(vec(-7,0,7.5)))
    144. holoPos(9,H1:toWorld(vec(-7,0,2.3)))
    145. timer("throw",1000)
    146. }
    all contraptions done by Unsmart

    extensions used:

    E:tele(V)//from prop core, only renamed
    E:freeze(N)//prop core EropFreeze(N)
    Snuffys key extension (bubbly budy mic detection)
    holomodelAny(N,S) for helicopter and toaster, however toaster can be easily remade back to def. holo models.


    If you cant stand my voice, mute the volume!
    Rocket code explained, please open the dup file for the E2
    Holo heli rockets detailed+code explained



    Credits:
    Emperus- for being the model in my holo buddy video and others too.
    Raj - holo buddy video


    the ***** video, sadly got removed, but you can find it at unsmart
    its named as this thread. holo madness, notice the warning, rated M for mature.

    Please update your helicopter with the following patch:
    new patch:
    e2 Code:
    1. @name holo spawner patch 1.2
    2. @inputs This:entity
    3. @outputs
    4. @persist &#91;Col Mdl Ang Pos]:array
    5. @trigger
    6. Ths=entity():isConstrainedTo()
    7. if(first()){timer("dr",500)}
    8. if(duped()){timer("dr",10000)}
    9. if(clk("dr"))
    10. {
    11. Col:pushVector4(vec4(150,150,150,255))
    12. Col:pushVector4(vec4(150,150,150,255))
    13. Col:pushVector4(vec4(150,150,150,255))
    14. Col:pushVector4(vec4(150,150,150,255))
    15. Col:pushVector4(vec4(150,150,150,255))
    16. Col:pushVector4(vec4(150,150,150,255))
    17. Col:pushVector4(vec4(150,150,150,100))
    18. Col:pushVector4(vec4(150,150,150,255))
    19. Col:pushVector4(vec4(150,150,150,255))
    20. Col:pushVector4(vec4(150,150,150,100))
    21. Col:pushVector4(vec4(255,255,255,255))
    22. Col:pushVector4(vec4(150,150,150,255))
    23. Col:pushVector4(vec4(150,150,150,255))
    24. Col:pushVector4(vec4(150,150,150,255))
    25. Col:pushVector4(vec4(150,150,150,255))
    26. Mdl:pushString("models/hunter/blocks/cube05x1x025.mdl")
    27. Mdl:pushString("models/hunter/blocks/cube05x6x025.mdl")
    28. Mdl:pushString("models/hunter/triangles/2x2.mdl")
    29. Mdl:pushString("models/hunter/triangles/1x1x2carved025.mdl")
    30. Mdl:pushString("models/hunter/blocks/cube05x1x025.mdl")
    31. Mdl:pushString("models/hunter/triangles/1x1x2carved025.mdl")
    32. Mdl:pushString("models/hunter/tubes/tube2x2x1d.mdl")
    33. Mdl:pushString("models/hunter/blocks/cube1x2x05.mdl")
    34. Mdl:pushString("models/hunter/plates/tri2x1.mdl")
    35. Mdl:pushString("models/hunter/plates/plate1x4.mdl")
    36. Mdl:pushString("models/expression 2/cpu_processor_mini.mdl")
    37. Mdl:pushString("models/hunter/blocks/cube1x2x1.mdl")
    38. Mdl:pushString("models/hunter/triangles/2x2x1.mdl")
    39. Mdl:pushString("models/hunter/plates/tri2x1.mdl")
    40. Mdl:pushString("models/hunter/triangles/2x2.mdl")
    41. Pos:pushVector(vec(-0.033815935254097,-90.65503692627,59.310161590576))
    42. Pos:pushVector(vec(-0.32846355438232,318.10794067383,52.124401092529))
    43. Pos:pushVector(vec(-22.228782653809,-70.725456237793,71.186225891113))
    44. Pos:pushVector(vec(71.174072265625,0.40428000688553,55.274406433105))
    45. Pos:pushVector(vec(0.01979486271739,-183.85208129883,35.586132049561))
    46. Pos:pushVector(vec(-71.17529296875,0.44754382967949,55.276378631592))
    47. Pos:pushVector(vec(0.010839958675206,-189.81394958496,23.72477722168))
    48. Pos:pushVector(vec(0.022324655205011,-71.710113525391,35.585632324219))
    49. Pos:pushVector(vec(23.700416564941,-144.03576660156,47.432975769043))
    50. Pos:pushVector(vec(-0.26127296686172,-114.77420043945,92.86962890625))
    51. Pos:pushVector(vec(24.007202148438,0.01594590768218,-0.024416765198112))
    52. Pos:pushVector(vec(5.9317650794983,0.45241260528564,71.201171875))
    53. Pos:pushVector(vec(-0.023165673017502,71.623229980469,71.174133300781))
    54. Pos:pushVector(vec(-20.772850036621,-144.03733825684,47.415405273438))
    55. Pos:pushVector(vec(22.174781799316,-70.727058410645,71.221374511719))
    56. Ang:pushAngle(ang(-90,90,0))
    57. Ang:pushAngle(ang(0,0,15))
    58. Ang:pushAngle(ang(90,-180,0))
    59. Ang:pushAngle(ang(45,90,90))
    60. Ang:pushAngle(ang(-90,-90,0))
    61. Ang:pushAngle(ang(45,-90,90))
    62. Ang:pushAngle(ang(90,0,0))
    63. Ang:pushAngle(ang(0,0,0))
    64. Ang:pushAngle(ang(0,-90,90))
    65. Ang:pushAngle(ang(0,0,16))
    66. Ang:pushAngle(ang(90,0,0))
    67. Ang:pushAngle(ang(0,-90,90))
    68. Ang:pushAngle(ang(0,0,0))
    69. Ang:pushAngle(ang(0,-90,90))
    70. Ang:pushAngle(ang(90,-180,0))
    71.  
    72. for(I=1,Col:count())
    73. {
    74. if(Mdl&#91;I,string]:find("expression")){continue}
    75. holoCreate(I)
    76. #holoScaleUnits(I,Cur:boxSize()/vec(2,2,0.5))#for use with model, not any model
    77. holoAng(I,Ths:toWorld(Ang&#91;I,angle]))
    78. #holoPos(I,Ths:toWorld(This:toLocal(Cur:pos())))#maybe let copier do it
    79. holoPos(I,Ths:toWorld(Pos&#91;I,vector]))#works, less constriant on e2 CPu power
    80. holoModelAny(I,Mdl&#91;I,string])
    81. holoParent(I,Ths)
    82. holoColor(I,vec(Col&#91;I,vector4]))
    83. holoAlpha(I,Col&#91;I,vector4]:w())
    84. }
    85.  
    86. }
    Rocket code here, please note that when placing rockets, they must be named correctly:
    from right to left:
    R2 R1 ||L1 L2
    e2 Code:
    1. @name
    2. @inputs
    3. @outputs Th Vec V:vector Boom Tar:entity
    4. @persist
    5. @trigger
    6. signalClearOnRemove()
    7. runOnSignal("rocketL2",0,1)
    8. gSetGroup("target")
    9. Tar=gGetEnt()
    10. if(first()|duped()){Th=Vec=0 exit()}
    11. if(signalClk())
    12. {
    13. Th=1
    14. Vec=0
    15. timer("phase 2",1000)
    16. #Heading=entity():isConstrainedTo():angles()
    17.  
    18. }
    19. #if(tickClk()&Th&!Vec){Cons:rotate(Heading)}
    20. if(clk("phase 2"))
    21. {
    22. Vec=1
    23. runOnTick(1)
    24. }
    25. if(Vec)
    26. {
    27. V=(Tar:pos()-entity():pos())
    28. applyForce(V*1000)
    29. }
    30. if(V:length()<100&Vec)
    31. {
    32. Boom=1
    33. timer("destruct",50)
    34. }
    35. if(clk("destruct")){selfDestruct()}
    36. if(!Tar){Vec=Th=0 runOnTick(0)}
    Attached Images
    Attached Files
    Last edited by Unsmart; 10-02-2009 at 05:19 AM.

  2. #2
    Lurker Emperus is on a distinguished road Emperus's Avatar
    Join Date
    Jul 2009
    Posts
    5

    Default Re: Holo madness

    Lol, this was so fun to do, nice to see it is finally out here

  3. #3
    Lurker xpxxpx is on a distinguished road xpxxpx's Avatar
    Join Date
    May 2009
    Location
    Gm_atomic
    Posts
    46

    Default Re: Holo madness

    :




    Last edited by xpxxpx; 10-10-2009 at 05:42 PM.

  4. #4
    Lurker Marshmellow is on a distinguished road Marshmellow's Avatar
    Join Date
    Dec 2008
    Location
    Nebraska
    Posts
    32

    Default Re: Holo madness

    Didn't Generic Default make the original heli? It seems like the helicopter in your video is pretty much exactly like his.
    When I die, I want to go peacefully like my Grandfather did, in his sleep -- not screaming, like the passengers in his car.

  5. #5
    Wire Sofaking oenmaster is an unknown quantity at this point oenmaster's Avatar
    Join Date
    Jan 2008
    Location
    fak where is my satnav (NL)
    Posts
    753

    Default Re: Holo madness

    why so angry ?

  6. #6
    Lurker Marshmellow is on a distinguished road Marshmellow's Avatar
    Join Date
    Dec 2008
    Location
    Nebraska
    Posts
    32

    Default Re: Holo madness

    Quote Originally Posted by oenmaster View Post
    why so angry ?
    I'm not. I'm just curious as to how they ended up looking exactly the same. Or were you referring to xpxxpx?
    Last edited by Marshmellow; 09-19-2009 at 02:46 PM.
    When I die, I want to go peacefully like my Grandfather did, in his sleep -- not screaming, like the passengers in his car.

  7. #7
    Spucatum Tauri Bull is a splendid one to behold Bull is a splendid one to behold Bull is a splendid one to behold Bull is a splendid one to behold Bull is a splendid one to behold Bull is a splendid one to behold Bull is a splendid one to behold Bull's Avatar
    Join Date
    Jun 2008
    Location
    Finland
    Posts
    4,702

    Default Re: Holo madness

    Probably because they are both modeled after :
    Last edited by Bull; 09-19-2009 at 02:49 PM. Reason: whoops bit big picture
    My signature has a point.
    Quote Originally Posted by Squeakyneb View Post
    when l3ulletje says do it, do it.
    That

  8. #8
    Lurker Marshmellow is on a distinguished road Marshmellow's Avatar
    Join Date
    Dec 2008
    Location
    Nebraska
    Posts
    32

    Default Re: Holo madness

    Hmmm, I just looked at Gen's old heli, and yea they're the exact same. Unsmart just added some stuff.
    When I die, I want to go peacefully like my Grandfather did, in his sleep -- not screaming, like the passengers in his car.

  9. #9
    Wirererer ROFLBURGER is an unknown quantity at this point ROFLBURGER's Avatar
    Join Date
    Jun 2009
    Location
    Canada, Eh?
    Posts
    132

    Default Re: Holo madness

    I am so fucking surprised that a -16 year old made this, right now this guy is guna be the next lua king (in 10 or so years)
    Unless you copied this from other people....


    BTW wheres the heli E2?
    Ŗ?₣ĻḄỰŖĢỆŖ:Kevin you need to get rid of the fire on the C4!!!1
    Kevin: Why
    Bill: hey burger is that your base on fire?
    Also:
    My Steam profile
    [GN]Build Combat Server #2|PHX3|WIRE|Weather

  10. #10
    Wire Noob Watercycle is on a distinguished road Watercycle's Avatar
    Join Date
    Nov 2008
    Posts
    20

    Default Re: Holo madness

    the heli model it'self is simple and some1 elses, but it's the wire factor you should be looking at, though he should have mentioned he did not make the actual heli model

+ Reply to Thread
Page 1 of 7 1 2 3 ... LastLast

LinkBacks (?)

  1. 02-09-2010, 03:53 PM

Similar Threads

  1. Holo-MiniMap,Holo-Nerd And Other Hologram E2's [56k Warning]
    By Tayg0 in forum Finished contraptions
    Replies: 44
    Last Post: 01-13-2010, 03:50 PM
  2. Best Holo-Hat
    By AutomatedOwner in forum Wiremod Challenges
    Replies: 14
    Last Post: 08-16-2009, 08:55 AM
  3. Hoverball Madness
    By Beer in forum Wiremod Challenges
    Replies: 4
    Last Post: 06-21-2009, 02:14 PM
  4. IRC madness. (quotes)
    By Jat Goodwin in forum Off-Topic
    Replies: 105
    Last Post: 04-10-2009, 07:09 PM
  5. Orbital MADNESS!
    By -=Fox=- in forum Finished contraptions
    Replies: 9
    Last Post: 04-23-2008, 07:41 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
proceed-collector
proceed-collector
proceed-collector
proceed-collector
linguistic-parrots
linguistic-parrots
linguistic-parrots
linguistic-parrots