Author Topic: AI Spawn Script  (Read 6429 times)

0 Members and 1 Guest are viewing this topic.

zlake

  • Relentless Teamkiller
  • **
  • Posts: 76
  • Killer space clowns. Twas a movie.
    • View Profile
Re: AI Spawn Script
« Reply #45 on: June 07, 2012, 04:13:26 am »
Should have enough info to figure it out.
« Last Edit: June 07, 2012, 09:39:17 am by zlake »

Buster

  • Klass Klown
  • ***
  • Posts: 295
  • Kool Kat
    • View Profile
Re: AI Spawn Script
« Reply #46 on: June 07, 2012, 04:15:49 am »
I know what it means, else I wouldn't have posted it.
Touch? Motherfucker!

Well, what I'm confused on doing is reestablishing the AI to fire at both; Humans and Zombies.
To which I'm still, to this point, confused.

WTF man, I thought that was posted by katie1992 on Today at 12:47:53 PM, not  darklounge  :icon_laugh

Buster

  • Klass Klown
  • ***
  • Posts: 295
  • Kool Kat
    • View Profile
Re: AI Spawn Script
« Reply #47 on: June 07, 2012, 04:23:09 am »
Code: [Select]
_grp = creategroup (east);  // Side of a group to make enemy
_grp allowFleeing 0;   // 0 means maximum courage, while 1 means they will fuck off
[ur_ai] join _grp;   // the group ur_ai will join
ur_ai enableAI "TARGET";      // Obvious
ur_ai enableAI "AUTOTARGET";   // More obvius
ur_ai setskill 1;   // set to 1 for maximum skill
ur_ai setCombatMode "RED";   // Makes ur_ai red with anger
ur_ai setBehaviour "AWARE";   // give ur_ai awareness
ur_ai addweapon "MakarovSD";   // give ur_ai a gun
ur_ai addmagazine "8Rnd_9x18_Makarov";  // gives ur_ai some ammo
ur_ai selectWeapon "MakarovSD";   // tells ur_ai to use this weapon
while {alive ur_ai} do {  
ur_ai setvehicleammo 1;      // will give ur_ai unlimited ammo
sleep 0.01;
};

Lol It owned me. So now I take it I need to find a way to change my own faction.
No !
now you need to know how to impliment this shit you've been given, and others should shut the fuck up and post more constructive posts, if they know how to do it better !
I'm not bitter I'm the murphys  :icon_thumbsup
« Last Edit: June 08, 2012, 12:23:24 am by Buster »

zlake

  • Relentless Teamkiller
  • **
  • Posts: 76
  • Killer space clowns. Twas a movie.
    • View Profile
Re: AI Spawn Script
« Reply #48 on: June 07, 2012, 04:40:30 am »
Ill figure this out sooner or later. Yeah I messed something up ofc. I'm trying to nail it atm.

zlake

  • Relentless Teamkiller
  • **
  • Posts: 76
  • Killer space clowns. Twas a movie.
    • View Profile
Re: AI Spawn Script
« Reply #49 on: June 07, 2012, 07:01:09 am »
Should be enough info there.
« Last Edit: June 07, 2012, 09:45:24 am by zlake »

MrMedic

  • MasstKer
  • ********
  • Posts: 8900
  • programmer/dev/software engineer
    • View Profile
Re: AI Spawn Script
« Reply #50 on: June 07, 2012, 06:08:04 pm »
Code: [Select]
SpawnUnit_command = _this select 0;

SpawnUnit = "USMC_SoldierS_Sniper" createunit [[(getpos player select 0), (getpos player select 1), 50], group player, format["%1", SpawnUnit_command]];
_grp = creategroup (east);  // Side of a group to make enemy
_grp allowFleeing 0;   // 0 means maximum courage, while 1 means they will fuck off
[ur_ai] join _grp;   // the group ur_ai will join
ur_ai enableAI "TARGET";      // Obvious
ur_ai enableAI "AUTOTARGET";   // More obvius
ur_ai setskill 1;   // set to 1 for maximum skill
ur_ai setCombatMode "RED";   // Makes ur_ai red with anger
ur_ai setBehaviour "AWARE";   // give ur_ai awareness
ur_ai addweapon "MakarovSD";   // give ur_ai a gun
ur_ai addmagazine "8Rnd_9x18_Makarov";  // gives ur_ai some ammo
ur_ai selectWeapon "MakarovSD";   // tells ur_ai to use this weapon
while {alive ur_ai} do {  
ur_ai setvehicleammo 1;      // will give ur_ai unlimited ammo
sleep 0.01;
};

