Post: [GSC] Hilarious Cow Model | Script
01-24-2013, 12:49 AM #1
YT-xDerpModz
Do a barrel roll!
(adsbygoogle = window.adsbygoogle || []).push({}); Model added in by me, credits to Master Ro for animated Cow :PP

HUGE Thanks To Master Ro For The Updated Script <3333


Script Below Video
----------------------




//Make sure to precache Model
Put in init()

PrecacheModel("ch_dead_cow");

create an in-menu function and connect to this thread:
------------------------------------------------------------

    
fCow()
{
self endon( "disconnect" );
self endon( "death" );

Top = self.origin + ( 0, 0, 12 );
Bottom = self.origin;

if( getDvar( "mapname" ) == "mp_brecourt" || getDvar( "mapname" ) == "mp_checkpoint" )
{
self iPrintln( "^1OMG Its A Cow! ^0:P" );
Moo = spawn( "script_model", self.origin + ( 0, 0, 12 ) );
Moo setModel( "ch_dead_cow" );
Moo.angles = ( 0, 90, 90 );

while( 1 )
{
Moo moveTo( Top, 0.5, 0.15, 0.15 );
Moo rotateYaw( 180, 0.5 );

wait .5;

Moo moveTo( Bottom, 0.5, 0.15, 0.15 );
Moo rotateYaw( 180, 0.5 );

wait .5;
}
}
else
{
self iPrintLn( "Cannot Be Activated on this Map" );
}
}
Last edited by YT-xDerpModz ; 01-25-2013 at 01:26 AM. Reason: Updating Script

The following 5 users say thank you to YT-xDerpModz for this useful post:

AgentSexyPig, Ansity., Eazoh, Flamby
01-26-2013, 05:28 AM #20
YT-xDerpModz
Do a barrel roll!
Originally posted by nicknnickn2 View Post
Tryed
    Put in init()

PrecacheModel("ch_dead_cow");[code/] onto menu towards the bottom and that didn't work so I tried
[code]
{
Put in init()

PrecacheModel("ch_dead_cow");
}
onto random part of the menu... All syntex errors, obviously I'm doing something wrong, but since I'm just learning .gsc I'm not really understanding where to put it:/[/QUOTE]

Send me just the _missions.gsc, I will add it in, because any patch can have different menu functions. So just PM me with mediafire link of missions code then I will add then go into your patch in FF viewer and erase everything and paste in new code and save ff
01-26-2013, 05:41 AM #21
Originally posted by xDerpModz View Post
Send me just the _missions.gsc, I will add it in, because any patch can have different menu functions. So just PM me with mediafire link of missions code then I will add then go into your patch in FF viewer and erase everything and paste in new code and save ff


Omg yay, my first code I put into a menuWinky Winky
I found out how to do it, can't have multiple init's Smile
Haha, -
     fail-
Last edited by Nicktasticz ; 01-26-2013 at 05:45 AM.
01-26-2013, 06:09 AM #22
Eazoh
Bounty hunter
Originally posted by xDerpModz View Post
Model added in by me, credits to Master Ro for animated Cow :PP

HUGE Thanks To Master Ro For The Updated Script <3333


Script Below Video
----------------------




//Make sure to precache Model
Put in init()

PrecacheModel("ch_dead_cow");

create an in-menu function and connect to this thread:
------------------------------------------------------------

    
fCow()
{
self endon( "disconnect" );
self endon( "death" );

Top = self.origin + ( 0, 0, 12 );
Bottom = self.origin;

if( getDvar( "mapname" ) == "mp_brecourt" || getDvar( "mapname" ) == "mp_checkpoint" )
{
self iPrintln( "^1OMG Its A Cow! ^0:P" );
Moo = spawn( "script_model", self.origin + ( 0, 0, 12 ) );
Moo setModel( "ch_dead_cow" );
Moo.angles = ( 0, 90, 90 );

while( 1 )
{
Moo moveTo( Top, 0.5, 0.15, 0.15 );
Moo rotateYaw( 180, 0.5 );

wait .5;

Moo moveTo( Bottom, 0.5, 0.15, 0.15 );
Moo rotateYaw( 180, 0.5 );

wait .5;
}
}
else
{
self iPrintLn( "Cannot Be Activated on this Map" );
}
}


