Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsCog Forum → Resident Evil-esque gameplay
Resident Evil-esque gameplay
2004-01-01, 9:11 PM #1
I was toying around with this, and realized it wouldn't be that hard. Remove the pitch up/down, slow down the walk speed (with new anim), and a dynamic camera system. Which is what I really wanted to talk about:

-The camera system would essentially rely on invisible 3dos rather than adjoins to change cameras. When a new 3do is touched, the camera changes to that 3do's point of view. The invisible camera 3do is actually a somewhat spherical shape that would come in different sizes. When the 3do is touched, the camera changes to the new 3do's POV. It would keep that POV until another is touched, creating a very simple dynamic camera system to work with.

Thing is, would it work? In theory, it would. It could use a pulse, which would check to see if the player 'touched' or 'entered' the 3do. Then the camera changes to the 3do, and the camera is locked: meaning that as long as it keeps getting the current 3do, it will return. It will not keep setting the same camera over and over. But, if it finds a new one, it would change to that one. What do you all think? It seems simple enough, and when I take a break from JA editing, I may try it.

------------------
-There are easier things in life than finding a good woman, like nailing Jello to a tree, for instance

-Tazz
-There are easier things in life than finding a good woman, like nailing Jello to a tree, for instance

Tazz
2004-01-01, 10:14 PM #2
Well, i don't know how you would find if a player is touching a 3do with collide 0. I think adjoins setting the camera changes would be much more practical. And i think it is very possible to make a resident evil-type mission, and i would really like to play such a mission.

