single player
Moderator: Moderators
-
Hashmark13
- Major
- Posts: 299
- Joined: Mon Nov 25, 2002 12:20 am
- Location: USA
single player
i need to learn to make a basic script to activiate ai in sp... help would be nice
" If the automobile had followed the same development cycle as the computer, a Rolls-Royce would today cost $100, get a million miles per gallon, and explode once a year, killing everyone inside."
Just place ai in a map, and name is test_xxx for simple reasons.
SP has objectives that are added, and you need to complete the objectives (that's pretty obvious lol
).
Need help with your SP map contact me via msn simon_tan_ys@hotmail.com
SP has objectives that are added, and you need to complete the objectives (that's pretty obvious lol
Need help with your SP map contact me via msn simon_tan_ys@hotmail.com
Live to map, not map to live.
-mohaa_rox, .map
moderator
-mohaa_rox, .map
moderator
-
Hashmark13
- Major
- Posts: 299
- Joined: Mon Nov 25, 2002 12:20 am
- Location: USA
i dont think you understand.. i know to make it test_blank and place AI in it...
what i am asking is i need the full script (with no objectives added yet plz) that makes the map load ect and have working AI that actualy use player path nodes... and stuff... just the basic beginner sp mapper that wants the germans to actualy shoot back at you when you and have weapons and so on...
what i am asking is i need the full script (with no objectives added yet plz) that makes the map load ect and have working AI that actualy use player path nodes... and stuff... just the basic beginner sp mapper that wants the germans to actualy shoot back at you when you and have weapons and so on...
" If the automobile had followed the same development cycle as the computer, a Rolls-Royce would today cost $100, get a million miles per gallon, and explode once a year, killing everyone inside."
-
nuggets
- General
- Posts: 1006
- Joined: Fri Feb 28, 2003 2:57 am
- Location: U-england-K (england in the UK) :P
- Contact:
easiest way... is not in scripting
with a german selected press "i"
give it a target: "player"
give it a targetname: "german"
then select APPLY
with the player_start selected press "i"
give it targetname: "player"
then select APPLY
do this for all ur Germans
with a german selected press "i"
give it a target: "player"
give it a targetname: "german"
then select APPLY
with the player_start selected press "i"
give it targetname: "player"
then select APPLY
do this for all ur Germans
hope this helps, prob not cos it's all foreign 2 me :-/
This is really not necessary! The player will have targetname 'player' by default, it's a very bad idea to targetname your start postion player also. If you do this, you've just turned $player into an array.nuggets wrote:easiest way... is not in scripting
with a german selected press "i"
give it a target: "player"
give it a targetname: "german"
then select APPLY
with the player_start selected press "i"
give it targetname: "player"
then select APPLY
do this for all ur Germans
Germans don't need a target to attack someone. Actually it doesn't have any use.
To force Germans to attack the player, type key 'attackplayer' without a value. Otherwise they should still attack you if they see or hear you.
-
Hashmark13
- Major
- Posts: 299
- Joined: Mon Nov 25, 2002 12:20 am
- Location: USA
-
Hashmark13
- Major
- Posts: 299
- Joined: Mon Nov 25, 2002 12:20 am
- Location: USA
ok one last time...
there is something that you enter into the script for your single player map.. and makes it so you dont have to type no friggin keys or values or any shiz like that... its just a simple line that you enter into your script and walla you have AI that actualy attack you rather than stand there and make wierd faces at you.
there is something that you enter into the script for your single player map.. and makes it so you dont have to type no friggin keys or values or any shiz like that... its just a simple line that you enter into your script and walla you have AI that actualy attack you rather than stand there and make wierd faces at you.
" If the automobile had followed the same development cycle as the computer, a Rolls-Royce would today cost $100, get a million miles per gallon, and explode once a year, killing everyone inside."
-
Hashmark13
- Major
- Posts: 299
- Joined: Mon Nov 25, 2002 12:20 am
- Location: USA
i sat there and watched them... how would you know if they didnt make faces??? well anyways i figured out the scripting sheesh... the line of script that i was looking for was but thanks for trying to help
Code: Select all
exec global/ai.scr" If the automobile had followed the same development cycle as the computer, a Rolls-Royce would today cost $100, get a million miles per gallon, and explode once a year, killing everyone inside."
-
Hashmark13
- Major
- Posts: 299
- Joined: Mon Nov 25, 2002 12:20 am
- Location: USA
" If the automobile had followed the same development cycle as the computer, a Rolls-Royce would today cost $100, get a million miles per gallon, and explode once a year, killing everyone inside."
