Jump to content

Problem with requesting models.


=Phil=

Recommended Posts

I got a small problem with a mission script i'm half way through doing, where the player starts with two weapons (M4 and silenced pistol) but the models don't load and causes the game to crash if i aim or fire.

This is what i use:

0247: request_model  287
0247: request_model  23
0247: request_model  31
038B: load_requested_models
09C7: $PLAYER_CHAR  287
01B2: give_actor $PLAYER_ACTOR weapon  23 ammo  102;; Load the weapon model before using this
01B2: give_actor $PLAYER_ACTOR weapon  31 ammo  300;; Load the weapon model before using this
01B9: set_actor $PLAYER_ACTOR armed_weapon_to  31

The player model loads up fine and he changes to a soldier, but the weapons don't :?

Link to comment
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...