== WASP 2 - Multipurpose Bot ==
[media]http://www.youtube.com/watch?v=T2S6pE4vHXg[/media]
[img]http://garrysmod.org/img/dl/60768_1.jpg[/img]
[img]http://garrysmod.org/img/dl/60768_2.jpg[/img]
[img]http://garrysmod.org/img/dl/60768_3.jpg[/img]
Controls:
Camera - Numpad Enter (Cycles between camera, zoom, super zoom, and player view)
Change Weapon - Numpad Plus (Cycles between gun, grabber, forcer, and no weapon)
Arm Mode - Numpad Period (Cycles between on/off)
Manual Mode - Numpad Slash (Selecting manual mode turns off arm mode)
Change Target - Numpad Zero
Activate Spotlight - Numpad Star
Controls for Manual Mode:
Fire Weapon - Numpad Zero
Activate Thruster - Numpad Delete
Directional - Mouse by way of the players eye
HUD indicators:
Target ID - This shows the games ID number for a target (Showing an actual name is impossible; maybe in the future)
Gun Temperature - When this reaches 100%, the WASP will stop firing. When you stop firing, or bring the WASP back, the temperature will drop.
Arm - Arm Mode indicator
Manual - Manual Mode indicator
Weapon Gun - Shows that the gun is selected
Weapon Grabber - Shows that the grabber is selected
Weapon Force - Shows that the forcer is selected
Once Arm is activated, it will chase after the acquired target and fire whichever selected weapon once
the target is in range. Targets can be grabbed with this method and brought to you by selecting the grabber
and turning off Arm Mode once the target is grabbed. Alternatively, targets can be force pushed until Arm Mode is shut off.
The WASP's target finder is setup to target players, props, NPCs and vehicles.
Known Issues:
- When duped, for some reason it will stay frozen. Unfreeze it.
- If you copy the dupe and dupe it again, the HUD indicators will all be out of order.
- This uses the latest SVN of Wiremod, so if you haven't updated in a while, you might want to.
- Servers with old Wiremod SVN's will cause problems.
Requirements:
- Wiremod
VERY SPECIAL THANKS TO:
Chiss - Thank you Chiss for beating me over the head with your leet coding skills. This thing used to be
almost 190 lines of code; now its 103.
Sax's Server: 77.74.193.156:26060
Thanks to Sax, I have an excellent place to test all my WIP contraptions.
***16Jan09 UPDATE***
- Contraption will no longer need text editing to define the owner thanks to Masogir's help (THANK YOU!!). All that's needed is to dupe.
- Fixed null error problem when killing NPCs
- Fixed target changing code; will now very quickly change targets (It will still come back to you before changing targets sometimes. The target finder is slow -- couldn't be helped)
- Optimized some of the targeting code
- When not in Arm mode, the WASP will follow much more closely. Changing to Arm mode will increase distance.
- Interval has been changed from 10 to 20 (10 is way too high)
- Target finder minimum distance has been changed from 0 to 50 (Would sometimes lock onto the
[url=http://www.garrysmod.org/downloads/?a=view&id=60768][img]http://www.garrysmod.org/img/?t=dll&id=60768[/img][/url]
Cool you released it. Nice work
Really nice dupe, really nice video. I played with the one before this that had the control panel. What was the change that makes it react so much faster and more accurate?
Matrix music makes everything better.
And I'd like to add that this is one of the best contraptions I've seen in a long time.
[QUOTE=luck_or_loss;13241428]Really nice dupe, really nice video. I played with the one before this that had the control panel. What was the change that makes it react so much faster and more accurate?
Matrix music makes everything better.
And I'd like to add that this is one of the best contraptions I've seen in a long time.[/QUOTE]
Thank you!
E-gate2 and some clever coding are what have made it faster.
Sex. <3
Hmm.. Playing around with it the only thing I find interesting is how it hovers above my head and the E:eye() thing.
When it flies above me it tends to be glitchy if I go higher than it and won't go up to me. And the turret doesn't work. The camera gets stuck where you spawn it.
But yeaaah. Also looks too flashy for me. I'd prefer it to be just like a 1x1 phx plate. O:
I'm having some trouble with it when I set it to arm and I have the gun selected when it goes to a target it will shoot at it, kill it and shoot there for 4 or 5 seconds then change targets. When it finishes that I get this in my console
[code]
Timer Error: entities\gmod_wire_expression2\core\entity.lua:136: Tried to use invalid object (type IPhysicsObject) (Object was NULL or not of the right type)
[/code]
I do have the newest svn version. Can anyone help me?
Nice, can I weld props to it, and spawn more than one?
Ugh, using latest SVN Wiremod, I spawn it, and it goes crazy, flies around a lot then crashes Gmod.
Weeeee :D. Just go ahead and build more of your awesome stuff on my server :D. Too bad it's always filled with noobs though :C.
[QUOTE=RSahlgren;13246534]Weeeee :D. Just go ahead and build more of your awesome stuff on my server :D. Too bad it's always filled with noobs though :C.[/QUOTE]
Thanks.
Also, great you made it complex to control.
Minges are :v
Blasty McAwesomesauce.
If we still had rating systems i would give you gold stars.
[QUOTE=Abstrakt;13242311]Hmm.. Playing around with it the only thing I find interesting is how it hovers above my head and the E:eye() thing.
When it flies above me it tends to be glitchy if I go higher than it and won't go up to me. And the turret doesn't work. The camera gets stuck where you spawn it.
But yeaaah. Also looks too flashy for me. I'd prefer it to be just like a 1x1 phx plate. O:[/QUOTE]
...update your Wire SVN.
[QUOTE=Sh33p;13245709]Nice, can I weld props to it, and spawn more than one?
Ugh, using latest SVN Wiremod, I spawn it, and it goes crazy, flies around a lot then crashes Gmod.[/QUOTE]
Wow! I don't know what to to tell you other than your Gmod is bugged.
I have the latest version of Wiremod and WASP2 works excellent.
Oh wow, this thing is pure win!
I now never play on Single Player without it, there is something just so awesome about just standing there and seeing this little compact chunk of sex and Wiremod fly around killing all your foes, and the manual control and camera makes the uses of this limitless! Recently (I would have posted my comment later on but then a window minimized Gmod and I thought I may as well type it now) I had my little buddy lift me up on a platform with his grabber (easy to guide him to it as well, just a quick camera view then all I need to do is press Delete a few times.) . Everything about this seems to be made for multi-purpose, right down to the nifty Zoom view. The light comes in handy too!
I envision a new world of Gmod where everyone has his own custom-made robot buddy that follows them around between servers. I certainly felt bad for my WASP when he was trapped outside my bomb shelter door when I tested GCombat :< .
Now that I have finished my Fanboy thing, how about including a feature to increase and decrease the hover height or maybe have a option to change it so it hovers in front/side/back of you? It gets annoying to guide it manually through doors. And could you have it hover for at least 1 second after killing a target, it's a bit annoying seeing it fly back to you then remember that there are still some more.
[b] EDIT: [/b]
One last gripe, I get a error message about "IPhysicsObject" being null or not the right type or something every time it shoots (not in a burst, it's one message per bullet). That doesn't stop it from doing anything, though.
[b] EDIT 02 [/b]
Ooh! Ooh! How about a function to deactivate it, and then a button on it to reactivate it! You could put it in a little carrying case when you don't use it!
Ok guys, I see now what you're getting. I wasn't getting that error last night...but now I am.
Looking into it... I'll have a new release, error free soon.
New problem lastest wiresvn build 847 creates problems when you spawn it, pretty much goes like.
[code]Cannot create gmod_expression[/code] and the whole thing breaks.
Mmmm this looks sexy
[QUOTE=ShadowCross;13253013]New problem lastest wiresvn build 847 creates problems when you spawn it, pretty much goes like.
[code]Cannot create gmod_expression[/code] and the whole thing breaks.[/QUOTE]
After updating to the latest Wiremod SVN, many general use functions such as pos() stopped working....
Latest update seriously fucked things up! Expression Gate 2 is still very new, therefore these types of
odd errors happen. I would suggest reverting.
...still working on figuring out what the error is when killing NPCs.
WASP 2 FIXED!!!
Please re-download.
[QUOTE=Gunnanmon;13241053]- Fixed null error problem when killing NPCs[/quote]
I still have that problem the [code]
Timer Error: entities\gmod_wire_expression2\core\entity.lua:136: Tried to use invalid object (type IPhysicsObject) (Object was NULL or not of the right type)
[/code]
Still happens.
[QUOTE=ShadowCross;13257076]I still have that problem the [code]
Timer Error: entities\gmod_wire_expression2\core\entity.lua:136: Tried to use invalid object (type IPhysicsObject) (Object was NULL or not of the right type)
[/code]
Still happens.[/QUOTE]
I don't know dude. I just restarted Gmod, loaded the WASP, and it works without any errors.
Make sure you copied over the old download.
I updated through the SVN before I launched Gmod, it says it can't make expression 2
That looks so cool. I'll try downloading it tomorrow. Anyway, I've been considering learning expression 2. I can do E1 fairly well, but it seems that E2 is so much harder. Is there some sort of beginners guide that would be able to help me out for the basics. I really want to learn how to get a vector thruster to work with your mouse like it did in your video. Really well done.
You fixed it! thanks so much!
I al also having the same problem. it says
[CODE]
The exact error was: AdvDupeERROR: CreateEntity failed to make "gmod_wire_expression2", Error: Unknown variable type (entity) specified for variable (Target) at line 3, char 1
AdvDupe: Sending this ErrorMsg to Player [1][[DS]GalvazimGX]
AdvDupe-ERROR: "Failed to make "gmod_wire_expression2""
AdvDupeERROR:Created Entity Bad! Class: gmod_wire_expression2 Ent: 93
[/CODE]
I realized if I paste over the old version it wont work. That was my problem.
I now get the error "failed to make gmod_wire_expression2". And I've definitely got the tool for that.
I get the Expression error too.
[QUOTE=Stud Muffin;13257578]I updated through the SVN before I launched Gmod, it says it can't make expression 2[/QUOTE]
Everyone. If you are getting this error, its because Wiremod revision 847 is broken. Revert back to the previous version.
I can't revert, I only got WM for this. D;
Sorry, you need to Log In to post a reply to this thread.