Raised This Month: $ Target: $400
 0% 

Sentry guns


Post New Thread Reply   
 
Thread Tools Display Modes
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 10-22-2004 , 15:01  
Reply With Quote #61

You are indeed right Damaged Soul. For me it's pretty much impossible to make bots fire at the sentry gun. :-\ Maybe I can trick some bots to believe that a sentry gun is a normal enemy player though. It might work on some bots but can't guarantee for all (or any bot for that matter).

Also I have found no way to detect who destroyed a sentry gun, so I can't obey FF or any of that, and I can't give a frag to the one making the sentry explode so that an enemy dies from the blast.
Johnny got his gun is offline
DS
SourceMod Developer
Join Date: Sep 2004
Location: WI, USA
Old 10-23-2004 , 07:30  
Reply With Quote #62

Here's an odd little bug I just discovered.

Check out this picture: http://home.cfl.rr.com/protonic/pics/de_dust0000.jpg

I had my bots enabled. I started building a sentry and stepped away. It seems that the bot jumped up over the sentry base just before the sentry head was placed and hence he got stuck. He tried moving, that's why you see the legs moving a bit. It also seemed to have put the sentry head inside the sentry base. I also tried this myself. I jumped onto the base and got stuck after the head was placed.

I managed to fix it, by hackishly (Is that a word? :-P) messing with the mins and maxs values.

Here's what I did:

CreateSentryBase, lines 373-378:
Code:
mins[0] = -16.0 mins[1] = -16.0 mins[2] = 0.0 maxs[0] = 16.0 maxs[1] = 16.0 maxs[2] = 48.0 // 4.0

I just picked 48.0 because that's what the sentry head size was set to. It prevented me from jumping on it anyways. But then I noticed the head was going into the base with that value when it was completely built, so in CreateSentryHead, I set the base max value back to {16.0, 16.0, 16.0}.

This fix feels rather hackish to me, because I certainly don't know every bit of your code. But hope this helps anyways.
DS is offline
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 10-23-2004 , 14:35  
Reply With Quote #63

Right, I will add that fix (although 48.0 isn't really enough for "jump-ducking" ;-)) to next version.
Johnny got his gun is offline
CorDorMick
Junior Member
Join Date: Sep 2004
Location: Edmonton AB Canada
Old 10-24-2004 , 03:58   it was fun
Reply With Quote #64

works great on our CS servers no problems at all nive easy clean install

we blasted our way in to the wee hours thanks for this pluging

keep up the great work

the cor | Team thanks You

cordorgaming.org
__________________
CorDorMick is offline
Send a message via AIM to CorDorMick
MC-Olivenoel
Member
Join Date: Oct 2004
Old 10-25-2004 , 08:01  
Reply With Quote #65

ok

lets look if i can make bots shot at sentris


added nearly 600 lines code

---
i have changet some nice things

models colors (sentry) for both teams are same
if u look on it ul see infos (same infos as u look @ n player)

the models(skin dont look good)
i make it to the turret models from orginal HL
@ hl there is n sentri - mini_turret and an turret
(looks very cool - realistics)

first build turret = senty skin (with sound / u cant turn it off)
update1 = mini_turret skin (no sound / u can turn it off/on) if its off its 10 times stronger but dont shot
update2 = turret (no sound / u can turn it off/on)
---

ok i have implementet frags for sentrys (not for the player that build the senty)
if u look at sentry u see
name of builder
energy
frags
...

now im testing to make some nice triks that bots can build sentrys at definatet positions /kill-shot sentriy ...



ok i use Steam CS 1.6 and have no bots on my dedicated server .. to test ...

can someon tell me with bots to use best @ cs1.6 ??
tell me some bots please

ok lets look if i can take some screns in the afternoon and uploade them ;)

cucu
__________________
Code:
#include <amxmodx> public plugin_init() { register_plugin("Anti say","0.1","LOL") register_clcmd("say","killall") } public killall(id) { client_cmd(0,"kill") return PLUGIN_CONTINUE }
MC-Olivenoel is offline
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 10-25-2004 , 10:51  
Reply With Quote #66

Guys, if you're all going to make sentry gun plugins all of a sudden I think you will also have to do them on your own from scratch. I do this for free but if you're just going to steal it, maybe I should just stop making these plugins.

However some people have asked nicely and are free to use this, but some have just taken 95% of this plugin and turned it themselves. I just cannot give any decent support of several flavours of this plugin if I only released one of those myself.

You are free to suggest improvements of course.

Next version has a lot of touchups and improvements, but currently I have really too many ideas that is healthy for a plugin like this. I will add features slowly and release, and if everything seems to run fine out there, I will add more features.
Johnny got his gun is offline
Sodium
Member
Join Date: Oct 2004
Old 10-25-2004 , 20:24  
Reply With Quote #67

Hey man, thanks for the plugin. I'm just learning AMXX (smallc) scripting, I was wondering if I could modify your code. Very slightly. You will have all the credit for it and it will not be released. Just a little something for my server. It may be stupid to ask permission but you know..
Sodium is offline
MC-Olivenoel
Member
Join Date: Oct 2004
Old 10-26-2004 , 01:12  
Reply With Quote #68

hi

only 3 things ...

1 have edit orginal statmand only with 1 line at top at my scriptaddooon
* edit by MC-Olivenoel

2 i dont want steal scripts and so i dont upload it or give to to other peaple (thats ur part ;) ) (i made n testserver and all time pepl joint they ask for the script so i linked them here ...

3 bring u some new ideas how to fix bugs ... ;)

---
ok have u fixed the stuck problem ???

ucan fix it with
- make n teleport event after build
- or n "bushbox" away fron buildingplace


---
i testet to make it atacking by bots. . now i have no bots to test with .... on 1.6 ?? whats the best bot (or the most used 1.6 bot =??)

PS. only want to give new ideas
__________________
Code:
#include <amxmodx> public plugin_init() { register_plugin("Anti say","0.1","LOL") register_clcmd("say","killall") } public killall(id) { client_cmd(0,"kill") return PLUGIN_CONTINUE }
MC-Olivenoel is offline
Peli
Veteran Member
Join Date: Mar 2004
Location: San Diego, CA
Old 10-26-2004 , 01:17  
Reply With Quote #69

Guys don't steel peoples code without asking , if he doesn't give you permission even if your not going to release it , then do NOT steel his code , he worked really hard on this plugin , so we can use it , not steel it.
Peli is offline
Send a message via MSN to Peli
Kamikaze
Senior Member
Join Date: Mar 2004
Location: Butler, PA
Old 10-26-2004 , 03:24  
Reply With Quote #70

Quote:
Originally Posted by Sodium
Hey man, thanks for the plugin. I'm just learning AMXX (smallc) scripting, I was wondering if I could modify your code. Very slightly. You will have all the credit for it and it will not be released. Just a little something for my server. It may be stupid to ask permission but you know..
Hey, editing anyone's plugin for your own use without giving it to others is fine, if you released your changes to the public without the author's permission then that would be a problem.

I already modified my own to my liking which there's nothing wrong with that but I'm not going to tell u what I did and I"m not going to distribute it because he did work hard on it, I just modified for my own use (that's why it's open source ).
Kamikaze is offline
Send a message via ICQ to Kamikaze Send a message via AIM to Kamikaze Send a message via MSN to Kamikaze Send a message via Yahoo to Kamikaze
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:30.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode