Flying Player
Flying Player
Hi guys!
I think this can be done via a scriptet player...
I imagine a game like Quake3Arena, but not with am "human" Player, but with a flying vehicle, call it a glyder or something.
This would imply, that this flyer can pitch, roll, jaw... in all three directions, is subjected to gravity, but can, well,... fly!
Is this possible? any advice? Has somebody tried this before?
Thanks you guys! You do incredible great work! (Just to be said... )
Greetings
nanogod
I think this can be done via a scriptet player...
I imagine a game like Quake3Arena, but not with am "human" Player, but with a flying vehicle, call it a glyder or something.
This would imply, that this flyer can pitch, roll, jaw... in all three directions, is subjected to gravity, but can, well,... fly!
Is this possible? any advice? Has somebody tried this before?
Thanks you guys! You do incredible great work! (Just to be said... )
Greetings
nanogod
__________________________________________
http://www.michaelhurler.de
__________________________________________
http://www.michaelhurler.de
__________________________________________
havent tried it, but make your model above the origin level, and have an animation with him AT the origin level, use that as the bounding box animation and make the rest of them with him flying and it should technically work perfectly, no need for scripting.
RF2 site: http://realityfactory2.sourceforge.net/
RF2 tasks: http://sourceforge.net/pm/?group_id=179085
RF2 tasks: http://sourceforge.net/pm/?group_id=179085
wow very fast answer ...
Hmm, yes that would work i think...
but if i have understood correctly, then the Flyer would always fly on the same height?
I want to free fly around my level.
Maybe you remember the game "DESCENT"? This is how i want it to work..
Thanks
the nanogod
Hmm, yes that would work i think...
but if i have understood correctly, then the Flyer would always fly on the same height?
I want to free fly around my level.
Maybe you remember the game "DESCENT"? This is how i want it to work..
Thanks
the nanogod
__________________________________________
http://www.michaelhurler.de
__________________________________________
http://www.michaelhurler.de
__________________________________________
yeah, didnt realize thats what you meant. the only way to my knowledge to do this would be with a scripted player.
RF2 site: http://realityfactory2.sourceforge.net/
RF2 tasks: http://sourceforge.net/pm/?group_id=179085
RF2 tasks: http://sourceforge.net/pm/?group_id=179085
Thanks!
i should go with a scripted player...
So, im new to the scripting thing, and maybe this task is a little bit to much for me...
I know how to setup a sp, this has been mentioned in this forum before. But how should i build up such a script?
Any advice where i have to start? Maybe the car demo from federico can be a starting point?
Thanks a lot!
nanogod
i should go with a scripted player...
So, im new to the scripting thing, and maybe this task is a little bit to much for me...
I know how to setup a sp, this has been mentioned in this forum before. But how should i build up such a script?
Any advice where i have to start? Maybe the car demo from federico can be a starting point?
Thanks a lot!
nanogod
__________________________________________
http://www.michaelhurler.de
__________________________________________
http://www.michaelhurler.de
__________________________________________
If you really are new to scripting I would suggest you to get some knowledge and experience before trying an attempt like that.
But if you really want want to do it... I guess the best way to start such a thing is the movement of the flying thingie. You would have to check what button(s) are pressed and then ie. change the yaw or pitch of it. And you should make your script completely lowlevel, it's quite impossible to make highlevel (...I think).
But if you really want want to do it... I guess the best way to start such a thing is the movement of the flying thingie. You would have to check what button(s) are pressed and then ie. change the yaw or pitch of it. And you should make your script completely lowlevel, it's quite impossible to make highlevel (...I think).
Pain is only psychological.
Line 4240 rffaq http://terrymorgan.net/rffaq.zip
Demos
http://terrymorgan.net/download.htm
Q. How does the liftbelt entity work?
A. 1. add a LiftBelt entity to the level. Set the EnableAttr to the
attribute name you want to use to enable it. Lets use 'liftbelt'.
2. Add 'liftbelt' as an attribute to Player.ini. Low of 0, High
of 1, Initial of 1 so you can use the belt right away.
3. In Inventory.ini add this (as hike1 said)
[liftbelt]
catagory = use
image = lockpick3296.bmp
imagealpha = lockpick3296alpha.bmp
text =Liftbelt
To activate the belt go to the Inventory and select 'liftbelt' so it
says 'Activated for Use'. By default the PgUp key applys power
to the belt, PgDn removes power. Hold down PgUp for a
while as it takes time to get to full power.
If this doesn't work then check Controls.ini and see if PowerUp
and PowerDwn are set to true. These are the control keys for
the lift belt. Then check Options->Controls to see just what
keys these commands are bound to.
Demos
http://terrymorgan.net/download.htm
Q. How does the liftbelt entity work?
A. 1. add a LiftBelt entity to the level. Set the EnableAttr to the
attribute name you want to use to enable it. Lets use 'liftbelt'.
2. Add 'liftbelt' as an attribute to Player.ini. Low of 0, High
of 1, Initial of 1 so you can use the belt right away.
3. In Inventory.ini add this (as hike1 said)
[liftbelt]
catagory = use
image = lockpick3296.bmp
imagealpha = lockpick3296alpha.bmp
text =Liftbelt
To activate the belt go to the Inventory and select 'liftbelt' so it
says 'Activated for Use'. By default the PgUp key applys power
to the belt, PgDn removes power. Hold down PgUp for a
while as it takes time to get to full power.
If this doesn't work then check Controls.ini and see if PowerUp
and PowerDwn are set to true. These are the control keys for
the lift belt. Then check Options->Controls to see just what
keys these commands are bound to.
DUH! The liftbelt! Why didn't i think of that? Good point Hike! that may very well work.
RF2 site: http://realityfactory2.sourceforge.net/
RF2 tasks: http://sourceforge.net/pm/?group_id=179085
RF2 tasks: http://sourceforge.net/pm/?group_id=179085
hi
i am also ineed of some help on this subject, i am the same as nanogod, i dont know much scritping at all.
i dont have much time lately, im doing alot of modeling for my game i am making, but if you are able to get this flying player to work could you leave the scripting code here please as i will need this for my game aswel.
but i have alos been thinking about this problem for some time.
wouldnt it be possible to change the atribut for speed and when get to a certain speed that thers a negative gravity envolved, while the player always move in the direction of the player looking, then for the turning, for every so much more speed, the rate of turning of the player would decrese so the player cant do a sudden turn at top speed.
i am also ineed of some help on this subject, i am the same as nanogod, i dont know much scritping at all.
i dont have much time lately, im doing alot of modeling for my game i am making, but if you are able to get this flying player to work could you leave the scripting code here please as i will need this for my game aswel.
but i have alos been thinking about this problem for some time.
wouldnt it be possible to change the atribut for speed and when get to a certain speed that thers a negative gravity envolved, while the player always move in the direction of the player looking, then for the turning, for every so much more speed, the rate of turning of the player would decrese so the player cant do a sudden turn at top speed.
*GD*
Yoooh cool. The Liftbelt could really be an option do accomplish this.
I will see, if i have this weekend some time.
(´cause of work, there is not much freetime for me left...)
If i come up with something interesting, i will post it here...
the nanogod
I will see, if i have this weekend some time.
(´cause of work, there is not much freetime for me left...)
If i come up with something interesting, i will post it here...
the nanogod
__________________________________________
http://www.michaelhurler.de
__________________________________________
http://www.michaelhurler.de
__________________________________________
The Liftbelt Entity works fine as hike posted...
But it does not behave like i intended.
I need more realistic flying behavior like a plane would do...
I will see, if i can script something...
(The firts time i really try, but... you have to start somewhere...
Greets
nanogod
But it does not behave like i intended.
I need more realistic flying behavior like a plane would do...
I will see, if i can script something...
(The firts time i really try, but... you have to start somewhere...
Greets
nanogod
__________________________________________
http://www.michaelhurler.de
__________________________________________
http://www.michaelhurler.de
__________________________________________