Frequently Asked Forum Questions | ||||
Search Older Posts on This Forum: Posts on Current Forum | Archived Posts | ||||
Re: AI Script | |
Posted By: scarab | Date: 8/7/11 10:12 a.m. |
In Response To: Re: AI Script (dmiller) : I'm a horrible commenter. They are tricky, too many comments just get in the way of seeing the code. Good function and variable names make the code 'self commenting'. And its best not to say what you are doing (that's often obvious just by reading the code) but why you are doing it. You know if you have done good commenting if you can come back to something after 6 months away and you don't have to ask yourself, "how does this work?" : I don't know the differences- think of hsc as a 'designer-friendly' lisp
There is one question I'd like to ask, or a suggestion... Is it possible to make suggestions to an NPC? Rather than give them orders that must be obeyed, give them suggestions with a number that says how important the suggestion is. The reason I ask is that sometimes a character performs some scripted behavior that gets in the way of it reacting to an attack. Buck seemed to do this a lot in the final highway sections. He'd tell me about the Scarab in the distance rather than shoot at nearby enemies. If being a tour guide was given a priority of 4 (out of ten) and saving me from death had a priority of 11 then he would do more shooting and less talking. Do you see what I mean?
|
|
Replies: |
AI Script | scarab | 8/5/11 4:50 a.m. |
Re: AI Script | scarab | 8/5/11 5:00 a.m. |
Fixed: AI Script | scarab | 8/5/11 5:26 a.m. |
Re: Fixed: AI Script | Moorpheusl9 | 8/5/11 6:07 a.m. |
Re: Fixed: AI Script | scarab | 8/5/11 7:20 a.m. |
Should've used Python *NM* | JDQuackers | 8/5/11 7:30 a.m. |
Re: AI Script | General Vagueness | 8/5/11 12:30 p.m. |
HaloScript | kornman00 | 8/5/11 3:17 p.m. |
Re: HaloScript | scarab | 8/7/11 9:06 a.m. |
Re: AI Script | dmiller | 8/7/11 1:17 a.m. |
Re: AI Script | scarab | 8/7/11 8:54 a.m. |
Re: AI Script | dmiller | 8/7/11 9:29 a.m. |
Re: AI Script | Moorpheusl9 | 8/7/11 9:33 a.m. |
Re: AI Script | dmiller | 8/7/11 9:35 a.m. |
Re: AI Script | scarab | 8/7/11 10:12 a.m. |
Re: AI Script | ZackDark | 8/7/11 2:40 p.m. |
Re: AI Script | dmiller | 8/7/11 5:02 p.m. |
Re: AI Script | Louis Wu | 8/7/11 5:15 p.m. |
Re: AI Script | dmiller | 8/7/11 5:23 p.m. |
Re: AI Script | scarab | 8/8/11 3:34 p.m. |
Re: AI Script | dmiller | 8/8/11 9:51 p.m. |
Re: AI Script | JonnyOThan | 8/11/11 12:42 p.m. |
Re: AI Script | scarab | 8/11/11 4:32 p.m. |
Re: AI Script | dmiller | 8/13/11 2:21 p.m. |
Re: AI Script | scarab | 8/13/11 5:27 p.m. |
Re: AI Script | RC Master | 8/7/11 7:41 p.m. |
Re: AI Script | ZackDark | 8/7/11 8:30 p.m. |
Re: AI Script | General Vagueness | 8/7/11 8:36 p.m. |
Re: AI Script | ZackDark | 8/7/11 8:42 p.m. |
Re: AI Script | dmiller | 8/7/11 8:57 p.m. |
Re: AI Script | Hyokin | 8/7/11 9:21 p.m. |
Re: AI Script | dmiller | 8/7/11 11:03 p.m. |
Re: AI Script | ZackDark | 8/7/11 11:19 p.m. |
Re: AI Script | dmiller | 8/7/11 11:23 p.m. |
Re: AI Script | Hyokin | 8/7/11 11:20 p.m. |
Re: AI Script | ZackDark | 8/7/11 11:22 p.m. |
Re: AI Script | dmiller | 8/7/11 11:26 p.m. |
Re: AI Script | ZackDark | 8/7/11 11:27 p.m. |
Welcome to the forums, Dan! | Hyokin | 8/7/11 11:34 p.m. |
Re: AI Script | dmiller | 8/7/11 11:44 p.m. |
Re: AI Script | dmiller | 8/7/11 11:45 p.m. |
Re: AI Script | RC Master | 8/8/11 7:10 a.m. |
Re: AI Script | Avateur | 8/7/11 11:50 p.m. |
Re: AI Script | Hyokin | 8/7/11 11:57 p.m. |
Re: AI Script | dmiller | 8/8/11 1:17 a.m. |
Re: AI Script | SonofMacPhisto | 8/8/11 6:11 p.m. |
Re: AI Script | dmiller | 8/8/11 9:54 p.m. |
Seriously dude, you're awesome *NM* | ZackDark | 8/8/11 10:46 p.m. |
Re: AI Script | ZackDark | 8/7/11 11:50 p.m. |
Re: AI Script | Leviathan | 8/8/11 12:11 a.m. |
I also share this question *NM* | ZackDark | 8/8/11 12:13 a.m. |
Re: AI Script | dmiller | 8/8/11 1:21 a.m. |
Re: AI Script | General Vagueness | 8/8/11 1:34 p.m. |
Re: AI Script | FyreWulff | 8/8/11 12:41 a.m. |
Re: AI Script | dmiller | 8/8/11 10:54 a.m. |
Re: AI Script | bluerunner | 8/8/11 11:04 a.m. |
Re: AI Script | dmiller | 8/8/11 8:54 p.m. |
Re: AI Script | FyreWulff | 8/9/11 4:56 p.m. |
Re: AI Script | Hyokin | 8/8/11 11:09 a.m. |
Re: AI Script | RC Master | 8/8/11 1:40 p.m. |
Re: Thanks. | Joe Duplessie (SNIPE 316) | 8/8/11 2:44 p.m. |
Re: Thanks. | General Vagueness | 8/8/11 5:25 p.m. |
x3 thanks for awesome | SonofMacPhisto | 8/8/11 6:06 p.m. |
Combat sandbox and mission design | GhaleonEB | 8/8/11 1:10 a.m. |
Re: Combat sandbox and mission design | dmiller | 8/8/11 1:26 a.m. |
Re: Combat sandbox and mission design | dmiller | 8/8/11 1:29 a.m. |
Re: AI Script | Lord Friendship | 8/8/11 12:33 p.m. |
Re: AI Script | dmiller | 8/8/11 8:55 p.m. |
Re: AI Script | Gravemind | 8/8/11 3:29 p.m. |
Re: AI Script | scarab | 8/8/11 3:49 p.m. |
Re: AI Script | Lurono | 8/8/11 6:52 p.m. |
Re: AI Script | SonofMacPhisto | 8/8/11 7:00 p.m. |
Yes to both *NM* | Lurono | 8/8/11 7:15 p.m. |
Ok, I'm not nuts. Well, I am... but... n/m :) *NM* | SonofMacPhisto | 8/8/11 7:22 p.m. |
Re: AI Script | dmiller | 8/8/11 9:42 p.m. |
Re: AI Script | RC Master | 8/9/11 9:34 a.m. |
Re: AI Script | dmiller | 8/9/11 9:47 p.m. |
Re: AI Script | JonnyOThan | 8/10/11 3:27 p.m. |
Re: AI Script | RC Master | 8/10/11 7:21 p.m. |
Re: AI Script | ZackDark | 8/10/11 10:37 p.m. |
Re: AI Script | Hyokin | 8/10/11 11:36 p.m. |
Re: AI Script | ZackDark | 8/10/11 11:59 p.m. |
Re: AI Script | RC Master | 8/11/11 8:30 p.m. |
343i, hire him too! *NM* | Hyokin | 8/11/11 10:02 p.m. |
Re: 343i, hire him too! | RC Master | 8/13/11 10:34 a.m. |
Re: AI Script | ZackDark | 8/11/11 11:02 p.m. |
Re: AI Script | RC Master | 8/12/11 7:28 a.m. |
Re: AI Script | ZackDark | 8/12/11 6:26 p.m. |
Re: AI Script | dmiller | 8/13/11 2:39 p.m. |
Re: AI Script | FyreWulff | 8/9/11 5:23 p.m. |
Re: AI Script | Lurono | 8/9/11 8:07 p.m. |
The worst kind *NM* | scarab | 8/10/11 1:03 a.m. |
And a serious answer... | Lurono | 8/9/11 8:13 p.m. |
Re: AI Script | dmiller | 8/9/11 9:39 p.m. |
Re: AI Script | ZackDark | 8/9/11 10:37 p.m. |
Re: AI Script | dmiller | 8/9/11 10:41 p.m. |
Re: AI Script | ZackDark | 8/9/11 10:45 p.m. |
Re: AI Script | dmiller | 8/9/11 10:47 p.m. |
Re: AI Script | ZackDark | 8/9/11 10:52 p.m. |
Re: AI Script | dmiller | 8/9/11 11:13 p.m. |
Re: AI Script | scarab | 8/10/11 1:28 a.m. |
Re: AI Script | dmiller | 8/10/11 9:18 a.m. |
Re: AI Script | scarab | 8/11/11 4:49 a.m. |
Re: AI Script | dmiller | 8/11/11 9:49 a.m. |
Re: AI Script | Dagoonite | 8/11/11 10:31 a.m. |
Re: AI Script | RC Master | 8/11/11 11:41 a.m. |
Re: AI Script | dmiller | 8/12/11 1:20 a.m. |
Re: AI Script | RC Master | 8/12/11 7:05 p.m. |
Re: AI Script (ooh! Question!) | RC Master | 8/13/11 5:52 a.m. |
Re: AI Script (ooh! Question!) | dmiller | 8/13/11 2:28 p.m. |
Re: AI Script (ooh! Question!) | dmiller | 8/13/11 2:34 p.m. |
Re: AI Script (ooh! Question!) | RC Master | 8/13/11 8:37 p.m. |
Re: AI Script | General Vagueness | 8/9/11 11:38 p.m. |
Re: AI Script | mrbig | 8/10/11 12:50 a.m. |
Re: AI Script | dmiller | 8/10/11 9:11 a.m. |
Aww crap | RC Master | 8/8/11 7:22 a.m. |
The HBO Forum Archive is maintained with WebBBS 4.33. |