ceedj Posted August 24, 2009 Share Posted August 24, 2009 (edited) This is the list on GTAModding.com: Number Description0 Player1 CIVMALE2 CIVFEMALE3 COP4 GANG15 GANG26 GANG37 GANG48 GANG59 GANG610 GANG711 GANG812 GANG913 GANG1014 MEDIC15 FIREMAN16 CRIMINAL17 PROSTITUTE How did we come up with this? I only ask because I've seen several examples in the sco code that contradict this. For example, in ambpoledancer, the only create_char reference is this: CREATE_CHAR(5, sub_5ca(), L[3].v0, L[3].v1, L[3].v2, &L[2], 1); while ambinternetcafe shows this: if (L[107]) { CREATE_CHAR(5, L[102], L[103].v0, L[103].v1, L[103].v2, &L[101], 1); } else { CREATE_CHAR(L[118], L[102], L[103].v0, L[103].v1, L[103].v2, &L[101], 1); } (L[118] is 4, which makes sense, as there is at least one internet cafe that has a male at the desk. Overall, I don't get that at ALL, why use up a local variable when it's referenced exactly ONE time in the code; just do CREATE_CHAR 4, etc and be done with it. Ah, those wacky R* programmers. ) Both of these examples would clearly be a female (except L[118], suggesting a male), so following old coding, 4 would be civmale aand 5 would be civfemale. Just curious as to why a gang pedtype (suggested by the list above) would be used instead of a civfemale. I'm sure I mentioned it somewhere else before, but 25 would seem to be special male and 26 would be special female (see the dating sco's for examples of this). Thanks. EDIT: The reason I'm asking is 1) for proper completeness, and 2) because I was trying to point someone in the right direction. In San An, the game will crash if you try to assign a male ped model to type 5 (female); however, any ped created can use 4 (male). Edited August 24, 2009 by ceedj I'm actually not against democracy though. I'm against things I think are f*cking stupid. I think this is f*cking stupid. - Sweets Link to comment Share on other sites More sharing options...
sjaak327 Posted August 24, 2009 Share Posted August 24, 2009 I like to know too It seems that using setrelationsship using 3 for cops, does absolutely nothing. Now, obviously if 3 is actually not used for cops, it would explain why setrelationship does nothing Link to comment Share on other sites More sharing options...
ceedj Posted August 24, 2009 Author Share Posted August 24, 2009 (edited) Excellent example. I'm also finding that my assertion that 25 and 26 are special male and female are right; see Elizabeta, Cia, Cherise, and the dating scripts for examples, which all use 26 as the pedtypes for the female characters. 25 tends to be used in the male missions, like Packie, Bruice, etc. Makes sense, as VC and San An used special actors for those types of missions as well. Edited August 24, 2009 by ceedj I'm actually not against democracy though. I'm against things I think are f*cking stupid. I think this is f*cking stupid. - Sweets Link to comment Share on other sites More sharing options...
ceedj Posted August 27, 2009 Author Share Posted August 27, 2009 (edited) Ok, did some work, this is the list I put together based on what is found in the sco files (1,2 and 3 are guesses based on the previous games). If anyone has any ideas on how to get the rest of it, we'd be happy to hear it. Number Description0 Player 11 Player 22 Player network3 Player Unused4 CIVMALE5 CIVFEMALE6 COP7 GANG1 (Latino)8 GANG2 (Russian)9 GANG3 (Goon?)21 FIREMAN25 SPECIAL 126 SPECIAL 2 EDIT: I'm becoming more convinced that ped type and relationship type are two different classes. Will experiment some more tomorrow. Edited August 27, 2009 by ceedj I'm actually not against democracy though. I'm against things I think are f*cking stupid. I think this is f*cking stupid. - Sweets Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now