Thread: A Noob Question

Results 1 to 8 of 8
  1. #1
    Wolfeman's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    look behind you
    Posts
    137
    Reputation
    10
    Thanks
    8
    My Mood
    Tired

    A Noob Question

    hey im just wondering how do u spawn objects in the Mapedit.gsc by Objectes i mean like ac130, sex dolls :P and planes
    BEST CL PATCH EVER!!!

  2. #2
    mathieutje12's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Close to my PC
    Posts
    578
    Reputation
    14
    Thanks
    165
    My Mood
    Angelic
    U mean this ?:

    Code:
    CreateTank(pos, angle)
    {
    	
            tank = spawn("script_model", pos );
            tank setModel("vehicle_m1a1_abrams_d_static");
            tank.angles = angle;
            tank Solid();
            tank CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
            wait 0.01;
    	
    }

  3. The Following User Says Thank You to mathieutje12 For This Useful Post:

    Wolfeman (10-11-2010)

  4. #3
    justas1234's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    153
    Reputation
    10
    Thanks
    51
    My Mood
    Bored
    Heh! Nice!

  5. #4
    Wolfeman's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    look behind you
    Posts
    137
    Reputation
    10
    Thanks
    8
    My Mood
    Tired
    Quote Originally Posted by mathieutje12 View Post
    U mean this ?:

    Code:
    CreateTank(pos, angle)
    {
    	
            tank = spawn("script_model", pos );
            tank setModel("vehicle_m1a1_abrams_d_static");
            tank.angles = angle;
            tank Solid();
            tank CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
            wait 0.01;
    	
    }
    instead of tank could u b able to do other objects
    BEST CL PATCH EVER!!!

  6. #5
    [WhA]4FunPlayin's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    Not here
    Posts
    757
    Reputation
    8
    Thanks
    169
    My Mood
    Lonely
    Quote Originally Posted by mathieutje12 View Post
    U mean this ?:

    Code:
    CreateTank(pos, angle)
    {
    	
            tank = spawn("script_model", pos );
            tank setModel("vehicle_m1a1_abrams_d_static");
            tank.angles = angle;
            tank Solid();
            tank CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
            wait 0.01;
    	
    }
    Would never work, all tank models are disabled/doesn't work + you give it a collision of a carepackage.

  7. #6
    justas1234's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    153
    Reputation
    10
    Thanks
    51
    My Mood
    Bored
    Yeah and you need to know whats the colision code for all of the models :P Unledd you are somekind of a IW group member that scripted the maps or NOT (No effence but what [WhA]4FunPlayin said.. )

  8. #7
    TheSaboteur's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    wasteland,church
    Posts
    454
    Reputation
    10
    Thanks
    30
    My Mood
    Goofy
    i got the greast obj ever =D

    but i do it a more simple way! :

    just:
    Code:
    ac1 = spawn("script_model", (-7207, 3901, 1138));
    ac1 setModel( "vehicle_ac130_low_mp" );
    ac1 CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
    ac1.angles = (0, 120, 0);


    here are some nice one's just from the list..
    Code:
    "vehicle_b2_bomber"
    "vehicle_av8b_harrier_jet_mp"
    "vehicle_av8b_harrier_jet_opfor_mp"
    "vehicle_mig29_desert"
    "tag_origin"
    "projectile_cbu97_clusterbomb"
    "c130_zoomrig"
    "vehicle_uav_static_mp"
    "vehicle_little_bird_minigun_right"
    "sentry_minigun"
    "weapon_minigun"
    "vehicle_m1a1_abrams_d_static"
    "vehicle_ac130_coop"
    "com_plasticcase_friendly"
    "com_plasticcase_enemy"
    "vehicle_little_bird_armed"
    "vehicle_ac130_low_mp"
    "sentry_minigun_folded"



    Bring a Ding Ding Baby!

  9. #8
    Wolfeman's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    look behind you
    Posts
    137
    Reputation
    10
    Thanks
    8
    My Mood
    Tired
    soo where
    do i put the code
    BEST CL PATCH EVER!!!

Similar Threads

  1. Noob question.
    By Homedawg68 in forum Combat Arms Hacks & Cheats
    Replies: 1
    Last Post: 12-14-2008, 06:35 PM
  2. Noob Question
    By JustKnowMe in forum General
    Replies: 5
    Last Post: 12-14-2008, 06:03 PM
  3. noob question
    By rambuki in forum WarRock - International Hacks
    Replies: 3
    Last Post: 01-15-2008, 02:09 PM
  4. Noob question
    By thedrowningfish in forum Visual Basic Programming
    Replies: 7
    Last Post: 12-04-2007, 09:22 AM
  5. Hacking world of warcraft? & a noob question
    By arsholio in forum General Game Hacking
    Replies: 9
    Last Post: 04-08-2006, 02:55 PM

Tags for this Thread