Originally Posted by
kerocs
I was tryining to spawn some turrets but couldnt get them working besides visually. There is no function like press f available to occupie the turret and shoot with it.
I used following code:
turret1 = spawn("script_model", (2740, 1130, 320) );
turret1 setModel( "weapon_minigun" );
turret1.angles = (0, 180, 0);
what did i do wrong ?
All you are doing is spawning the model, not the turret itself.
Originally Posted by
koliter
Im wondering to do a new mod but i need to know how to find object's names like i know the carepact :
carepack1 = spawn("script_model", (2850, 164, 165) );
carepack1 setModel( "com_plasticcase_friendly" );
carepack1 Solid();
carepack1 CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
can someone leave a list of script model like that?
and im wondering to know how to put a turret that when u press F you can take the turret.
Thnaks for helping me
Next time make your own thread.
But to answer your first question:
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"
And your second is the same:
All you are doing is spawning the model, not the turret itself.
Originally Posted by
GrenadeLaunchers
All you are doing is spawning the model, not the turret itself.
Next time make your own thread.
But to answer your first question:
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"
And your second is the same:
All you are doing is spawning the model, not the turret itself.
Wow i'm dumb, didn't see how old that one thread was.