Lua script [request]
15 replies



05.07.12 02:54:58 am
Good night peoples!
It is possible to make a mod where a NPC, zombie, snark, Headcrab, soldier or volt ... follow you and be an ally to you?
I mean, an NPC help you, attack other NPCs and / or the opposing players? Everything in .lua files, if's possible and someone can do it for me, I'm willing to pay for the mod, and even hugs

I mean, an NPC help you, attack other NPCs and / or the opposing players? Everything in .lua files, if's possible and someone can do it for me, I'm willing to pay for the mod, and even hugs




I think it impossible.. I'm Possible, but this not.
Are you high or something??
Anyway, Maybe..
What you say is impossible to do with default CS2D NPCs. NPCs can be scripted in manually from scratch though.
I code, therefore I exist.
@
Devil-Thanh: Can I edit your pet.lua?
@
dns: What?
@
EngiN33R: Maybe if I edit the bot.lua and make bots like NPC's would be possible?

@

@



If you use your commando chat and click on "follow me" the bots will follow you. This can help you if you want to edit the bots.
Share time limited free games here

@
Bowlinghead: I want a thinks, that's only one bot/NPCs help me and kill other Bots/Npc, understand?



Should not be really hard to do. Just use internal bot functions (those that are written in Lua), make them follow you (you need an interesting random there) and attack enemies that he can see (need a bit more randomness and good performance)
But I am too lazy. lol
But I am too lazy. lol

Should not be really hard to do. Just use internal bot functions (those that are written in Lua), make them follow you (you need an interesting random there) and attack enemies that he can see (need a bit more randomness and good performance)
But I am too lazy. lol
But I am too lazy. lol
I've already maked somethink like this, but in DM, the bot'll atack you.
If one bot help you kill the other, like a lot of pairs.
[sorry-bad english]


i done what you said with bots.not npc...it follows you automaticly,attacks whoever you attacked,and protects you from in coming attacks.

i done what you said with bots.not npc...it follows you automaticly,attacks whoever you attacked,and protects you from in coming attacks.
Ohh, this looks nice *__* can you show me?





