1st person player view.

Post your scripting questions / solutions here

Moderator: Moderators

Phil {sfx}
Sergeant
Posts: 67
Joined: Thu Sep 30, 2004 2:08 pm
Location: uk
Contact:

1st person player view.

Post by Phil {sfx} »

Does anyone know how to drop the players view to knees height?

It must not be using 3rd person. I know you can change it from stand to duck in the mike.legs but this doesnt give me the ability to adjust it forward, back, left, right or as low as i would like.

thanks....
Senior Modder/Mapper/Scripter/Modeller @ www.mods-r-us.net
Master-Of-Fungus-Foo-D
Muffin Man
Posts: 1544
Joined: Tue Jan 27, 2004 12:33 am
Location: cali, United States

Post by Master-Of-Fungus-Foo-D »

i think you need to find out a targetname for the view (urc?) or something...
Image
The Fungus Theme song!!!

Code: Select all

while (local.player istouching self)
Phil {sfx}
Sergeant
Posts: 67
Joined: Thu Sep 30, 2004 2:08 pm
Location: uk
Contact:

Post by Phil {sfx} »

The urc files are for the huds, menus and are in the ui folder and have nothing to do with it.

Not being big headed or anything i know quite alot, so please dont post stupid noobish replies unless you know the answer or know what your talking about.

Thanks...
Senior Modder/Mapper/Scripter/Modeller @ www.mods-r-us.net
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post by bdbodger »

I think you can use modheight not sure how exactly you will have to play around with the syntax . Here is what the SDK says

modheight( String height )


change the maximum height of the player
can specify 'stand', 'duck', 'duckrun', or a specific height

I think I used it once so I am pretty sure it works .
Image
User avatar
Axion
Major General
Posts: 683
Joined: Mon Sep 29, 2003 5:14 am
Location: Northern California
Contact:

Post by Axion »

Phil {sfx} wrote:Not being big headed or anything i know quite alot, so please dont post stupid noobish replies unless you know the answer or know what your talking about.
Nice attitude.

If you know so much, then figure it out yourself. I can't stand people who act like asses towards those who were actually trying to help.
"The work of a thousand years is nothing but rubble."
- Dr. Carl Goerdeler (1943)
Visit my mapping site: http://www.freewebs.com/axion9
Image
Phil {sfx}
Sergeant
Posts: 67
Joined: Thu Sep 30, 2004 2:08 pm
Location: uk
Contact:

Post by Phil {sfx} »

Axion wrote:
Phil {sfx} wrote:Not being big headed or anything i know quite alot, so please dont post stupid noobish replies unless you know the answer or know what your talking about.
I thought kids were in school at this time. :wink:

Must have had a day off to have a battle of who can post the most stupidist posts to get a high post count... :wink:

//----------------------------------------------------------------------------

Anyway thanks bd for the extra bit of info, i have already gone the modheight way but was stuck using 2 cmds, i will have a good playaround with it seeing as it was a good positive answer.

Thanks Phil....
Senior Modder/Mapper/Scripter/Modeller @ www.mods-r-us.net
User avatar
Axion
Major General
Posts: 683
Joined: Mon Sep 29, 2003 5:14 am
Location: Northern California
Contact:

Post by Axion »

Yeah, you're real mature. I was actually expecting you to apologize for being overly harsh, but I guess that's too much to ask. Don't bother trying to come back with another retort, because chances are that you're just going to exceed my expectations of you failing.

:roll:
"The work of a thousand years is nothing but rubble."
- Dr. Carl Goerdeler (1943)
Visit my mapping site: http://www.freewebs.com/axion9
Image
Green Beret
Major General
Posts: 746
Joined: Mon Apr 19, 2004 12:21 pm
Contact:

Post by Green Beret »

Master-Of-Fungus-Foo-D wrote:i think you need to find out a targetname for the view (urc?) or something...
lol,he didnt say he was 100% he even said OR SOMETHING,
he was just tryin to steer him in the right direction.

isnt that the reason for these forums?
everyone is allowed to post right?or am i wrong? :roll:
Image
User avatar
Mj
Map Reviewer
Posts: 1394
Joined: Sun Apr 25, 2004 3:36 pm
Location: England

Post by Mj »

LMAO! Stop acting like kids, both of you, and get round to making all these cool mods we are all so eagerly waiting for! :D
ImageImage
Green Beret
Major General
Posts: 746
Joined: Mon Apr 19, 2004 12:21 pm
Contact:

Post by Green Beret »

lol,whens that vietnam map gonna be done MJ,i been lookin for downloads link,but no luck?
Image
User avatar
Mj
Map Reviewer
Posts: 1394
Joined: Sun Apr 25, 2004 3:36 pm
Location: England

Post by Mj »

Nice to see someone is looking forward to it! Phil and the rest of the {sfx} crew are putting the final touches into the jetmap, and then (with luck) it will be out this sunday!
ImageImage
Green Beret
Major General
Posts: 746
Joined: Mon Apr 19, 2004 12:21 pm
Contact:

Post by Green Beret »

Awsome 8-)
Image
Splaetos
Major General
Posts: 730
Joined: Tue Jan 20, 2004 2:55 pm
Contact:

Post by Splaetos »

can yo uspecify 'big head' in modheight? =)
When I am king, you will be first against the wall~
Image
Elgan
Lieutenant General
Posts: 890
Joined: Tue Apr 13, 2004 10:43 pm
Location: uk
Contact:

Post by Elgan »

in SP u can do it easy but it wont work for MP:S:@.

anyway modheight is for anim state or position.

modhight stand will make u stand up.

i have not found a way to manipulate a players camera in MP WITHOUt cheats on server enables otherwise maybe u can use the SP cmd's.
Cobra {sfx}
First Lieutenant
Posts: 193
Joined: Tue Mar 23, 2004 10:25 pm
Contact:

Post by Cobra {sfx} »

A little harsh i think, cmon peeps arent we all here to help each other regardless of it being useful or not.
MRU Webmaster
Post Reply