Third person template or code :

Posted By: ratchet

Third person template or code : - 01/27/13 13:15

Well i serached a simple 3rd person character controller and camera.
Nothing good, even the RPG template have so much stuff i don't need, i deleted all unecessary code, but when using it it fails.

Does somebody know if it is some SIMPLE and solid 3rd character simple action (walk, run) using a 3rd Camera ?
Posted By: sivan

Re: Third person template or code : - 01/27/13 15:11

the absolutely most simple is in the tutorials, workshop 24, you know those 2 wizards.
Posted By: ratchet

Re: Third person template or code : - 01/27/13 18:25

Thanks.
The code is found on tutorial manual also.
And it's perfect it contains the essential.

I done that code for beginning:

function camera_follow(ENTITY* ent)
{
var distance_to_player = -300 ;
var cam_X_offset = 10 ;
var cam_Height = 200 ;
while(1) {
vec_set(camera.x,vector(distance_to_player,cam_X_offset,cam_Height));
vec_rotate(camera.x,ent.pan);
vec_add(camera.x,ent.x);
vec_set(camera.pan,vector(ent.pan,-10,0));
wait(1);
}
}


As the game progresses, i will make it better.
Posted By: NeoDumont

Re: Third person template or code : - 05/21/13 14:48

Hi Folks !

After being absent from this forum and game development a while I'm now back and I would like to know if anybody is interested in a "Treadmill" Script.

I wrote a 9-Tile "treadmill" script allowing you to create outdoor worlds of infinite size. Just depending on the number of tile files your directory can handle you can create worlds as big as morrowind or even larger using my script called "Neomill". I wrote versions from a simple "Blockmill" up to the (nearly final) version, which can handle Blocks, Terrains, mdls and sprites.
The package includes tools to instantly create template worlds of very big size, as well as positioning tool scipts for ingame placement of sprites or mdls and fake terrain shadows.
The terrain mill uses a mixed fake hmp/mdl system... ok I stop here.

If anyone is interested in my script i will publish it within the next weeks.

P.S The neomill script until now is written in C-Script, but im planning to convert it to lite-C. You need at least a GST Version with entity Dynamic load
commands like A7 or higher, a PC with something around 1.8 GHZ and a basic knowlege of C-script or lite-C for enhancing the Neomill scrip for a full RPG Game with superlarge worlds.


J.Hunke
Posted By: NeoDumont

Re: Third person template or code : - 05/21/13 15:19

Uuuups, my post is in the wrong place, sorry. Missunderstood Topic.

J. Hunke
© 2024 lite-C Forums