Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (7th_zorro, dr_panther), 1,193 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
3rd Person Cam(gauging Interest) #61834
01/12/06 14:24
01/12/06 14:24
Joined: Feb 2005
Posts: 324
laethyn Offline OP
Senior Member
laethyn  Offline OP
Senior Member

Joined: Feb 2005
Posts: 324
So, just wondering if anyone is still interested in having a 3rd Person Camera system.

As of now, clicking anywhere in the level rotates the player, and animates the character as he walks over to that point. Right mouse button handles rotating the camera, as well as changing the tilt. Middle mouse button handles Zooming.

Clicking on another entity (assigned with the appropriate action), will walk the player to that NPC, and open some dialog (which is not working perfectly yet, but it's getting close).

They whole system is similar in style to the NWN system. If I garner enough interest, perhaps I can be persuaded to post the scripts


Read the manual, it's a good place to start learning ~ ulillillia
Re: 3rd Person Cam(gauging Interest) [Re: laethyn] #61835
01/12/06 16:27
01/12/06 16:27
Joined: Jan 2003
Posts: 246
The Hole, Australia
Josh666 Offline
Member
Josh666  Offline
Member

Joined: Jan 2003
Posts: 246
The Hole, Australia
I am super interested.


~J666
Re: 3rd Person Cam(gauging Interest) [Re: Josh666] #61836
01/12/06 16:56
01/12/06 16:56
Joined: Jun 2005
Posts: 4,875
broozar Offline
Expert
broozar  Offline
Expert

Joined: Jun 2005
Posts: 4,875
you cannot imagine - iŽd die for it.... seriously. post it. NOW!

Re: 3rd Person Cam(gauging Interest) [Re: broozar] #61837
01/12/06 18:58
01/12/06 18:58
Joined: Feb 2005
Posts: 324
laethyn Offline OP
Senior Member
laethyn  Offline OP
Senior Member

Joined: Feb 2005
Posts: 324
Because I'm anal that way, as soon as I get the NPC system figured out, I will post the scripts I have.

The steps I have been taking are as follows:

1. Camera & Mouse Movement
2. Interactiving with NPCs

building off that will be:

3. Merchants and purchsing from NPCs
4. Inventory
5. Equiping Items, and player stats
6. Skills
7. Spells
8. Combat
9. Journal, Map, and Compass

I should have it posted by the middle of the next week. Just dealing with some family crisis right now, which will be resolved as of Monday.

And, just so there is no confusion, it was built using a couple of different tutorial ideas, and building from there. Unfortunately, I have NO idea where the tutorials originated from, so I cannot give credit where credit is due


Read the manual, it's a good place to start learning ~ ulillillia
Re: 3rd Person Cam(gauging Interest) [Re: laethyn] #61838
01/12/06 19:04
01/12/06 19:04
Joined: Feb 2005
Posts: 324
laethyn Offline OP
Senior Member
laethyn  Offline OP
Senior Member

Joined: Feb 2005
Posts: 324
Speaking of which, anyone have any ideas what code snippet I would use to assign strings to a text function?

I can assign one, but for some reason, when I attempt to assign a second one, it ignores it and uses the first. Obviously, this is not all the code I'm using, but I think it shows the gist of what I'm trying to get at. ..

ie

string = "hi there";
string1 = "well hello";

text dialog
{
....
}

function assign1()
{
dialog.string = string;
}

function assign2()
{
dialog.string = string1;
}

Odd that it continously shows the "string" text, and assigning string1 fails to reassign dialog.string.

Ah well. I'll figure it out and get everything posted as soon as I can

Last edited by laethyn; 01/12/06 19:05.

Read the manual, it's a good place to start learning ~ ulillillia
Re: 3rd Person Cam(gauging Interest) [Re: laethyn] #61839
01/12/06 21:59
01/12/06 21:59
Joined: Oct 2004
Posts: 1,655
T
testDummy Offline
Serious User
testDummy  Offline
Serious User
T

Joined: Oct 2004
Posts: 1,655
The word "string'", which is used to define a string, is a reserved keyword in C-Script. I recommend that you do not use names which are reserved keywords in the language. I suspect that using names which are reserved keywords in the C-Script language, may result in scripting errors and/or unpredictable behavior. This is almost common sense, so I'll assume, in this case, I simply misinterpreted your example.

Re: 3rd Person Cam(gauging Interest) [Re: testDummy] #61840
01/12/06 22:16
01/12/06 22:16
Joined: Jan 2005
Posts: 1,918
BagEnd, Hobbiton, The Shire, E...
B
Bilbo Offline
Senior Developer
Bilbo  Offline
Senior Developer
B

Joined: Jan 2005
Posts: 1,918
BagEnd, Hobbiton, The Shire, E...
wow that would be ace if you can get it done!


http://Lonewolfstudios.syxe.com - now in php! Bah, I'm nerd enough to enjoy the rattling ~ laethyn
Re: 3rd Person Cam(gauging Interest) [Re: Bilbo] #61841
01/13/06 02:30
01/13/06 02:30
Joined: Feb 2005
Posts: 324
laethyn Offline OP
Senior Member
laethyn  Offline OP
Senior Member

Joined: Feb 2005
Posts: 324
Here, let me qoute myself:

Obviously, this is not all the code I'm using, but I think it shows the gist of what I'm trying to get at. ..

I am NOT using the "string" keyword. It was an example. As of right now, I'm using:

string test = "ummm hello there!";

and

string test1 = "Well aren't you an idiot for taking this long to figure it out!";


Read the manual, it's a good place to start learning ~ ulillillia
Re: 3rd Person Cam(gauging Interest) [Re: laethyn] #61842
01/13/06 20:05
01/13/06 20:05
Joined: Oct 2004
Posts: 1,655
T
testDummy Offline
Serious User
testDummy  Offline
Serious User
T

Joined: Oct 2004
Posts: 1,655
If in string test1, you are referring to yourself, and the length of time it took to "figure it out" is determinate or known, then no doubt, you've already figured it out.
It's possible that I've misinterpreted your words. You may not have "figured it out", so with the following you should be able to pretend you had already figured it out.
Traditionally:
Code:

string test = "Greetings and salutations!";
string test1 = "Hello. I'm just your average dummy."
text dialog {
strings = 1;
string " "; // 1
}
function assign1() {
str_cpy(dialog.string[0], test);
}
function assign2() {
str_cpy(dialog.string[0], test1);
}



Re: 3rd Person Cam(gauging Interest) [Re: testDummy] #61843
01/13/06 21:00
01/13/06 21:00
Joined: Feb 2005
Posts: 324
laethyn Offline OP
Senior Member
laethyn  Offline OP
Senior Member

Joined: Feb 2005
Posts: 324
lol yes, I was refering to myself and the amount of time it took ME to figure it out. Which I have. Figured it out this morning, in fact.


Read the manual, it's a good place to start learning ~ ulillillia
Page 1 of 2 1 2

Moderated by  adoado, checkbutton, mk_1, Perro 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1