Author |
Message |
CaveCricket48
Joined: Tue Jun 12, 2007 11:52 pm Posts: 13144 Location: Here
|
Hunter Bot + Game Timer
2 mods, 1 topic. -- Hunter Bot -- A robot programmed to eliminate the closest enemy actor when on Hunt Mode. If robot does not have a gun, it will go to and pickup the closest one. Toggle Hunting mode by opening the Pie Menu and selecting the AI Gold Dig option. -- Game Timer -- Place this pixel anywhere, and it will tell you the current game time. The timer syncs with CC's game speed, so if CC is lagging, the timer will slow down to syncronize with it. When the game ends, the timer will freeze. Find this in the "Bunker Systems" tab.
|
Sun Feb 21, 2010 9:41 pm |
|
|
David Rodrigov
Joined: Mon Jan 25, 2010 11:35 pm Posts: 675
|
Re: Hunter Bot + Game Timer
First post. also this looks cool testing imedeely. First post, this warrants a warning. Please read the rules. - p3lb0x
|
Sun Feb 21, 2010 9:51 pm |
|
|
dragonxp
Joined: Wed Sep 09, 2009 3:16 am Posts: 3032 Location: Somewhere in the universe
|
Re: Hunter Bot + Game Timer
Do you ever cease to amaze with your Lua magic?
|
Sun Feb 21, 2010 9:58 pm |
|
|
Joesycop
Joined: Mon Oct 19, 2009 9:04 am Posts: 302 Location: Under Your Bed
|
Re: Hunter Bot + Game Timer
Dude you make mods so fast. I will test later today. Are you just some genius or do you have no life? (No offense)
The hunter bot even tries to kill its teammates?
Last edited by Joesycop on Mon Feb 22, 2010 2:12 am, edited 1 time in total.
|
Sun Feb 21, 2010 10:39 pm |
|
|
Eviltebor
Joined: Sun May 31, 2009 6:49 pm Posts: 69
|
Re: Hunter Bot + Game Timer
Win mod is win Finally a use for gold dig ai and that timer wil lhelp me see how fast my CC should be running.
|
Sun Feb 21, 2010 10:51 pm |
|
|
rjhw1
Joined: Sun Apr 12, 2009 11:10 pm Posts: 128
|
Re: Hunter Bot + Game Timer
I love the Hunter Bot, good job cricket! The AI for it is just so amazing, on the tut mission it picked up the digger automatically, then later switched from the weapon i gave it to dig itself out of a hole. Your like a mod making machine!
|
Mon Feb 22, 2010 5:18 am |
|
|
dragonxp
Joined: Wed Sep 09, 2009 3:16 am Posts: 3032 Location: Somewhere in the universe
|
Re: Hunter Bot + Game Timer
I just thought of something.... What would happen if we had TLB and Cricket team-up?
|
Mon Feb 22, 2010 5:27 am |
|
|
CrazyMLC
Joined: Fri Dec 22, 2006 4:20 am Posts: 4772 Location: Good news everyone!
|
Re: Hunter Bot + Game Timer
I like the hunter bot, though it has some issues, it is an improvement on current AI. It seems unable to use gatling guns, though.
|
Mon Feb 22, 2010 5:44 am |
|
|
Benpasko
Joined: Sun Aug 09, 2009 9:26 am Posts: 1633
|
Re: Hunter Bot + Game Timer
CrazyMLC wrote: I like the hunter bot, though it has some issues, it is an improvement on current AI. It seems unable to use gatling guns, though. Urgh, MLC, you disappoint me. No ai units can use Gatling Guns, not just this.
|
Mon Feb 22, 2010 5:47 am |
|
|
CrazyMLC
Joined: Fri Dec 22, 2006 4:20 am Posts: 4772 Location: Good news everyone!
|
Re: Hunter Bot + Game Timer
Oh, well. I never trust the AI with gatling guns, so I wouldn't know.
|
Mon Feb 22, 2010 5:59 am |
|
|
PhantomAGN
Joined: Mon Jun 29, 2009 2:40 am Posts: 610 Location: Deep below The Map of Mars
|
Re: Hunter Bot + Game Timer
The AI can use a gattling gun whose delay has been replaced with Lua approximating a held key, you just need to add a second of firing time for every activation the AI makes with it. It's a dumb work-around though.
Nice robot AI scripting here, I'm going to have to borrow part of it for something I'm working on.
|
Mon Feb 22, 2010 6:41 am |
|
|
Natti
Data Realms Elite
Joined: Fri Jul 03, 2009 11:05 am Posts: 3878
|
Re: Hunter Bot + Game Timer
dragonxp wrote: I just thought of something.... What would happen if we had TLB and Cricket team-up? The .ini files of CC couldn't contain all that awesomeness. And the universe would end. Same thing that if TLB and weegee would make a mission together.
|
Mon Feb 22, 2010 9:21 am |
|
|
Lizardheim
DRL Developer
Joined: Fri May 15, 2009 10:29 am Posts: 4107 Location: Russia
|
Re: Hunter Bot + Game Timer
Well that's why we have Lua scripts
|
Mon Feb 22, 2010 4:09 pm |
|
|
CaveCricket48
Joined: Tue Jun 12, 2007 11:52 pm Posts: 13144 Location: Here
|
Re: Hunter Bot + Game Timer
Joesycop wrote: Are you just some genius or do you have no life? (No offense) A combonation of both. More of the latter, though. Joesycop wrote: The hunter bot even tries to kill its teammates? CaveCricket48 wrote: A robot programmed to eliminate the closest enemy actor when on Hunt Mode.
|
Mon Feb 22, 2010 8:49 pm |
|
|
CrazyMLC
Joined: Fri Dec 22, 2006 4:20 am Posts: 4772 Location: Good news everyone!
|
Re: Hunter Bot + Game Timer
You add waypoints to guns when it has none, but it just ends up crushing them. Code: if SceneMan:ShortestDistance(self.Pos,self.targetgun.Pos,self.mapwrapx).Magnitude < 6 then self:GetController():SetState(Controller.WEAPON_PICKUP,true) self:ClearAIWayPoints() end
|
Tue Feb 23, 2010 4:04 am |
|
|
|