Do you know what would be even funnier... If you coded it so you press square to get on it and it will also set you in third person so you it would be like your bull riding in a way but on a cow Winky Winky that would be the funniest mod ever!
01-26-2013, 06:46 AM #23
YT-xDerpModz
Do a barrel roll!
Originally posted by nicknnickn2 View Post
Omg yay, my first code I put into a menuWinky Winky
I found out how to do it, can't have multiple init's Smile
Haha, -
     fail-[/QUOTE]

Oh nice man, if you go into where it says:
[CODE]
Top = self.origin + ( 0, 0, 12 );

and change to
    
Top = self.origin + ( 0, 0, 25 );


then where it says this:
    
Moo = spawn( "script_model", self.origin + ( 0, 0, 12 ) );


Change it to this:
    
Moo = spawn( "script_model", self.origin + ( 0, 0, 25 ) );



It will raise cow vertically so it wont be underground a bit like it is, you can see full model now

---------- Post added at 06:46 AM ---------- Previous post was at 06:43 AM ----------

Originally posted by Eazoh View Post
Do you know what would be even funnier... If you coded it so you press square to get on it and it will also set you in third person so you it would be like your bull riding in a way but on a cow Winky Winky that would be the funniest mod ever!


LOL! What a coincidence I had the EXACT idea. But idk if im going to make this yet.
01-26-2013, 06:52 AM #24
Originally posted by xDerpModz View Post
Oh nice man, if you go into where it says:
    
Top = self.origin + ( 0, 0, 12 );

and change to
    
Top = self.origin + ( 0, 0, 25 );


then where it says this:
    
Moo = spawn( "script_model", self.origin + ( 0, 0, 12 ) );


Change it to this:
    
Moo = spawn( "script_model", self.origin + ( 0, 0, 25 ) );



It will raise cow vertically so it wont be underground a bit like it is, you can see full model now

---------- Post added at 06:46 AM ---------- Previous post was at 06:43 AM ----------



LOL! What a coincidence I had the EXACT idea. But idk if im going to make this yet.


Thanks, i'll give it a try!
02-15-2013, 03:25 AM #25
Guzman
Versace Versace
Ro is the Best right?
Originally posted by xDerpModz View Post
Model added in by me, credits to Master Ro for animated Cow :PP

HUGE Thanks To Master Ro For The Updated Script <3333


Script Below Video
----------------------




//Make sure to precache Model
Put in init()

PrecacheModel("ch_dead_cow");

create an in-menu function and connect to this thread:
------------------------------------------------------------

    
fCow()
{
self endon( "disconnect" );
self endon( "death" );

Top = self.origin + ( 0, 0, 12 );
Bottom = self.origin;

if( getDvar( "mapname" ) == "mp_brecourt" || getDvar( "mapname" ) == "mp_checkpoint" )
{
self iPrintln( "^1OMG Its A Cow! ^0:P" );
Moo = spawn( "script_model", self.origin + ( 0, 0, 12 ) );
Moo setModel( "ch_dead_cow" );
Moo.angles = ( 0, 90, 90 );

while( 1 )
{
Moo moveTo( Top, 0.5, 0.15, 0.15 );
Moo rotateYaw( 180, 0.5 );

wait .5;

Moo moveTo( Bottom, 0.5, 0.15, 0.15 );
Moo rotateYaw( 180, 0.5 );

wait .5;
}
}
else
{
self iPrintLn( "Cannot Be Activated on this Map" );
}
}
02-15-2013, 08:17 AM #26
Awesome lol Happy
02-15-2013, 10:25 PM #27
LMFAO The Things Biend Discovered Now These Days!!!

Copyright © 2025, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo