Quantcast

Jump to content

» «
Photo

wear body armour

6 replies to this topic
Chrome_Adderz
  • Chrome_Adderz

    ☆☆☆☆☆

  • Members
  • Joined: 08 Apr 2009
  • Philippines

#1

Posted 25 July 2009 - 01:38 AM

guys, please tell me how to make a cleo script where cj wears a body armour when he takes one? i mean he actualy wears it... i need a fast reply...

james227uk
  • james227uk

    One Spartan Army

  • Andolini Mafia Family
  • Joined: 05 Feb 2008

#2

Posted 25 July 2009 - 10:30 AM Edited by james227uk, 27 July 2009 - 08:42 AM.

Ok, sorry

PatrickW
  • PatrickW

    GTA Juggernaut

  • The Connection
  • Joined: 07 Jan 2004
  • Netherlands
  • Best Script 2013 [DYOM]
    Best Script 2012 [DYOM]

#3

Posted 26 July 2009 - 09:37 PM

You can use this opcode to detrmine wether or not CJ has bodyarmour:
CODE
04DD: $9594 = actor $PLAYER_ACTOR armour

If he does you could use an opcode (e.g. 070A) to attach a bodyarmour object to CJ's body, and remove it again when he no longer wears it. You'll have to find a suitable model for the bodyarmour (not sure if is even exist in SA tounge.gif ), and experiment with the position to attach it to his body.

@James227UK:
The request topic is there to request other people to make a mod for you, or to recruit people for a mod. In this case DODI3OG just asks how to make such a mod, which indicates that he want to make it himself. Therefor this is a legit topic.


solomsolomol
  • solomsolomol

    Doin' Your Mom

  • Members
  • Joined: 12 Jun 2009

#4

Posted 27 July 2009 - 12:01 PM

i tried doing the same script before using this opcode

CODE
070A: AS_actor 358@ attach_to_object 359@ offset 0.0 0.0 0.0 on_bone 6 16 perform_animation "NULL" IFP_file "NULL" time 1


but i had a major problem with the rotation , so i just gave the whole code up confused.gif

Deji
  • Deji

    Coding like a Rockstar!

  • Feroci
  • Joined: 24 Dec 2007
  • None

#5

Posted 27 July 2009 - 03:44 PM

remember to turn object collision off. otherwise the player will be stuck while being attached to the object.

Chrome_Adderz
  • Chrome_Adderz

    ☆☆☆☆☆

  • Members
  • Joined: 08 Apr 2009
  • Philippines

#6

Posted 01 August 2009 - 08:11 AM

WHAT DO YOU MEAN?
you mean like i'll paste this to sannybuilder?
070A: AS_actor 358@ attach_to_object 359@ offset 0.0 0.0 0.0 on_bone 6 16 perform_animation "NULL" IFP_file "NULL" time 1
do you guys know how to save in sanny?
and what will i do after creating?

ZAZ
  • ZAZ

    Kernlochbohrer

  • Feroci
  • Joined: 10 Jan 2005
  • European-Union

#7

Posted 01 August 2009 - 08:18 AM

QUOTE (DODI3OG @ Aug 1 2009, 08:11)
WHAT DO YOU MEAN?
you mean like i'll paste this to sannybuilder?
070A: AS_actor 358@ attach_to_object 359@ offset 0.0 0.0 0.0 on_bone 6 16 perform_animation "NULL" IFP_file "NULL" time 1
do you guys know how to save in sanny?
and what will i do after creating?

you have to write a script, learn coding, go here: CLEO Script Tutorial




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users