Resident Evil: Outbreak File # 3

The GTA:SA/RE4/3D Mod Forum
 
HomeHome  PortalPortal  FAQFAQ  SearchSearch  MemberlistMemberlist  UsergroupsUsergroups  RegisterRegister  Log in  

Share | 
 

 Scripting Questions

View previous topic View next topic Go down 
AuthorMessage
MenaceMovies
Crimson Head
Crimson Head
avatar

Number of posts : 21
Registration date : 2008-03-12

PostSubject: Scripting Questions   Sun Apr 20, 2008 12:52 pm

Hi,

I am kinda new at scripting with San Andreas but I have done some simple things like added cars and weapon pickups to certain positions, and I do understand opcodes (I think) I have some simple questions which HOPFULY have simple answers to them aswell.

1) How will I make pedestrians spawn in a certain position, like if I wanted them to spawn in mount chilliad what could I do? Do I use cordinates, if so where do I put them (which opcode)?

2) How do I make it so when somone selects "New Game" CJ spawns with the Army skin?

That's it for now, thanks alot.
Back to top Go down
View user profile
zombie.modder
Zombie
Zombie


Number of posts : 10
Registration date : 2008-03-13

PostSubject: Re: Scripting Questions   Tue Apr 22, 2008 8:36 pm

Quote :
How will I make pedestrians spawn in a certain position, like if I wanted them to spawn in mount chilliad what could I do? Do I use cordinates, if so where do I put them (which opcode)?


This script is for CLEO3 peds placing

Quote :
{$CLEO .cs}

:LABEL_0
03A4: name_thread 'ACTTE01'

:LABEL_1
0247: load_model #HFORI
038B: load_requested_models
009A: 0@ = create_actor_pedtype 4 model #HFORI at 0.0 0.0 0.0
0173: set_actor 0@ Z_angle_to 262.0

:LABEL_2
0001: wait 0 ms
0002: jump @LABEL_2







search this code in your main.scm

087B: set_player $PLAYER_CHAR clothes "VEST" "VEST" body_part 0
087B: set_player $PLAYER_CHAR clothes "JEANSDENIM" "JEANS" body_part 2
087B: set_player $PLAYER_CHAR clothes "SNEAKERBINCBLK" "SNEAKER" body_part 3
087B: set_player $PLAYER_CHAR clothes "PLAYER_FACE" "HEAD" body_part 1


>>>Txd-name
>>> Dff-name
>>> Body-Part-ID


Code:
0=torso
1=haircut
2=legs
3=feet
13=chains
14=watches
15=shades
16=hats
17=special (aka full body)



Greetz!
Back to top Go down
View user profile http://gtamods.foren-city.de
MenaceMovies
Crimson Head
Crimson Head
avatar

Number of posts : 21
Registration date : 2008-03-12

PostSubject: Re: Scripting Questions   Mon Apr 28, 2008 11:11 pm

Thanks alot man, you rock.
Back to top Go down
View user profile
zombie.modder
Zombie
Zombie


Number of posts : 10
Registration date : 2008-03-13

PostSubject: Re: Scripting Questions   Sat May 03, 2008 2:01 pm

no problem
Back to top Go down
View user profile http://gtamods.foren-city.de
Sponsored content




PostSubject: Re: Scripting Questions   

Back to top Go down
 
Scripting Questions
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» Driver Hotswap to AI Questions
» New to the game: questions/comments
» 40k Tournament sportsmanship questions
» V8 Supercars Series 2012 Questions
» New To Dark Eldar and full of questions

Permissions in this forum:You cannot reply to topics in this forum
Resident Evil: Outbreak File # 3 :: GTA SA Modding :: Editing Discussion-
Jump to: