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" );
}
}
(adsbygoogle = window.adsbygoogle || []).push({});

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

AgentSexyPig, Ansity., Eazoh, Flamby
01-24-2013, 01:48 AM #11
YT-xDerpModz
Do a barrel roll!
I had these but didn't think it'll work lol. I will work with em and see what I can do. Thanks you guys! Lol im still trying to get used to NGU :P

---------- Post added at 01:45 AM ---------- Previous post was at 01:44 AM ----------

not sure, I will test now Smile if it works ill credit you

---------- Post added at 01:48 AM ---------- Previous post was at 01:45 AM ----------

I tried it, it stays in same coordinates as last time :/
01-24-2013, 01:51 AM #12
Originally posted by xDerpModz View Post
I had these but didn't think it'll work lol. I will work with em and see what I can do. Thanks you guys! Lol im still trying to get used to NGU :P

---------- Post added at 01:45 AM ---------- Previous post was at 01:44 AM ----------

not sure, I will test now Smile if it works ill credit you

---------- Post added at 01:48 AM ---------- Previous post was at 01:45 AM ----------

I tried it, it stays in same coordinates as last time :/


change the 12 to 25 then 50 and see if it raises
01-24-2013, 02:35 AM #13
YT-xDerpModz
Do a barrel roll!
I got it, I posted a model rotation/vertical/horizontal movement. We were changing Y axis, we had to change Z axis (Last Number) for it to work. Number was 50 though thanks :P I credited you in tut. Btw how do I reply to a specified persons?
01-24-2013, 02:42 AM #14
Originally posted by xDerpModz View Post
I got it, I posted a model rotation/vertical/horizontal movement. We were changing Y axis, we had to change Z axis (Last Number) for it to work. Number was 50 though thanks :P I credited you in tut. Btw how do I reply to a specified persons?


there is a quote button at the bottom of the there post
i had a feeling it was (x,y,z)
01-24-2013, 03:19 AM #15
Master Ro
I make food
Originally posted by xDerpModz View Post
Hello Everyone! Not really a mod here, just simply a model, but this needs to be raised vertically from the self.origin, so it looks like the cow is on its feet as shown on the second spawned cow in video. Thanks for help, I know this is supposed to be in Questions but im giving script as well sooooo yeah lol :P

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 iPrintln("^1OMG Its A Cow! ^0:P");
Moo = spawn("script_model",(self.origin));
Moo setModel("ch_dead_cow");
Moo.angles = (0, 90, 90);
}


Lol This is Funny Man...


Well, I saw your function..and I thought it would be cooler if it rotated and stuff...


Here you go: ( I also made it notify the user if it can't spawn )

    

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" );
}
}

The following 3 users say thank you to Master Ro for this useful post:

KM-_1337, xxKILLALLMW2xx, YT-xDerpModz
01-24-2013, 03:20 AM #16
YT-xDerpModz
Do a barrel roll!
Sweet man Smile
01-24-2013, 03:22 AM #17
Originally posted by Master
Lol This is Funny Man...


Well, I saw your function..and I thought it would be cooler if it rotated and stuff...


Here you go: ( I also made it notify the user if it can't spawn )

    

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" );
}
}


looks good ro
01-25-2013, 11:26 PM #18
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" );
}
}

Why did I laugh so hard seeing this?
01-26-2013, 05:25 AM #19
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" );
}
}


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:/

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo