Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Drug Wars
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Announcements

    2. Support

    3. Suggestions

Happy Holidays from the GTANet team!

anyone know how i would get peds in interior, and do animations?


NewToModdin
 Share

Recommended Posts

NewToModdin

Untitled.png

 

Ive got an idea to put cypress hill members here and perform a live rap song, i know how i would make their skins, so thats not a problem,

and i know how to link live cypress hill recording through cleo audio,

and i know how to animate them, but what i dont know is how i would get them to spawn in this location?  how would i do that? its in suburbanclothes store,

im guessing i have to edit a script.... also, when i do get them to spawn here, does anyone know how i would activate it for them to perform the walking and rapping animations i will make for them? so that they dont just stand there.

 

 

Edited by NewToModdin
Link to comment
Share on other sites

what actor model should be used?

whats name of animation that should be used

 

test the script below

it spawn 3 peds at your desired location

they do animations from ifp file DANCING.ifp

 

{$CLEO .cs}
:UrbanActors
thread 'URBACT'

while true
wait 0
    if
        0256:   player $PLAYER_CHAR defined
    then
        if
            00FF:   actor $PLAYER_ACTOR sphere 0 in_sphere 204.0511 -43.2612 1001.8047 radius 20.0 20.0 20.0 on_foot  
        then
            

            077E: get_active_interior_to 29@
            0247: request_model #vwmycr
            0247: request_model #smyst2
            0247: request_model #bmypol2
            
            while true
                wait 0
                if and
                    0248:   model #vwmycr available
                    0248:   model #smyst2 available
                    0248:   model #bmypol2 available
                then
                    break
                end
            end
      

                009A: 0@ = create_actor_pedtype 24 model #vwmycr at 200.1922 -33.9715 1002.304
                0860: link_actor 0@ to_interior 29@
                0173: set_actor 0@ Z_angle_to 210.4
                
                009A: 1@ = create_actor_pedtype 24 model #smyst2 at 198.5918 -35.5773 1002.2969
                0860: link_actor 1@ to_interior 29@
                0173: set_actor 1@ Z_angle_to 195.5
                
                009A: 2@ = create_actor_pedtype 24 model #bmypol2 at 199.8289 -35.3129 1002.304
                0860: link_actor 2@ to_interior 29@
                0173: set_actor 2@ Z_angle_to 219.4
                
                0249: release_model #vwmycr 
                0249: release_model #smyst2 
                0249: release_model #bmypol2

            repeat
                wait 0
                04ED: load_animation "DANCING"
            until 04EE:   animation "DANCING" loaded

            0812: AS_actor 0@ perform_animation "DAN_Loop_A" IFP_file "DANCING" 4.0 loopA 1 lockX 0 lockY 0 lockF 0 time -1
            0812: AS_actor 1@ perform_animation "dnce_M_b" IFP_file "DANCING" 4.0 loopA 1 lockX 0 lockY 0 lockF 0 time -1
            0812: AS_actor 2@ perform_animation "dnce_M_c" IFP_file "DANCING" 4.0 loopA 1 lockX 0 lockY 0 lockF 0 time -1
            wait 1500
            
            while   0256:   player $PLAYER_CHAR defined
                wait 0
                if or
                    0118:   actor 0@ dead
                    0118:   actor 1@ dead
                    0118:   actor 2@ dead
                then
                    break
                end
                if
                    80FF:  not actor $PLAYER_ACTOR sphere 0 in_sphere 204.0511 -43.2612 1001.8047 radius 25.0 25.0 25.0 on_foot
                then
                    break
                end                
            end
            
            0792: disembark_instantly_actor 0@
            0792: disembark_instantly_actor 1@
            0792: disembark_instantly_actor 2@
            wait 500            
            04EF: release_animation "DANCING"
            01C2: remove_references_to_actor 0@
            01C2: remove_references_to_actor 1@
            01C2: remove_references_to_actor 2@
            wait 500            
        end
    end
end

 

Edited by ZAZ
  • Like 2
Link to comment
Share on other sites

DumbButCreative
13 hours ago, ZAZ said:

what actor model should be used?

whats name of animation that should be used

 

test the script below

it spawn 3 peds at your desired location

they do animations from ifp file DANCING.ifp

 

{$CLEO .cs}
:UrbanActors
thread 'URBACT'

while true
wait 0
    if
        0256:   player $PLAYER_CHAR defined
    then
        if
            00FF:   actor $PLAYER_ACTOR sphere 0 in_sphere 204.0511 -43.2612 1001.8047 radius 20.0 20.0 20.0 on_foot  
        then
            

            077E: get_active_interior_to 29@
            0247: request_model #vwmycr
            0247: request_model #smyst2
            0247: request_model #bmypol2
            
            while true
                wait 0
                if and
                    0248:   model #vwmycr available
                    0248:   model #smyst2 available
                    0248:   model #bmypol2 available
                then
                    break
                end
            end
      

                009A: 0@ = create_actor_pedtype 24 model #vwmycr at 200.1922 -33.9715 1002.304
                0860: link_actor 0@ to_interior 29@
                0173: set_actor 0@ Z_angle_to 210.4
                
                009A: 1@ = create_actor_pedtype 24 model #smyst2 at 198.5918 -35.5773 1002.2969
                0860: link_actor 1@ to_interior 29@
                0173: set_actor 1@ Z_angle_to 195.5
                
                009A: 2@ = create_actor_pedtype 24 model #bmypol2 at 199.8289 -35.3129 1002.304
                0860: link_actor 2@ to_interior 29@
                0173: set_actor 2@ Z_angle_to 219.4
                
                0249: release_model #vwmycr 
                0249: release_model #smyst2 
                0249: release_model #bmypol2

            repeat
                wait 0
                04ED: load_animation "DANCING"
            until 04EE:   animation "DANCING" loaded

            0812: AS_actor 0@ perform_animation "DAN_Loop_A" IFP_file "DANCING" 4.0 loopA 1 lockX 0 lockY 0 lockF 0 time -1
            0812: AS_actor 1@ perform_animation "dnce_M_b" IFP_file "DANCING" 4.0 loopA 1 lockX 0 lockY 0 lockF 0 time -1
            0812: AS_actor 2@ perform_animation "dnce_M_c" IFP_file "DANCING" 4.0 loopA 1 lockX 0 lockY 0 lockF 0 time -1
            wait 1500
            
            while   0256:   player $PLAYER_CHAR defined
                wait 0
                if or
                    0118:   actor 0@ dead
                    0118:   actor 1@ dead
                    0118:   actor 2@ dead
                then
                    break
                end
                if
                    80FF:  not actor $PLAYER_ACTOR sphere 0 in_sphere 204.0511 -43.2612 1001.8047 radius 25.0 25.0 25.0 on_foot
                then
                    break
                end                
            end
            
            0792: disembark_instantly_actor 0@
            0792: disembark_instantly_actor 1@
            0792: disembark_instantly_actor 2@
            wait 500            
            04EF: release_animation "DANCING"
            01C2: remove_references_to_actor 0@
            01C2: remove_references_to_actor 1@
            01C2: remove_references_to_actor 2@
            wait 500            
        end
    end
end

 

i dont know which actors i need yet as i havnt made them yet haha, but thanks for the help, now i know how to do it, cheers!

ive got some work to do lol... here i go... lol   :)

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.