Ai / Rain

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
User avatar
aLpHa2
Lance Corporal
Posts: 14
Joined: Sun Apr 27, 2003 3:40 am

Post by aLpHa2 »

ok i figured out how to give something a target name and now im having probs with rain and AI. This is a DM map. ok with the AI i put waypoint things all around a buiding. and i put the ai perimeters the targetname is badguy and the target is path1. my perimeters look exactly like the one in the tut. the only thing is i want to make the german loop around the building until it sees me. so i put this for waypoints. 1= targetname/path1 target/path2 2= targetname/path2 target/path3 3= targetname/path3 target/path4 4=targetname path4 target/path1<<< i did this to try to make it loop around the building. this is what my script looks like(plus this is a DM)

//MAP NAME: AdvancedMap1
//ARCHITECTURE: aLpHa2
//SCRIPTING: aLpHa2
main:
exec global/ai.scr
exec global/loadout.scr maps/AdvancedMap1.scr
exec global/friendly.scr

level waittil prespawn
exec global/amibient.scr AdvancedMap1
exec global/weather.scr

level waittil spawn
level.script = "maps/AdvancedMap1.scr
thread badguymove
end


now i think i need to put the thread badguymove in
but in the tut it says pathnods and the german doesnt loop it stops at the last pathnod. and when i walk through the trigger it still doesnt trigger the german. and the reason i didnt follow your objective tut is because i dont want the lvl to end once i kill the german



and for the rain i did the rain texture for all 5 brushes and i put the function rain on them
and for the ambient sounds exterior and interior i did the exact thing the tut told me too about the triggers
In a battle never ever look back. If you ever need help drop but dont stop. Keep going! A battle is not won over the luck if you shoot someone or if they shoot you its about the men beside you. They help you, they put pride in you, and they guide you.

This is to my Bro that was lost in Desert Storm.

UNITY.BROTHERHOOD.PEACE
Surgeon
Site Admin
Posts: 1386
Joined: Tue Jun 04, 2002 1:15 am
Location: Stirling, Scotland
Contact:

Post by Surgeon »

moved from tutorials thread to correct forum and own post :wink:
Admin
Image

.map Forums

Truth and Honor.
Post Reply