Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / 1.19 Player Body With New Commands

Author
Message
ASTECH
17
Years of Service
User Offline
Joined: 18th Jul 2007
Location:
Posted: 20th Mar 2013 05:06


So here is what I have. I've done several variations and such but this is about as core as it gets (with animations not working). I'm using the Civilian Soldier models as a body and they attach to the player fine. They move along with Y axis fine. When you move the camera and having an X offset, however, proves to be an issue. I want the body so positioned that you can just see the top of the neck in the screen when looking all the way down. I don't want to the player to see inside the model.

Anyone know of any ways of pulling this off correctly? It somewhat works but when you move the mouse around in circles, it offsets the camera off of the entities's center. I've been scratching my head for hours. I've also gotten animations to work from time to time but they always quit when I do heavy modifying and now I'm starting to lose my place with stuff. Notice that I've opted out the crouch animations because it is disabled right now, but feel free to crack at it you guys!

A believable body is totally possible right now without the mods of old BUT there is some tuning to be made. I figured asking you scripting gurus for some insight.

Thanks again!

PC Specs: AMD X4 2.7Ghz, 8GB DDR3 RAM, Nvidia 9800GT, Win. 7 Pro 64 Bit
Corno_1
14
Years of Service
User Offline
Joined: 3rd Nov 2010
Location:
Posted: 20th Mar 2013 12:45 Edited at: 20th Mar 2013 12:49
someone already did it
Thanks to tzc and ched80
http://forum.thegamecreators.com/?m=forum_view&b=21&t=195008&p=0
Use it or look into it to create your own.
I did not look into it, but he said it works so test it.

Also if not all work, I will search for mistakes and so on. Maybe I can get it to work. But I not believe that tzc or ched80 make a mistake which I will find

Corno_1


ASTECH
17
Years of Service
User Offline
Joined: 18th Jul 2007
Location:
Posted: 20th Mar 2013 15:26 Edited at: 20th Mar 2013 16:02
You know, I feel a little silly now. I did search before posting, truly. This post never showed up! I was doing it myself the whole time. I will check out the scripts and see what I can do.

Thanks

EDIT:

It works, yes but it eats away too much frames per second. What I was starting to do was easy in theory and with such few commands- it saved me some serious FPS. Maybe looking at this script will give me a few ideas as to what I can try doing.

It is simply too much logic. I got from 90 fps to 47 when trying to break the game by doing weird mouse movements. It also messes up my pickobject system. I simply can't go about using this, I think.

PC Specs: AMD X4 2.7Ghz, 8GB DDR3 RAM, Nvidia 9800GT, Win. 7 Pro 64 Bit
s4real
VIP Member
18
Years of Service
User Offline
Joined: 22nd Jul 2006
Location:
Posted: 20th Mar 2013 22:14
Player body will be added to s4mod re-from so that may make things a lot easier.

best s4real

Pack ya games with vishnu packer its free. Vishnu game launcher is now released.
Help keep vishnu free by pledging now :- http://vishnu.chipin.com/vishnu
ASTECH
17
Years of Service
User Offline
Joined: 18th Jul 2007
Location:
Posted: 26th Mar 2013 22:39
That is good to know then. I decided to can the body as it seems to be too intensive for my liking right now.

PC Specs: AMD X4 2.7Ghz, 8GB DDR3 RAM, Nvidia 9800GT, Win. 7 Pro 64 Bit

Login to post a reply

Server time is: 2024-11-23 17:22:34
Your offset time is: 2024-11-23 17:22:34