1 registered members (AndrewAMD),
1,241
guests, and 6
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
3rd Person Cam(gauging Interest)
#61834
01/12/06 14:24
01/12/06 14:24
|
Joined: Feb 2005
Posts: 324
laethyn
OP
Senior Member
|
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: broozar]
#61837
01/12/06 18:58
01/12/06 18:58
|
Joined: Feb 2005
Posts: 324
laethyn
OP
Senior Member
|
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
OP
Senior Member
|
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: Bilbo]
#61841
01/13/06 02:30
01/13/06 02:30
|
Joined: Feb 2005
Posts: 324
laethyn
OP
Senior Member
|
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
testDummy
Serious User
|
Serious User
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
OP
Senior Member
|
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
|
|
|
|