Zum Inhalt wechseln


Foto

Where are the command scripts at?


  • Please log in to reply
No replies to this topic

#1 William Stapleford

William Stapleford

    Lieutenant

  • Members
  • 99 Beiträge:

Geschrieben 20 Oktober 2015 - 10:48

listed in several of the prefabs are commands to get equipment

 

Command array.  

 

The problems is that if I wanted to add new usable equipment to this mix I have no clue how to get it to work,  I would assume that a get equipment command or use equipment command would then trigger a script but for some reason when I look for them i can not find anything that controls the object.

 

Has anyone been able to write new scripts or even modify an existing script is this game?

 

Hopefully someone can point me in the right direction.  I have made a few now objects and I can substitute them into the game but ONLY if I make them the same name as the original prefab.  I can not get a new object to work in inventory because the game has no idea what to do with it.

 

For example I have added a traffic cone to the inventory of a vehicle, but even if i tell the officer and add a command into the command array the get trafficcone.  Nothing happens and they have no idea how to place it or how to retrieve it.  I know it was done in the Em4 mods so I have tried to take the Em4 mod and reverse engineer it but so far now luck.

 

William516

Bill

Delaware, USA