------------------
One day, after everybody else quits, I'll be the best.
Sith Mercenaries
^My site.
One day, after everybody else quits, I'll be the best.
Sith Mercenaries
^My site.
2004-01-01, 11:16 PM #3
Been there done that [http://forums.massassi.net/html/smile.gif]

It's very easy actually. You may have mine and work more on it (Wait until I get home).

------------------
There is no emotion; there is peace. There is no ignorance; there is knowledge. There is no passion; there is serenity. There is no death; there is the Force

-The Jedi Code
There is no emotion; there is peace. There is no ignorance; there is knowledge. There is no passion; there is serenity. There is no death; there is the Force

-The Jedi Code
2004-01-02, 12:28 AM #4
If it wouldn't send a message on a collide-0 3do, then the collide type could be set to 'faces' (forget the number) and as soon as the player touches it, it goes to 0, when the player touches a new camera, it gets set to 0 and the previous one goes back to normal.

BTW, the reason I'm doing it this way is because then authors can easily add RE style gameplay to any level.

------------------
-There are easier things in life than finding a good woman, like nailing Jello to a tree, for instance

-Tazz
-There are easier things in life than finding a good woman, like nailing Jello to a tree, for instance

Tazz
2004-01-02, 1:40 AM #5
The cog I made use sectors, but it could be modified to use things.

------------------
There is no emotion; there is peace. There is no ignorance; there is knowledge. There is no passion; there is serenity. There is no death; there is the Force

-The Jedi Code
There is no emotion; there is peace. There is no ignorance; there is knowledge. There is no passion; there is serenity. There is no death; there is the Force

-The Jedi Code
2004-01-02, 6:05 AM #6
Yeah Tazz, i understand why u wanna use things now. Only thing I would be worried about is if the player is gonna be stopped, even for just a fraction of a second, when he touches a new camera zone. I'm not sure how fast a 3do's collide type could be changed, but if its a SP lvl, I don't see why it wouldn't be instantanious.

------------------
One day, after everybody else quits, I'll be the best.
Sith Mercenaries
^My site.
One day, after everybody else quits, I'll be the best.
Sith Mercenaries
^My site.
2004-01-02, 7:44 AM #7
It's been done. I'm making an adventure level that uses a similar concept but, like Dash, I use sectors as the trigger to govern camera-switching.

If you need any of my cogs, I can post them when I get home. And Dash, could I take a look at that too, for comparison and personal amusement? (grismath@nmgoh.com)
Cordially,
Lord Tiberius Grismath
1473 for '1337' posts.
2004-01-02, 1:20 PM #8
Code:
# Jedi Knight Cog Script
#
# adventure_cam.COG
#
# This script will make cameras switch as in adventure games.
#
# [Andreas Nor]
#
#==============================================================#
flags=0x240
#==============================================================#
symbols

thing     player       desc=player_thing
thing     camera1      desc=camera_ghost
thing     camera2      desc=camera_ghost
thing     camera3      desc=camera_ghost
thing     camera4      desc=camera_ghost
thing     camera5      desc=camera_ghost
thing     camera6      desc=camera_ghost
thing     camera7      desc=camera_ghost
thing     camera8      desc=camera_ghost
thing     camera9      desc=camera_ghost
thing     camera10     desc=camera_ghost

sector    sector1      linkid=1
sector    sector2      linkid=2
sector    sector3      linkid=3
sector    sector4      linkid=4
sector    sector5      linkid=5
sector    sector6      linkid=6
sector    sector7      linkid=7
sector    sector8      linkid=8
sector    sector9      linkid=9
sector    sector10     linkid=10

int       old_camera   local

message   startup
message   entered

end
#==============================================================#
code
#------------------------------------------------------
startup:
	old_camera = GetCurrentCamera();
	SetCurrentCamera(0);
	SetCameraFocus(0, camera1);

Return;
#------------------------------------------------------
entered:
	if(GetSenderID() == 1)
	{
		SetCurrentCamera(0);
		SetCameraFocus(0, camera1);
		Return;
	}
	if(GetSenderID() == 2)
	{
		SetCurrentCamera(0);
		SetCameraFocus(0, camera2);
		Return;
	}
	if(GetSenderID() == 3)
	{
		SetCurrentCamera(0);
		SetCameraFocus(0, camera3);
		Return;
	}
	if(GetSenderID() == 4)
	{
		SetCurrentCamera(0);
		SetCameraFocus(0, camera4);
		Return;
	}
	if(GetSenderID() == 5)
	{
		SetCurrentCamera(0);
		SetCameraFocus(0, camera5);
		Return;
	}
	if(GetSenderID() == 6)
	{
		SetCurrentCamera(0);
		SetCameraFocus(0, camera6);
		Return;
	}
	if(GetSenderID() == 7)
	{
		SetCurrentCamera(0);
		SetCameraFocus(0, camera7);
		Return;
	}
	if(GetSenderID() == 8)
	{
		SetCurrentCamera(0);
		SetCameraFocus(0, camera8);
		Return;
	}
	if(GetSenderID() == 9)
	{
		SetCurrentCamera(0);
		SetCameraFocus(0, camera9);
		Return;
	}
	if(GetSenderID() == 10)
	{
		SetCurrentCamera(0);
		SetCameraFocus(0, camera10);
		Return;
	}

Return;
#------------------------------------------------------
end


Hope this helps [http://forums.massassi.net/html/smile.gif]

------------------
There is no emotion; there is peace. There is no ignorance; there is knowledge. There is no passion; there is serenity. There is no death; there is the Force

-The Jedi Code

[This message has been edited by Dash (edited January 02, 2004).]
There is no emotion; there is peace. There is no ignorance; there is knowledge. There is no passion; there is serenity. There is no death; there is the Force

-The Jedi Code
2004-01-02, 6:39 PM #9
Cleaned it up a bit, for Pele's sake... [http://forums.massassi.net/html/wink.gif]

Code:
# Jedi Knight Cog Script
#
# adventure_cam.COG
#
# This script will make cameras switch as in adventure games.
#
# [Andreas Nor] (Cleaned up by gbk for Pele's sake)
#
flags=0x240
symbols

thing player		Local
thing camera0
thing camera1
thing camera2
thing camera3
thing camera4
thing camera5
thing camera6
thing camera7
thing camera8
thing camera9

sector sector0 linkid=0
sector sector1 linkid=1
sector sector2 linkid=2
sector sector3 linkid=3
sector sector4 linkid=4
sector sector5 linkid=5
sector sector6 linkid=6
sector sector7 linkid=7
sector sector8 linkid=8
sector sector9 linkid=9

message startup
message entered

Int I=0			Local

end
code
startup:
SetCurrentCamera(0);
SetCameraFocus(0, camera0);
Return;

entered:
For(I=0;I<10;I=I+1)
{
	If(GetSenderID() == I)
	{
		SetCurrentCamera(0);
		SetCameraFocus(0, camera0);
	}
}
Stop;
End


To anyone who says something about me spacing the code; SHUT UP. Im getting lazy in my old age.....


[hehehe, forgot teh 'END' bit of it... [http://forums.massassi.net/html/redface.gif]]
------------------
The future is here, and all bets are off.

[This message has been edited by GBK (edited January 03, 2004).]
And when the moment is right, I'm gonna fly a kite.
2004-01-02, 7:23 PM #10
You can use Stop; instead of Return;? or is that a typo?

------------------
One day, after everybody else quits, I'll be the best.
Sith Mercenaries
^My site.
One day, after everybody else quits, I'll be the best.
Sith Mercenaries
^My site.
2004-01-02, 8:55 PM #11
I dunno, I'm still partial to things. They don't require any cleaving, and having different size sphere 3dos assure that it's much more dynamic. You can have angles exact without lots of precise cleaving. That's how I'd do it anyway.

------------------
-There are easier things in life than finding a good woman, like nailing Jello to a tree, for instance

-Tazz
-There are easier things in life than finding a good woman, like nailing Jello to a tree, for instance

Tazz
2004-01-03, 1:51 AM #12
GBK: I did it like that to be able to modify each camera individualy.

------------------
There is no emotion; there is peace. There is no ignorance; there is knowledge. There is no passion; there is serenity. There is no death; there is the Force

-The Jedi Code
There is no emotion; there is peace. There is no ignorance; there is knowledge. There is no passion; there is serenity. There is no death; there is the Force

-The Jedi Code
2004-01-03, 3:58 AM #13
To ask for him. uhhh...why?
Then my own, how is each camera modified individually?

------------------
The Sniper Missions. Current project, The Sniper Missions

The Magician Saber System.

The 2 riddle!

[This message has been edited by Descent_pilot (edited January 03, 2004).]
Major projects working on:
SATNRT, JK Pistol Mod, Aliens TC, Firearms

Completed
Judgement Day (HLP), My level pack
2004-01-03, 6:32 AM #14
T'is no typo SM_Sith_Lord - "stop;" is used in some of the LEC cogs; its purpose being exactly the same as "return;" [http://forums.massassi.net/html/smile.gif]. I guess LEC hadn't totally decided on the syntax of the language (or they felt like keeping the subject "open for discussion" for budding coggers to waste an afternoon or several discussing it (it seems to have worked [http://forums.massassi.net/html/wink.gif] )).

If you happen to notice, LEC also seem a little bit unsure of themselves with which data-type "name" to use for decimal point values - most coggers use "flex" but "float" is equally valid to use in COG... [http://forums.massassi.net/html/smile.gif] [http://forums.massassi.net/html/biggrin.gif]

Hope this helps [http://forums.massassi.net/html/biggrin.gif]

-Jackpot

------------------
"lucky_jackpot is the smily god..." - gothicX

"Life is mostly froth and bubble,
But two things stand in stone,
Kindness in another's trouble,
Courage in your own"
("Ye Wearie Wayfarer" - by Adam Lindsay Gordon)
"lucky_jackpot is the smily god..." -gothicX
"Life is mostly froth and bubble, but two things stand in stone,
Kindness in another's trouble, courage in your own"
- "Ye Wearie Wayfarer"
|| AI Builder: compatible with both JK & MotS || My website ||
2004-01-03, 7:06 AM #15
Stop; . . . . Yes . . . my pressciooousss.... [http://forums.massassi.net/html/wink.gif]

Quote:
<font face="Verdana, Arial" size="2">Originally posted by Dash:
GBK: I did it like that to be able to modify each camera individualy.

</font>


WTF? Modify? Explain yourself.

------------------
The future is here, and all bets are off.
And when the moment is right, I'm gonna fly a kite.
2004-01-03, 8:21 AM #16
That is, so that he can make the camerae move and tint and play music for various sectors and events.
Cordially,
Lord Tiberius Grismath
1473 for '1337' posts.
2004-01-03, 10:03 AM #17
I wrote a TVTCS client to just this, and it worked great. But, alas, I dont curently have access to that code. [http://forums.massassi.net/html/frown.gif]


(Anyone with copies of the TVTCS lying around, email them to me, please... [http://forums.massassi.net/html/redface.gif])

------------------
The future is here, and all bets are off.
And when the moment is right, I'm gonna fly a kite.
2004-01-03, 12:50 PM #18
What Grismath said

------------------
There is no emotion; there is peace. There is no ignorance; there is knowledge. There is no passion; there is serenity. There is no death; there is the Force

-The Jedi Code
There is no emotion; there is peace. There is no ignorance; there is knowledge. There is no passion; there is serenity. There is no death; there is the Force

-The Jedi Code
2004-01-04, 2:54 PM #19
Im not entirerly sure what your talking about. So only read the rest of my post if this style of gameplay is where the computer moves you and you just shoot when monsters come like in time crisis then read this.

If im right all you need to do is have an invisable thing that has frames. Make the player stand on the invisable thing take away the neccesary flags and make it so once the piticular amount of monsters are dead it moves you to the next place.

Also is this the same tazz who posted the gunsounds to massassi. Just wondering with my random question.

------------------
hello.
go to www.nigelsjkprojects.uni.cc
Spoting an error in post will result in a $100 reward.
Offer expires on 6/6/06. Valid one per customer, per day.

Rangi
2004-01-04, 10:24 PM #20
a_person: This kind of gameplay is where there are fixed cameras, but the player moves.

And yes, I am the author of gunsounds, and Rogue Squadron CTF, which I did back in '99. (available here)

------------------
-There are easier things in life than finding a good woman, like nailing Jello to a tree, for instance

-Tazz
-There are easier things in life than finding a good woman, like nailing Jello to a tree, for instance

Tazz

↑ Up to the top!