Notices

Go Back   FileFront Forums > Main Forums > General Gaming

Remember Me?

General Gaming
THE place to discuss all things gaming!
Includes our Game Subforums, and free Member Exclusive Game Servers!

Reply
 
LinkBack Thread Tools Display Modes
Old April 22nd, 2000   #1
The Internet ends at GF
 
Join Date: April 15th, 2000
108 posts, 0 likes.
Rep Power: 0
Cydronate is a n00b
Send a message via ICQ to Cydronate
Default Messiah engine source code revealed!

Wow, this is juciy! The Messiah souce code here it is:

/*
Actors:
Bob1
Halo
*/


///////////////////////////////////

#define _WeakLittleBaby 8
#define _WeakLittleEvilBaby 9

Fun Stuff

Command 1_#when starting game_crash!
Command 2_when going through doors_crash!
Command 3_when playing movie_no sound!
Command 4_if 800 mhz with 128 mb of RAM detected _ reduce 200 fps!
Command 5_when playing movies_crash to desktop!
Command 6_reduce some more FPS!
Command 7_Crash some more
Command 8_display blue screen of death, every 5 minutes
Command 9_when patch is applied, increase the frequnecy of crashes
Command 10_crash for no reason what so ever

Actor(Bob1)
{
file(bobHeader);
startstate(statenormal);
startaction(BobIdle);
rank(_WeakLittleBaby);

//AI variables. All characters using copgen.hxx needs these defined to work properly
float(_declare,AIControl,0);
float(_declare,AIHideControl,0);
float(_declare,AIUsage,0);
float(_declare,AIAbility,_AIAJump|_AIAClimb|_AIANo CloseUpReaction);
float(_declare,AIManPowerThreshold,300);
float(_declare,AIPowerRatingThreshold,50);
float(_declare,AIGrenadeThrowThreshold,10);

/*
if(vkey==key_a)
{
call(PlaySequence,0); //play end sequence

//call(wCheckViewCollision,-1,-1,-1,0);

#crash some more

_pREtty cool huh?



[This message has been edited by Cydronate (edited 04-23-2000).]
Cydronate is offline   Reply With Quote
Old April 22nd, 2000   #2
I don't spend enough time here
 
Join Date: February 26th, 2000
22 posts, 0 likes.
Rep Power: 0
JohnDon3ille is a n00b
Default

thx - that's really cooool!! Next time I buy a Shiny game, I will only READ the code instead of trying to play it! I wonder if the DAIKATANA-Bugs will give us as much fun as this game (or Ultima9:-))
JohnDon3ille is offline   Reply With Quote
Old April 22nd, 2000   #3
GF Pwns Me!
 
Join Date: April 12th, 2000
46 posts, 0 likes.
Rep Power: 0
JAKhammer is a n00b
Default

Quote:
Originally posted by Cydronate:
Wow, this is juciy! The Messiah souce code here it is:

/*
Actors:
Bob1
Halo
*/


///////////////////////////////////

#define _WeakLittleBaby 8
#define _WeakLittleEvilBaby 9

Fun Stuff

Command 1_#when starting game_crash!
Command 2_when going through doors_crash!
Command 3_when playing movie_no sound!
Command 4_if 800 mhz with 128 mb of RAM detected _ reduce 200 fps!
Command 5_when playing movies_crash to desktop!
Command 6_reduce some more FPS!
Command 7_Crash some more
Command 8_display blue screen of death, every 5 minutes
Command 9_when patch is applied, increase the frequnecy of crashes
Command 10_crash for no reason what so ever

Actor(Bob1)
{
file(bobHeader);
startstate(statenormal);
startaction(BobIdle);
rank(_WeakLittleBaby);

//AI variables. All characters using copgen.hxx needs these defined to work properly
float(_declare,AIControl,0);
float(_declare,AIHideControl,0);
float(_declare,AIUsage,0);
float(_declare,AIAbility,_AIAJump|_AIAClimb|_AIANo CloseUpReaction);
float(_declare,AIManPowerThreshold,300);
float(_declare,AIPowerRatingThreshold,50);
float(_declare,AIGrenadeThrowThreshold,10);

/*
if(vkey==key_a)
{
call(PlaySequence,0); //play end sequence

//call(wCheckViewCollision,-1,-1,-1,0); //fade to black
//call(wCheckViewCollision,0,0,-2,-1); //fade to white
//call(CDSwap,7,0,100,60); //example: new track, newloopstate, new vol, fade time
//call(HUDTimerSet,1800); //example: starts displaying and counting down from 60 seconds :: call once, not every frame!
}


if(vkey==key_b)
{
//call(wCheckViewCollision,-1,-1,-1,0); //fade to black
//call(wCheckViewCollision,0,0,0,0); //fade to white
//call(CDSwap,7,0,100,60); //example: new track, newloopstate, new vol, fade time
//call(HUDTimerSet,1800); //example: starts displaying and counting down from 60 seconds :: call once, not every frame!
}
*/


#include "messiahscripts\BobGen.hxx"

}

Actor(EvilBob)
{
file(EvilBobHeader);
startstate(statenormal);
startaction(BobIdle);
rank(_WeakLittleEvilBaby);

//AI variables. All characters using copgen.hxx needs these defined to work properly
float(_declare,AIControl,0);
float(_declare,AIHideControl,_AIHCInRoute);
float(_declare,AIUsage,_AIUAlwaysRun|_AIUFindHost) ;
float(_declare,AIAbility,_AIAJump|_AIAClimb|_AIAPo ssesion|_AIANoCloseUpReaction|_AIANoBoneCollision) ;
float(_declare,AIManPowerThreshold,300);
float(_declare,AIPowerRatingThreshold,50);
float(_declare,AIGrenadeThrowThreshold,10);

float(_declare,firefeet,0);

float(_declare,ScaleEBob,1); //evil bob only


printi("Evilbob target: ",VAIhastarget);
printih("Evilbob targetclass: ",VAItargetclass);
if(VAItargetclass==_AIclassAngel)
{
print("clearing target");
call(AIclrtarget);
}


#include "messiahscripts\enemies\CopGen.hxx"

if(VActiveTime==1)
{
spawnactor(EvilHalo,0,0,0);
call(CheckForPickup,4,_ClassPickup);

ChangeMaterialFlags(_or,7,_SXMChromaKey,255);

//call(SubtractHealth,0,-3000); //bob full health after a depossess (just for now)
}

if(Vaction==EBobHeelTap)
{
if(VFrame>=25)
{
call(SetParticleSetID,"s1r8");
float(_sub,ScaleEBob,0.13);
scalebonematrix(0,ScaleEBob,ScaleEBob,ScaleEBob,_S XBoneAttAbsolute);
}
if(VFrame==32)
{
KillActor();
}
}


if(VTrigger!=_DIRwalking)
{
if(VTrigger==_DIRforward| |Vtrigger==_DIRleft| |Vtrigger==_DIRright| |Vtrigger==_DIRsideleft| |Vtrigger==_DIRsideright| |Vtrigger==_DIRbackward)
{
spawnparticle(fx_evilfire,20,emptyvector,EmptyVect or,-1);
if(firefeet==0)
{
sample(SFXGenericBurn,-1,25);
}
float(_set,firefeet,1);
}
else
{
if(firefeet==1)
{
samplestop(SFXGenericBurn);
}
float(_set,firefeet,0);
}
}
else
{
if(firefeet==1)
{
samplestop(SFXGenericBurn);
}
float(_set,firefeet,0);
}
}

Actor(chotdwarf)
{
file(ChotdwarfHeader);

rank(_RankSergeantL);

startstate(statenormal);
startaction(BobIdle);

//AI variables. All characters using copgen.hxx needs these defined to work properly
float(_declare,AIControl,0);
float(_declare,AIHideControl,_AIHCInRoute);
float(_declare,AIUsage,_AIUAlwaysRun|_AIUCrowdArou ndLeader);
float(_declare,AIAbility,_AIAJump|_AIAFlashVisors| _AIASpecialSecondaryWeapon|_AIANoCloseUpReaction|_ AIANoBoneCollision);
float(_declare,AIManPowerThreshold,300);
float(_declare,AIPowerRatingThreshold,50);
float(_declare,AIGrenadeThrowThreshold,10);

#include "messiahscripts\enemies\CopGen.hxx"
}


Actor(Halo)
{
file(HaloHeader);
startaction(nomove);

//float(_declare,HaloTrans,30);
vector(_declare,HaloPos,0,25,0);
vector(_declare,HaloPos1,0,0,0);
vector(_declare,HaloPos2,0,0,0);
vector(_declare,HaloPos3,0,0,0);
vector(_declare,HaloPos4,0,0,0);
vector(_declare,HaloOuterPos,0,0,0);
float(_declare,RndAngle,0);
float(_declare,Fader,255);
float(_declare,FaderDirection,-20);

vector(_copy,HaloPos4,HaloPos3);
vector(_copy,HaloPos3,HaloPos2);
vector(_copy,HaloPos2,HaloPos1);
vector(_settoactorpos,HaloPos1);


if(VState==StateAttached)
{
print("incoming ",incoming);
if(InComing==0)
{
call(ModelAmbient,255,255,255);
}
else
{
// vector(_copy,CharOffset,HaloPos1);
// vector(_addy,CharOffset,-80);
// vector(_set,TmpVector,0,0,0);
// vector(_setx,TmpVector,Fader);
// spawnlight(HeavyCopSearchLight,-1,CharOffset,TmpVector,EmptyVector,90);
call(ModelAmbient,255,Fader,255);
float(_add,Fader,FaderDirection);
if(Fader<0)
{
float(_set,Fader,0);
float(_inv,FaderDirection);
}
elseif(Fader>255)
{
float(_set,Fader,255);
float(_inv,FaderDirection);
}
}


if(VSniperMode==0 && VFirstPerson==0)
{
call(ChangeAlpha,40);
//call(ReDrawActor,halopos1);
//call(ChangeAlpha,30);
//call(ReDrawActor,halopos2);
//call(ChangeAlpha,20);
//call(ReDrawActor,halopos3);
//call(ChangeAlpha,10);
}


//limit length of halo trail ----->
/*
vector(_declare,halot,0,0,0); //tmp pos
vector(_declare,halon,0,0,0); //new pos
vector(_declare,halod,-1,-1,-1); //delta

vector(_copy,halot,halopos1);
vector(_sub,halot,halopos2);
vector(_normalize,halot); //yarK

vector(_copy,halon,halot);
vector(_mul,halon,halod);
vector(_add,halon,halopos1);
//call(ChangeAlpha,10);
call(ReDrawActor,halon);

//vector(_set,halod,-1,-1,-1);
//vector(_copy,halon,halot);
//vector(_mul,halon,halod);
//vector(_add,halon,halopos1);

//call(ChangeAlpha,20);
//call(ReDrawActor,halon);

//vector(_set,halod,0,0,0);
//vector(_copy,halon,halot);
//vector(_mul,halon,halod);
//vector(_add,halon,halopos1);

//call(ChangeAlpha,30);
//call(ReDrawActor,halon);
*/
//<------limit length of halo trail


if(vrnd<50 && VSniperMode==0 && VFirstPerson==0)
{
float(_rnd,RndAngle,4096);
vector(_vectorfromangle,HaloOuterPos,RndAngle,20);
vector(_add,HaloOuterPos,HaloPos);
SpawnParticle(fx_Halo,0,HaloOuterPos,emptyVector,-1);
}

if(vtrigger==_DIRdepossesion)
{
killactor();
}

if(VRank==_WeakLittleBaby)
{
if(Vstate!=StateOnFire)
{
//vector(_declare,bbbcolor,120,75,000);
vector(_declare,bbbcolor,10,20,30);
SpawnLight(LomnilightAllSets,0,EmptyVector,bbbcolo r,EmptyVector,250);
}
}
}
}

Actor(EvilHalo)
{
file(EvilHaloHeader);
startaction(nomove);

//float(_declare,HaloTrans,30);
vector(_declare,HaloPos,0,25,0);
vector(_declare,HaloPos1,0,0,0);
vector(_declare,HaloPos2,0,0,0);
vector(_declare,HaloPos3,0,0,0);
vector(_declare,HaloPos4,0,0,0);
float(_declare,RndAngle,0);
vector(_declare,HaloOuterPos,0,0,0);

vector(_copy,HaloPos4,HaloPos3);
vector(_copy,HaloPos3,HaloPos2);
vector(_copy,HaloPos2,HaloPos1);
vector(_settoactorpos,HaloPos1);

if(VState==StateAttached)
{
if(VSniperMode==0 && VFirstPerson==0)
{
call(ChangeAlpha,80);
//call(ReDrawActor,halopos1);
//call(ChangeAlpha,30);
//call(ReDrawActor,halopos2);
//call(ChangeAlpha,20);
//call(ReDrawActor,halopos3);
//call(ChangeAlpha,10);
}


//limit length of halo trail ----->
/*
vector(_declare,halot,0,0,0); //tmp pos
vector(_declare,halon,0,0,0); //new pos
vector(_declare,halod,-1,-1,-1); //delta

vector(_copy,halot,halopos1);
vector(_sub,halot,halopos2);
vector(_normalize,halot); //yarK

vector(_copy,halon,halot);
vector(_mul,halon,halod);
vector(_add,halon,halopos1);
//call(ChangeAlpha,10);
call(ReDrawActor,halon);

//vector(_set,halod,-1,-1,-1);
//vector(_copy,halon,halot);
//vector(_mul,halon,halod);
//vector(_add,halon,halopos1);

//call(ChangeAlpha,20);
//call(ReDrawActor,halon);

//vector(_set,halod,0,0,0);
//vector(_copy,halon,halot);
//vector(_mul,halon,halod);
//vector(_add,halon,halopos1);

//call(ChangeAlpha,30);
//call(ReDrawActor,halon);
*/
//<------limit length of halo trail


if(vrnd<50 && VSniperMode==0 && VFirstPerson==0)
{
float(_rnd,RndAngle,4096);
vector(_vectorfromangle,HaloOuterPos,RndAngle,20);
vector(_add,HaloOuterPos,HaloPos);
SpawnParticle(fx_Halo,0,HaloOuterPos,emptyVector,-1);
}

if(vtrigger==_DIRdepossesion)
{
killactor();
}

if(VRank==_WeakLittleBaby)
{
if(Vstate!=StateOnFire)
{
//vector(_declare,bbbcolor,120,75,000);
vector(_declare,bbbcolor,10,20,30);
SpawnLight(LomnilightAllSets,0,EmptyVector,bbbcolo r,EmptyVector,250);
}
}
}
}


#crash some more

_pREtty cool huh?

Man are you BORED or what?
JAKhammer is offline   Reply With Quote
Old April 22nd, 2000   #4
I want to be like the Admins
 
Join Date: April 12th, 2000
241 posts, 0 likes.
Rep Power: 0
-PuppetMaster- is a n00b
Send a message via ICQ to -PuppetMaster-
Default

We have the source code... but wheres a level editor??? lol.. Shiny! I want to make Messiah mods!!
-PuppetMaster- is offline   Reply With Quote
Old April 22nd, 2000   #5
The Internet ends at GF
 
Join Date: February 12th, 2000
109 posts, 0 likes.
Rep Power: 0
Felix of Mars is a n00b
Default

If only all my source code looked that good *hehe*

Felix.
Felix of Mars is offline   Reply With Quote
Old April 22nd, 2000   #6
I want to be like Revenge
 
Join Date: January 10th, 2000
358 posts, 0 likes.
Rep Power: 34
Torg is a n00b
Default

uuuuhhmm.... you mean you have the SCRIPT code, not the SOURCE code....

big difference =)
Torg is offline   Reply With Quote
Old April 22nd, 2000   #7
The Internet ends at GF
 
Join Date: April 15th, 2000
108 posts, 0 likes.
Rep Power: 0
Cydronate is a n00b
Send a message via ICQ to Cydronate
Default

hehe

I doubt any programmers at Shiny can tell the difference

;8-)
Cydronate is offline   Reply With Quote
Old April 22nd, 2000   #8
The Internet ends at GF
 
Join Date: April 15th, 2000
108 posts, 0 likes.
Rep Power: 0
Cydronate is a n00b
Send a message via ICQ to Cydronate
Default

All programmers at Shiny are all too busy trying to get some people to play Unreal Tournament with them, instead of thinking of a friggin' descent patch for this **** crammed game

Note to Shiny; no one gives f**k (well, maybe a few people) about playing UT with you. we just need a fix for this game
Cydronate is offline   Reply With Quote
Old April 22nd, 2000   #9
The Internet ends at GF
 
Join Date: February 12th, 2000
109 posts, 0 likes.
Rep Power: 0
Felix of Mars is a n00b
Default

Well I though it looked a bit too neat to be source code... But what would I know I can't even display a 3D box on screen yet :-)
Felix of Mars is offline   Reply With Quote
Old April 22nd, 2000   #10
The Internet ends at GF
 
Join Date: April 15th, 2000
108 posts, 0 likes.
Rep Power: 0
Cydronate is a n00b
Send a message via ICQ to Cydronate
Default