Lol It owned me. So now I take it I need to find a way to change my own faction.
No !
now you need to know how to impliment this shit you've been given, and others should shut the fuck up and post more constructive posts, if they know how to do it better !
I'm not bitter I'm the murphys  :icon_thumbsup
_grp allowFleeing 0;   // 0 means maximum courage, while 1 means they will fuck off ........ :icon_laugh
EnCoded Message: i3iy9yl8kr2xf3g2Txs3pr6ye3ya7jg5ty2z

https://www.youtube.com/watch?v=62_7-AYfdkQ
you need a paypal account for the private versions.

Website:
http://bit.ly/medic101

Teamspeak 3: 85.236.101.5:10157

MrMedic

  • MasstKer
  • ********
  • Posts: 8900
  • programmer/dev/software engineer
    • View Profile
Re: AI Spawn Script
« Reply #51 on: June 07, 2012, 06:19:43 pm »
if they know how to do it better !

_Letsspawnsomenutterswithvehiclesandfillthem = [position player ?, side ?, group player ?] call BIS_fnc_spawnGroup;


EnCoded Message: i3iy9yl8kr2xf3g2Txs3pr6ye3ya7jg5ty2z

https://www.youtube.com/watch?v=62_7-AYfdkQ
you need a paypal account for the private versions.

Website:
http://bit.ly/medic101

Teamspeak 3: 85.236.101.5:10157

XJ

  • Online Villain
  • ***
  • Posts: 246
  • Find what you love and let it kill you.
    • View Profile
Re: AI Spawn Script
« Reply #52 on: June 07, 2012, 06:28:07 pm »
Ok ffs, lets go right to begining of class boys and girls.  :icon_sly
Do you know how to spawn a unit ?  :unsure
Answer yes/no  :icon_thumbsup

No, we don't.
We posted that on the first page because it looked cool.


Hey you unthankful buchiach, why don't you fuck off to the little meth lab you crawled out of? Nobody here is obligated to help you, so if you want to be helped pick an appropriate tone.

katie1992

  • Intentional Cheater
  • **
  • Posts: 38
    • View Profile
Re: AI Spawn Script
« Reply #53 on: June 07, 2012, 06:34:15 pm »
Ok ffs, lets go right to begining of class boys and girls.  :icon_sly
Do you know how to spawn a unit ?  :unsure
Answer yes/no  :icon_thumbsup

No, we don't.
We posted that on the first page because it looked cool.


Hey you unthankful buchiach, why don't you fuck off to the little meth lab you crawled out of? Nobody here is obligated to help you, so if you want to be helped pick an appropriate tone.

OK, well that kinda abbreviated your ability to differentiate logic from reason, am I not entitled to reply to puerile posts.


Now, if you're going to post foul comments on people's thread: http://tkc-community.net/forum/index.php?action=profile;u=4487;sa=showPosts
Then I advice you to not argue with people whom is just 'leading' the way to what you've done on several occasions.
This is the seventh time you've criticized/insulted someone, so I advice you look at yourself before commenting on my attitude.

And I wasn't being nasty for your information, he asked a question, I decided to answer.

MrMedic

  • MasstKer
  • ********
  • Posts: 8900
  • programmer/dev/software engineer
    • View Profile
Re: AI Spawn Script
« Reply #54 on: June 07, 2012, 06:45:41 pm »
Come on now you 2 , were here to ha'ck the game , we all have to start somewhere , remember that both of you.

Have a nice day to both , working together will be more productive than lone wolfing at your level.
EnCoded Message: i3iy9yl8kr2xf3g2Txs3pr6ye3ya7jg5ty2z

https://www.youtube.com/watch?v=62_7-AYfdkQ
you need a paypal account for the private versions.

Website:
http://bit.ly/medic101

Teamspeak 3: 85.236.101.5:10157

katie1992

  • Intentional Cheater
  • **
  • Posts: 38
    • View Profile
Re: AI Spawn Script
« Reply #55 on: June 07, 2012, 07:12:12 pm »
Come on now you 2 , were here to ha'ck the game , we all have to start somewhere , remember that both of you.

Have a nice day to both , working together will be more productive than lone wolfing at your level.

