AI respawn script

Discuss Halo 2 modding, progress on figuring things out, mapfiles...you know the drill. Cheating discussion not allowed.
Post Reply
User avatar
grimdoomer




System Engineer

Posts: 1440
Joined: Mon Oct 09, 2006 4:36 pm

AI respawn script

Post by grimdoomer »

ok when ever i hit decompile to constructor in script tools it freezes up. in fact when ever i decompile or compile anything it eather feezes or doesent do anything at all. so is there any other way i could inject a script into my map. i already have the chunks in there?
User avatar
Hondros
Readers Club





Posts: 3
Joined: Wed Aug 29, 2007 1:06 pm

Post by Hondros »

Well, uh, first off, I don't think the AI respawn is a script. I think you would have to use entity or AI Editor for the respawn.
User avatar
Rockymods




Wordewatician 500

Posts: 721
Joined: Sun Apr 08, 2007 10:33 am
Contact:

Post by Rockymods »

It is a script. And either script tools needs to be re downloaded or your map is broken in some way.
User avatar
grimdoomer




System Engineer

Posts: 1440
Joined: Mon Oct 09, 2006 4:36 pm

Post by grimdoomer »

well i play the map on my xbox it works fine. ftp it to my comp clone 1 script reflexive. but i did a search befor this and aperently a lot of people had problems with script tools freezing and i added the entity script compialer and redownloaded it like 3 times but when ever i hit compile it says entity has encountered a problem and needs to close. so ya
User avatar
kibito87




Stylist Connoisseur Advisor Bloodhound
Droplet Articulatist 500

Posts: 3461
Joined: Mon Feb 21, 2005 7:49 pm
Location: Ohio
Contact:

Post by kibito87 »

The newest versions of H2guerilla and h2core contain a newer version of script tools I believe. Check it out here: http://forums.halomods.com/viewtopic.php?t=68071
Image
User avatar
grimdoomer




System Engineer

Posts: 1440
Joined: Mon Oct 09, 2006 4:36 pm

Post by grimdoomer »

i downloaded it but every time i open h2 gurilla then go to open a map it says object refrence not set to an instance of an object. i have redowloaded it 3 times and there clean maps right from my disk so ya
Supermodder911




Connoisseur Coroner

Posts: 1262
Joined: Sun Sep 03, 2006 10:43 pm
Location: Michigan

Post by Supermodder911 »

You don't open maps in H2Gerlla, you open decompiled tags from H2Core.
Image
C Wizzle
User avatar
AFuzySquirrel




Wordewatician 250

Posts: 362
Joined: Fri Jun 22, 2007 9:04 pm

Post by AFuzySquirrel »

open h2core. then open your map in it. then go to map decompile. then then wait about a minute. then go to h2guerilla. open this file C:/tags/H2/scenarios/multi/"your map name"/"your map name".scenario
Image
[Setting BIPD Variations][url=httphttp://forums.halomods.com/viewtopic.php?search_id=442547533&t=67770][Alumina BETA][/url]
User avatar
spawnova





Posts: 44
Joined: Sat Mar 10, 2007 12:49 pm

Post by spawnova »

ive been having the same porblem i think no one knows how to add a script with script tools because they always say search around you'll find the answer but never tell you any clue how to do it..i search around and i only find more ppl asking how to do it...odd
User avatar
spawnova





Posts: 44
Joined: Sat Mar 10, 2007 12:49 pm

Post by spawnova »

ok i donwload h2core and guerila i opend coag in guerilla after what you said now i see script tools in options i click it then were do i go to put my script form there?
User avatar
grimdoomer




System Engineer

Posts: 1440
Joined: Mon Oct 09, 2006 4:36 pm

Post by grimdoomer »

when ever i go to map decompile i get an exseption

can some one just inject the script into the map and make a serenity patch. the map is foundation

squads

-qz_cov_def_spectre
-qz_cov_def_ghosts
-veh_int_hog_ab
-veh_int_ghost_ab
-qz_cov_def_phantom
-qz_cov_def_enforcer_a
-qz_cov_def_enforcer_b
-qz_cov_def_sen_elim

script

Code: Select all

(script continuous respawner 
 (begin 
   (sleep_until (<= (ai_living_count 0) 1)) 
   (ai_place 0) 
))
if you do this i will put your name in the credits

thanks grim
Post Reply