Hehe

This is just a scrip that I found in one of the folders of Messiah, and I opened it in NOTEPAD. Yes I knew it is NOT the source code. I just copy pasted a bunch of incoherent lines. But that was not the point.

---Take a second look at my message (the very first one on this thread). I added a bunch of so called "commands" (i know it is kinda stupid) just to get a point across.

They are right in the beggining; I thought people would see it right away, well, it seems the joke's on me since few people actually saw these humorous "commands" that I added. If you didn't, take a second look.
Cydronate is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
JK on the Source engine C1nical SW:JK3 Modding, Mapping and Editing 24 May 18th, 2010 02:03 PM
EF Engine Source Campaign -=TiM=- ST:EF Modding, Mapping and Editing 1 January 17th, 2006 01:59 PM
New Cinder Engine Demo and Source code FF|Pro-Filer Tech Discussion 0 November 20th, 1999 03:18 PM


All times are GMT -7.







   
 





This site is part of the Defy Media Gaming network

The best serving of video game culture, since 2001. Whether you're looking for news, reviews, walkthroughs, or the biggest collection of PC gaming files on the planet, Game Front has you covered. We also make no illusions about gaming: it's supposed to be fun. Browse gaming galleries, humor lists, and honest, short-form reporting. Game on!

FileFront Forums - Terms of Service - Top
Theme Selection
Copyright © 2002-2016 Game Front. All rights reserved. Powered by vBulletin®
Copyright ©2000 - 2016, vBulletin Solutions, Inc.
Forum Theme by Danny King (FileTrekker), Sheepeep & Graeme(rs)
RSS Feed Widget by FeedWind