Jump to content
Sign in to follow this  
NKato

Need to find basic tutorials on editing

Recommended Posts

I've looked everywhere, although I didn't exactly have the time nor the patience to wrestle with the search engine on this forum.

I'm trying to find a good resource that instructs me how to use the scripting code listed at the Bohemia Interactive wiki in a manner that I can comprehend.

Basically, what I need to do is put in code for a playable character to have no ammunition or firearms on him. On top of that, for the other character, I need to be able to empty out his inventory and put in a G36 rifle instead of the default equipment.

So, yeah. I need the info.

Again, my patience is pretty weak right now because I do not have the time to keep shoving the equivalent of a cheese grater in and out of my arse while trying to make sense of code.

-NK out.

Share this post


Link to post
Share on other sites

Well,

i'm not sure if someone is willing to help you after such a post, but best place to ask this is the Editing Forum.

Or have a look here.

Medicus out wink_o.gif

Share this post


Link to post
Share on other sites
Well,

i'm not sure if someone is willing to help you after such a post, but best place to ask this is the Editing Forum.

Or have a look here.

Medicus out wink_o.gif

I'm just disgruntled. Sorry. Been a long day for me.

Edit: I looked at the second link and I'm seeing a list of commands, sure. That's fine. But what I really need to know is which one does what I described: clears an object's default inventory. That's what I really need, tbh!

Share this post


Link to post
Share on other sites

Because you do look like a patient fella whistle.gif

http://community.bistudio.com/wiki/removeAllWeapons

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">removeAllWeapons player

->with 'players', 'this' (nameless unit) or 'unitname'.

http://community.bistudio.com/wiki/addWeapon

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">player addWeapon "G36";

->same 'players', 'this' or 'unitname'.

+

http://community.bistudio.com/wiki/addMagazine

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">player addMagazine "G36";

Copy past that line as much as the amount of magazines your unit needs...

Kick me in the arse is the magazine don't work, as they can have different name (like G36mag)..but i can't be arsed to search it all for you nener.gif .

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×