1. COOP mode: I would like to create enemy bots that attack/defend with knives only.
First, I have created the basics - enemies only have a knife only but they didn't really attack or defend themselves when I attacked them. They just kind of sat there waving their knives at me sometimes. It was a sad kind of slaughter
Then I added some linked waypoints and changed their vc_basic.inc and added some more aggressive properties - using Intruder's very helpful mapping advice about creating 'clever bots'. For example: props.shoot_while_hidding = 1; and props.boldness = 10;
I was happy to see that they behaved much better - I actually got killed several times but I still feel like I could do better. So, the first question: Does anyone know if there is a way to make them even more aggressive and use their knifes like they use guns?
2. COOP, CTF, LMS and DM modes: I would like to force all spawning players to only have a knife. I might allow some guns to be hidden (CTF, LMA, DM only) also but this will come later. I'm sure I have seen info or a tutorial about forcing pistols only somewhere but I am having trouble locating it. So the other question: what would be involved in making players spawn only with a knife and can anyone assist me with this?
Thanks for the code - it looks clear and I see where to put it.
I tried in a coop.c script to test but I get an error. The function needs to be declared but I'm not sure how or where to declare it.
Do you know?
Im not author of code just share it,but I never tested with coop script.
Works fine with CTF,DM and ATG. I will try too and we will see.
Did you try it with other mods?
xhc wrote:
I am pretty sure u have again mismatch in script and helpers .... who did it, you martyr? it physically hurts me something like this warning message
You were right of course... I changed my include to a version of sc_global.h from the SDK because I found the function declaration there. So no more error now and map mode working Thanks!
By the way, is the SDK the best source for the most recent scripts?
H5N1 Bird Flu wrote:
Works fine with CTF,DM and ATG. I will try too and we will see.
Did you try it with other mods?
Once I resolved the problem above, my Coop worked and I also made a CTF which worked too. Thanks!
So one problem solved but one problem remains... How to make my Coop enemies even more aggressive and use their knifes like they use guns?
Hello, I worked maybe half year at map G_Pueblo. At graphic I made maybe everything there, rolingstones, also palms I changed, but scriptsts...
I wanted to know how to make VC in mexican style with machette. I can do it, but he do not attack you with this big knife. It is all. 3 months spent by trying testing..
GONZO wrote:
Hello, I worked maybe half year at map G_Pueblo. At graphic I made maybe everything there, rolingstones, also palms I changed, but scriptsts...
I wanted to know how to make VC in mexican style with machette. I can do it, but he do not attack you with this big knife. It is all. 3 months spent by trying testing..
G_Pueblo is one of the best user-made map . I respect gonzo ! half a year !?
Agreed. G_Pueblo is a great map... and I played another of GONZO's called G_LostRuins the other night - fantastic also!
Perfection always takes time
As for my AI bots. I have them sometimes killing me but it is not great. I will post a video when I have them doing a little better. At the moment they are a bit like annoyed chickens... diving around, slashing the air with their knives and sometimes making a run for me.
Unfortunately, I'm afraid you won't be able to really create the bots you want simply because they haven't been originally "made" for such a specific task... Nowhere in the sdk, I've found scripts to be able to set the "knife part" for the bots, like we have for the guns or the behaviour for example... But I hope to be wrong of course!