0 registered members (),
677
guests, and 5
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
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
sebbi91
Senior Member
|
Senior Member
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
sebbi91
Senior Member
|
Senior Member
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
OP
Expert
|
OP
Expert
Joined: Jan 2004
Posts: 3,023
The Netherlands
|
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 regards,
|
|
|
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
sebbi91
Senior Member
|
Senior Member
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: ...
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
OP
Expert
|
OP
Expert
Joined: Jan 2004
Posts: 3,023
The Netherlands
|
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: ...
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 regards,
|
|
|
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
Expert
|
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 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.
|
|
|
|