You are viewing our Forum Archives. To view or take place in current topics click here.
[RELEASE] Flyable Models
Posted:
[RELEASE] Flyable ModelsPosted:
Status: Offline
Joined: May 01, 201014Year Member
Posts: 1,459
Reputation Power: 51
Status: Offline
Joined: May 01, 201014Year Member
Posts: 1,459
Reputation Power: 51
Okay, so this is Kiwimoosicals flyable model script, just follow the instructions in the code snippet. Here is a model list to get you started
This version is for use with terminal, you must change the coordinates for every map
Credits:
kiwimoosical
lost4468
ahaloa
ydeznutz
Got from Se7enSins (Flame Shield = ON)
This version is for use with terminal, you must change the coordinates for every map
carSpawner()
{
self setOrigin((300,300,40.5)); //sets the coordinates for you to spawn
racecar = spawn( "script_model", (0,0,40.5) ); //sets the coordinates for the model to spawn
racecar.angles = (0,10,0); //sets the models angles
racecar.targetname = "destructible_vehicle"; //sets the type
racecar.destructible_type = "vehicle_policecar"; //sets the destructable type if it is destructable
racecar setModel( "vehicle_policecar_lapd_destructible" ); //sets the model
racecar common_scripts_destructible::setup_destructibles();
racecar.inUse = 0; //necessary var
for(;;)
{
if(distance(self.origin, racecar.origin) <100 && racecar.inUse == 0)
{
self iPrintlnBold("Press X to use"); //Text
}
if(distance(self.origin, racecar.origin) <100 && self usebuttonpressed() && racecar.inuse == 0)
{
self iPrintlnBold("You are now driving");
racecar.inUse = 1;
self playerlinkto(racecar); //links you to the model
self setPlayerAngles(racecar.angles+(0,0,0)); //sets your angles to the models
self takeAllWeapons(); //deletes weapons
wait 1.0;
}
if(racecar.inUse == 1 && self usebuttonpressed())
{
racecar.inUse = 0;
self unlink(racecar); //unlinks you from the model
self giveWeapon( "deserteaglegold_mp", 0, false ); //gives you gold deagle
wait 1.0;
}
if(racecar.inUse == 1 && self attackbuttonpressed())
{
if(racecar.angles != self.angles+(0,0,0) && racecar.inUse == 1)
{
racecar.angles = self.angles+(0,0,0); //checks to make sure the models angles are equal to yours
}
racecar moveto(racecar.origin+anglestoforward(self getplayerangles())*200, 0.05); //Necessary move function
wait 0.001;
}
wait 0.01;
}
}
Credits:
kiwimoosical
lost4468
ahaloa
ydeznutz
Got from Se7enSins (Flame Shield = ON)
The following 2 users thanked streamzz for this useful post:
NSX (08-26-2010), CallmeDooM (08-26-2010)
#2. Posted:
Status: Offline
Joined: Jul 24, 201014Year Member
Posts: 739
Reputation Power: 28
Status: Offline
Joined: Jul 24, 201014Year Member
Posts: 739
Reputation Power: 28
Lol this actually looks fun i am gonna try this!
- 0useful
- 0not useful
#3. Posted:
Status: Offline
Joined: Feb 17, 201014Year Member
Posts: 107
Reputation Power: 5
Status: Offline
Joined: Feb 17, 201014Year Member
Posts: 107
Reputation Power: 5
dude, this is **** awesome
Lol, flame shield on
Lol, flame shield on
- 0useful
- 0not useful
#4. Posted:
Status: Offline
Joined: Mar 27, 201014Year Member
Posts: 9,760
Reputation Power: 0
Status: Offline
Joined: Mar 27, 201014Year Member
Posts: 9,760
Reputation Power: 0
wow bro this is hawt i wanna drive a car i will wait for someone to make a patch wit hthis lol
- 0useful
- 0not useful
#5. Posted:
Status: Offline
Joined: Jun 01, 201014Year Member
Posts: 2,365
Reputation Power: 133
Status: Offline
Joined: Jun 01, 201014Year Member
Posts: 2,365
Reputation Power: 133
a flying cop car
reminds me of gta
reminds me of gta
- 0useful
- 0not useful
#6. Posted:
Status: Offline
Joined: Jul 14, 201014Year Member
Posts: 5,150
Reputation Power: 283
Status: Offline
Joined: Jul 14, 201014Year Member
Posts: 5,150
Reputation Power: 283
amazing post bro. you should try to code a snowmobile id loveu
- 0useful
- 0not useful
#7. Posted:
Status: Offline
Joined: May 01, 201014Year Member
Posts: 1,459
Reputation Power: 51
Status: Offline
Joined: May 01, 201014Year Member
Posts: 1,459
Reputation Power: 51
TTG_GawLey wrote wow bro this is hawt i wanna drive a car i will wait for someone to make a patch wit hthis lolyeh its pretty baller
- 0useful
- 0not useful
#8. Posted:
Status: Offline
Joined: Mar 06, 201014Year Member
Posts: 638
Reputation Power: 51
Status: Offline
Joined: Mar 06, 201014Year Member
Posts: 638
Reputation Power: 51
IMCxX3N0Nx wrote amazing post bro. you should try to code a snowmobile id loveu
too bad I already made snowmobile.
- 0useful
- 0not useful
#9. Posted:
Status: Offline
Joined: Jul 14, 201014Year Member
Posts: 5,150
Reputation Power: 283
Status: Offline
Joined: Jul 14, 201014Year Member
Posts: 5,150
Reputation Power: 283
B3asTxM0dd3r wrotewell care to show me a video ?IMCxX3N0Nx wrote amazing post bro. you should try to code a snowmobile id loveu
too bad I already made snowmobile.
- 0useful
- 0not useful
#10. Posted:
Status: Offline
Joined: Jul 03, 201014Year Member
Posts: 1,122
Reputation Power: 47
Status: Offline
Joined: Jul 03, 201014Year Member
Posts: 1,122
Reputation Power: 47
o sh it that sick could you put this on any patch?
- 0useful
- 0not useful
You are viewing our Forum Archives. To view or take place in current topics click here.