Yessir  :icon_magician

XJ

  • Online Villain
  • ***
  • Posts: 246
  • Find what you love and let it kill you.
    • View Profile
Re: AI Spawn Script
« Reply #56 on: June 07, 2012, 07:13:09 pm »
Ok ffs, lets go right to begining of class boys and girls.  :icon_sly
Do you know how to spawn a unit ?  :unsure
Answer yes/no  :icon_thumbsup

No, we don't.
We posted that on the first page because it looked cool.


Hey you unthankful buchiach, why don't you fuck off to the little meth lab you crawled out of? Nobody here is obligated to help you, so if you want to be helped pick an appropriate tone.

OK, well that kinda abbreviated your ability to differentiate logic from reason, am I not entitled to reply to puerile posts.


Now, if you're going to post foul comments on people's thread: http://tkc-community.net/forum/index.php?action=profile;u=4487;sa=showPosts
Then I advice you to not argue with people whom is just 'leading' the way to what you've done on several occasions.
This is the seventh time you've criticized/insulted someone, so I advice you look at yourself before commenting on my attitude.

And I wasn't being nasty for your information, he asked a question, I decided to answer.

Yes, but the difference is that I do not depend on your information. The way I talk might seem offensive, but had you been here before the DayZ hype, you would understand everything. Also, you counting my posts means I'm doing it right.  :smile

/discussion

MrMedic

  • MasstKer
  • ********
  • Posts: 8900
  • programmer/dev/software engineer
    • View Profile
Re: AI Spawn Script
« Reply #57 on: June 07, 2012, 07:20:07 pm »
Ok ffs, lets go right to begining of class boys and girls.  :icon_sly
Do you know how to spawn a unit ?  :unsure
Answer yes/no  :icon_thumbsup

No, we don't.
We posted that on the first page because it looked cool.


Hey you unthankful buchiach, why don't you fuck off to the little meth lab you crawled out of? Nobody here is obligated to help you, so if you want to be helped pick an appropriate tone.

OK, well that kinda abbreviated your ability to differentiate logic from reason, am I not entitled to reply to puerile posts.


Now, if you're going to post foul comments on people's thread: http://tkc-community.net/forum/index.php?action=profile;u=4487;sa=showPosts
Then I advice you to not argue with people whom is just 'leading' the way to what you've done on several occasions.
This is the seventh time you've criticized/insulted someone, so I advice you look at yourself before commenting on my attitude.

And I wasn't being nasty for your information, he asked a question, I decided to answer.

Yes, but the difference is that I do not depend on your information. The way I talk might seem offensive, but had you been here before the DayZ hype, you would understand everything. Also, you counting my posts means I'm doing it right.  :smile

/discussion

You are being a bit offencive to katie tbh , just because she i take it is of a lower 'ability' than you are at doesnt meen you should be offencive towards him/her. if he/she has insulted you directly then thats a different matter and should really be taken to pm, me on the other hand i know for a fact some people around here lie through their teeth and that is why i retaliate , not becaus ei care what people think but to put them 'in their place' as they allways end up getting people banned so i take away their credibility.

there may be a few spelling mistakes in this post , i dont have the time or will to check it tbh as arguing is getting no one nowhere fast.

could we possibly get back on topic or shall we continue debateing who has the biggest e penis?
EnCoded Message: i3iy9yl8kr2xf3g2Txs3pr6ye3ya7jg5ty2z

https://www.youtube.com/watch?v=62_7-AYfdkQ
you need a paypal account for the private versions.

Website:
http://bit.ly/medic101

Teamspeak 3: 85.236.101.5:10157

Buster

  • Klass Klown
  • ***
  • Posts: 295
  • Kool Kat
    • View Profile
Re: AI Spawn Script
« Reply #58 on: June 08, 2012, 12:43:09 am »
if they know how to do it better !

_etsspawnsomenutterswithvehiclesandfillthem = [position player ?, side ?, group player ?] call BIS_fnc_spawnGroup;



Lol why post this and confuse them even more  :unsure 
« Last Edit: June 08, 2012, 01:47:15 am by Buster »

jcmomo

  • Relentless Teamkiller
  • **
  • Posts: 93
    • View Profile
Re: AI Spawn Script
« Reply #59 on: June 12, 2012, 12:04:34 pm »
man im also having trouble getting the ai to target something they are like neutral even if its opposing side :(
Momo is a homo. Que?