Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
0 registered members (), 677 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
lorikob361, LucasJoshua, Baklazhan, Hanky27, firatv
19054 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 3 of 3 1 2 3
Re: Ragdoll code A7 lite-c! [Re: Helghast] #269554
06/03/09 13:56
06/03/09 13:56
Joined: Jun 2008
Posts: 402
Germany
S
sebbi91 Offline
Senior Member
sebbi91  Offline
Senior Member
S

Joined: Jun 2008
Posts: 402
Germany
thank for your help helghast!
Iam sure i will use the the A6 code because i dont understand lite c in this moment ^^!


3D-Gamestudio A8 - Commercial
Re: Ragdoll code A7 lite-c! [Re: sebbi91] #270042
06/05/09 17:09
06/05/09 17:09
Joined: Jun 2008
Posts: 402
Germany
S
sebbi91 Offline
Senior Member
sebbi91  Offline
Senior Member
S

Joined: Jun 2008
Posts: 402
Germany
could you upload it please ?


3D-Gamestudio A8 - Commercial
Re: Ragdoll code A7 lite-c! [Re: sebbi91] #270066
06/05/09 20:20
06/05/09 20:20
Joined: Jan 2004
Posts: 3,023
The Netherlands
Helghast Offline OP
Expert
Helghast  Offline OP
Expert

Joined: Jan 2004
Posts: 3,023
The Netherlands
Originally Posted By: sebbi91
could you upload it please ?


Sorry! forgot XD

anyway, now I did, and here it is:

A6 Ragdoll sourcecode

Keep in mind though, this is the old script, not updated with the code included in the new one... still works though wink

regards,


Formerly known as dennis_fantasy
Portfolio - http://www.designorhea.com/
Project - http://randomchance.cherrygames.org/
Re: Ragdoll code A7 lite-c! [Re: Helghast] #270106
06/06/09 10:28
06/06/09 10:28
Joined: Jun 2008
Posts: 402
Germany
S
sebbi91 Offline
Senior Member
sebbi91  Offline
Senior Member
S

Joined: Jun 2008
Posts: 402
Germany
works but its not the bone ragdoll ^^
It's the old version, you created a time ago!

But still thanks for it ^^


if you could translate this part to c-script it would be helpfully for me too:

Quote:

...

void updateBoneHinge(ENTITY* hingeEnt, STRING* bodyPart, ENTITY* actor) {
VECTOR temp_pos, temp_ang, temp_mov, temp_ang_1;

ENTITY* hingePointer = hingeEnt;
ENTITY* actorPointer = actor;
STRING* updatePart = bodyPart;

...



hope you could help me !

Thanks again!

with best wishes
BasTi

Last edited by sebbi91; 06/06/09 14:38.

3D-Gamestudio A8 - Commercial
Re: Ragdoll code A7 lite-c! [Re: sebbi91] #270306
06/07/09 16:09
06/07/09 16:09
Joined: Jan 2004
Posts: 3,023
The Netherlands
Helghast Offline OP
Expert
Helghast  Offline OP
Expert

Joined: Jan 2004
Posts: 3,023
The Netherlands
Originally Posted By: sebbi91
works but its not the bone ragdoll ^^
It's the old version, you created a time ago!

But still thanks for it ^^


if you could translate this part to c-script it would be helpfully for me too:

Quote:

...

void updateBoneHinge(ENTITY* hingeEnt, STRING* bodyPart, ENTITY* actor) {
VECTOR temp_pos, temp_ang, temp_mov, temp_ang_1;

ENTITY* hingePointer = hingeEnt;
ENTITY* actorPointer = actor;
STRING* updatePart = bodyPart;

...



hope you could help me !

Thanks again!

with best wishes
BasTi


the old version IS the bone ragdoll... never gotten it working under A7 before(but did under A6).

the new A7 code though cant be converted to A6 that easily... cant create local pointers etc etc.

But you could convert what you have already to Lite-c Free, the code *i think* works fine under that smile

regards,


Formerly known as dennis_fantasy
Portfolio - http://www.designorhea.com/
Project - http://randomchance.cherrygames.org/
Re: Ragdoll code A7 lite-c! [Re: Helghast] #271376
06/12/09 18:23
06/12/09 18:23
Joined: Mar 2006
Posts: 2,252
Hummel Offline
Expert
Hummel  Offline
Expert

Joined: Mar 2006
Posts: 2,252
How can I activate the physic for a ragdoll of an arbitrary angle (currently it works only with a pan of 180°)?

Re: Ragdoll code A7 lite-c! [Re: Hummel] #271688
06/14/09 13:30
06/14/09 13:30
Joined: Jan 2004
Posts: 3,023
The Netherlands
Helghast Offline OP
Expert
Helghast  Offline OP
Expert

Joined: Jan 2004
Posts: 3,023
The Netherlands
heheheee, you should create the ragdoll and proper hinges on the 180 degree scale, and then rotate/move it to match the actor. that's how i always did it.

regards,


Formerly known as dennis_fantasy
Portfolio - http://www.designorhea.com/
Project - http://randomchance.cherrygames.org/
Re: Ragdoll code A7 lite-c! [Re: Helghast] #271693
06/14/09 13:40
06/14/09 13:40
Joined: Nov 2008
Posts: 946
T
the_clown Offline
User
the_clown  Offline
User
T

Joined: Nov 2008
Posts: 946
AH! Post-rotating!!! I always thought about how to...
That's the clue, thanx Helghast!!

Re: Ragdoll code A7 lite-c! [Re: the_clown] #271700
06/14/09 14:45
06/14/09 14:45
Joined: Mar 2006
Posts: 2,252
Hummel Offline
Expert
Hummel  Offline
Expert

Joined: Mar 2006
Posts: 2,252
@Helgast:
I tried it this way, but the ragdoll flips back after one frame. Even if I deactivate the physics through phent_enable( ent, 0 ); before I rotate (and move) the ragdoll frown
Could you please show me a little example how to do it?

EDIT: now it works! o.O -however thx!

Last edited by Hummel; 06/14/09 15:01.
Re: Ragdoll code A7 lite-c! [Re: Hummel] #271954
06/15/09 19:01
06/15/09 19:01
Joined: Mar 2006
Posts: 2,252
Hummel Offline
Expert
Hummel  Offline
Expert

Joined: Mar 2006
Posts: 2,252
Has someone already written a piece of code, which adds the physics objekts "bone angle adjusting" (f.e. based on the current animation of the ragdoll) and which fits to the code from Helghast? I would be realy gratefull, if someone could post something similar here...

Page 3 of 3 1 2 3

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1