IPB

Welcome Guest ( Log In | Register )

> Any one have the current source?
BadLife
post Dec 29 2008, 05:50 PM
Post #1


RCBot Fan
****

Group: Waypointers
Posts: 144
Joined: 15-November 03
Member No.: 111



blink.gif I can't seem to find a link to the current source. I know it's probably right out in the open but I sure don't see it. unsure.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
 
Reply to this topicStart new topic
Replies
madmax2
post Jun 27 2013, 03:22 AM
Post #2


RCBot Guru
*****

Group: Waypointers
Posts: 957
Joined: 2-March 12
From: USA, WA state
Member No.: 2,162



Bots are still having problems shooting at inactive/deactivated mini-turrets (small mounted turret, machine class) on crystal. (I didn't test the large mounted turrets, but I'm sure bots are doing the same with them too)

I tried both cvar's (sc_classes_ally & sc_breakable_classes_ally), to see if anything stopped bots from shooting them, nothing worked. It should of worked for 1=machine. With sc_classes_ally I tried everything from -1 to 14, one at a time, just to be sure. With sc_breakable_classes_ally I tried adding a few to the defaults, from -1 thru 5, then 7.

Did I do something wrong? I did all cvar changes thru the console, no map.cfg edits. Do the bots need to be kicked & restarted, or are changes supposed to take effect immediately? I did delete all bot tmp files before starting the game with the new dll.

With debug_ent the mini turrets, in thier inactive state show as monster_miniturret, flags 160
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
w00tguy123
post Jun 27 2013, 03:59 AM
Post #3


Advanced Member
***

Group: Members
Posts: 69
Joined: 9-March 07
Member No.: 1,069



They don't shoot inactive turrets in my map, but they do in crystal. I took a look at the entities in crystal and the miniturrets have their classification set to 4, which makes them not 'CLASS_MACHINE'.

So, the code that checks for inactive turrets must be moved before the switch statement that checks entity classification. The mapper can choose any class they want for a turret/miniturret, but the IsEnemy code won't check if a turret is active unless its class is 1 (machine).
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Posts in this topic
BadLife   Any one have the current source?   Dec 29 2008, 05:50 PM
Cheeseh   :blink: I can't seem to find a link to the cu...   Dec 30 2008, 01:10 PM
Poka   This is an old topic but I'd be really interes...   Jan 26 2013, 09:04 AM
Cheeseh   This is an old topic but I'd be really intere...   Feb 10 2013, 12:47 PM
madmax2   Hey Cheeseh, Yuraj, over at the svencoop site has...   Feb 12 2013, 08:51 PM
Cheeseh   Finally I've had the time to have a look at th...   Feb 14 2013, 01:20 AM
Cheeseh   Finally I've had the time to have a look at t...   Feb 14 2013, 03:20 AM
madmax2   Wow :lol: that was fast.... thanks Cheeseh, I did...   Feb 14 2013, 04:03 AM
w00tguy123   Cheeseh comes to the rescue! I just started th...   Feb 14 2013, 05:04 AM
madmax2   Man, that was a late night waypoint session in qua...   Feb 14 2013, 09:14 PM
madmax2   Just some feedback on the new release.... I need ...   Feb 16 2013, 06:29 PM
w00tguy123   Hi Cheeseh, I've been trying to get the lates...   Jun 26 2013, 11:01 AM
Cheeseh   The basemonster/baseentity classes were changed by...   Jun 26 2013, 12:09 PM
Cheeseh   The basemonster/baseentity classes were changed b...   Jun 26 2013, 04:41 PM
w00tguy123   I made the suggestion above by removing that line...   Jun 26 2013, 09:36 PM
madmax2   Thanks Cheeseh, Just had a late breakfast, turned ...   Jun 26 2013, 06:47 PM
madmax2   Ok, I tested the dll on crystal/steampipeHL. The f...   Jun 26 2013, 08:24 PM
madmax2   Just had to jump in and clarify this, sorry... Y...   Jun 26 2013, 10:29 PM
Cheeseh   oops I forgot to say that the dll version I post...   Jun 26 2013, 10:34 PM
Cheeseh   oops I forgot to say that the dll version I poste...   Jun 26 2013, 10:46 PM
w00tguy123   oops I forgot to say that the dll version I poste...   Jun 26 2013, 10:58 PM
Cheeseh   Oh, nice! That cvar will come in handy. I can...   Jun 26 2013, 11:03 PM
Cheeseh   hmm. setting sc_breakable_classes_ally to "...   Jun 26 2013, 11:16 PM
w00tguy123   maybe I shouldve been a bit clearer with the comm...   Jun 26 2013, 11:22 PM
Cheeseh   I was using a test map for this, but quarter.bsp ...   Jun 26 2013, 11:31 PM
madmax2   okay seemed to be a bug with that code. you can...   Jun 27 2013, 12:03 AM
w00tguy123   this new link doesn't seem to work for me. di...   Jun 27 2013, 12:04 AM
madmax2   Change the extension from .zip to .7z in the link...   Jun 27 2013, 12:15 AM
w00tguy123   hmmm, I still only get 298 bytes. i tried .7z ...   Jun 27 2013, 12:18 AM
madmax2   @cheeseh Ok, will try this out today, thanks... :...   Jun 26 2013, 10:45 PM
madmax2   @cheeseh Oh, what do you think about a grapple wp...   Jun 26 2013, 10:51 PM
Cheeseh   @cheeseh Oh, what do you think about a grapple w...   Jun 26 2013, 10:52 PM
madmax2   yeah sounds like an idea, I'll have a look wh...   Jun 26 2013, 10:58 PM
w00tguy123   I tried "" both in console and in the ma...   Jun 26 2013, 11:07 PM
w00tguy123   That new version is mostly working. They will atta...   Jun 27 2013, 12:00 AM
madmax2   Never mind... heh heh :) ... got it to work... ...   Jun 27 2013, 12:20 AM
madmax2   Bots are still having problems shooting at inactiv...   Jun 27 2013, 03:22 AM
w00tguy123   They don't shoot inactive turrets in my map, b...   Jun 27 2013, 03:59 AM
madmax2   Hey w00tguy123, Sounds like you found the problem...   Jun 27 2013, 05:13 AM
madmax2   I got the mini-turrets to deactivate in murks (sc4...   Jul 1 2013, 10:42 PM
w00tguy123   Have you found any more maps with inactive/deactiv...   Jul 2 2013, 04:57 AM
RoboCop   Does anyone have the source code for RCBot v1.5 (o...   Dec 23 2015, 10:29 PM
madmax2   Hey RoboCop, I could be wrong, but I don't th...   Dec 24 2015, 06:58 PM
RoboCop   Hey RoboCop, I could be wrong, but I don't t...   Dec 26 2015, 12:42 PM


Reply to this topicStart new topic
3 User(s) are reading this topic (3 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 19th April 2024 - 08:59 AM