Jump to content
Sign in to follow this  
007 Commander

I need some help please

Recommended Posts

I just had my insurance settlement and replaced my computer. We had a home break in and my PC's were taken along with all my OPF editing information.

Now i am trying to learn all this stuff again, so I needed a few questions to help me get back to basics.

1: Can some one help me with the example snytax for the description.ext file for respawning in multiplayer maps.

2: Is there a script to play a piece of music after an event occurs, or a unit is killed? And do i have to convert an mp3 to something else to make this happen?

3: How can I modify the briefing screen weapon section to include the new weapons in the loadout, simalar to the current mission editing tool, but the current one does not have the new 1.3 equipment.

Thanks in advance for any advise to get me back up to speed.

Back to the web now to start getting back all my tutorials.

007

Share this post


Link to post
Share on other sites

ok, go to http://members.tripod.co.uk/redofp/Voices.htm for the sounds.

and the resporning is :

respawn=3;

respawndelay=10;

and the kinda code to change the weapons avialbe in the briefing is :

// This class indicates what weapons to make available to the player in the mission

class Weapons

{

class M16

{count = 6;};

class M16GrenadeLauncher

{count = 6;};

class M4

{count = 6;};

class HK

{count = 6;};

class M21

{count = 6;};

class M60

{count = 6;};

class LAWLauncher

{count = 6;};

class CarlGustavLauncher

{count = 6;};

class AALauncher

{count = 6;};

class AK74

{count = 6;};

class AK74SU

{count = 6;};

class AK74GrenadeLauncher

{count = 6;};

class AK47

{count = 6;};

class AK47CZ

{count = 6;};

class AK47GrenadeLauncher

{count = 6;};

class SVDDragunov

{count = 6;};

class PK

{count = 6;};

class RPGLauncher

{count = 6;};

class AT4Launcher

{count = 6;};

class 9K32Launcher

{count = 6;};

class Binocular

{count = 6;};

class NVGoggles

{count = 8;};

};

// This class indicates what weapon magazines to make available to the player in the mission briefing.

class Magazines

{

class M16

{count = 40;};

class Grenadelauncher

{count = 40;};

class M4

{count = 40;};

class HK

{count = 40;};

class M21

{count = 40;};

class M60

{count = 40;};

class LAWLauncher

{count = 20;};

class CarlGustavLauncher

{count = 10;};

class AALauncher

{count = 40;};

class Ak74

{count = 40;};

class Ak47

{count = 40;};

class SVDDragunov

{count = 40;};

class PK

{count = 40;};

class RPGLauncher

{count = 20;};

class AT4Launcher

{count = 20;};

class 9K32Launcher

{count = 20;};

class HandGrenade

{count = 40;};

class Pipebomb

{count = 40;};

class Mine

{count = 40;};

};

hope that helped.

RED

Share this post


Link to post
Share on other sites

Thanks Red, i sure hope u didnt type all that just now.

Red, the voice thing? does that work with music? i guess it would.

thanks again,

007

Share this post


Link to post
Share on other sites

hey Red, thanks again and sorry to bother u with one more question...

can u give me the scripting to start playing a certian peice of music after an event has triggerd, or someting dies?

thanks again,

007

Share this post


Link to post
Share on other sites

well u could have :

a trigger that has in the condition feild : not(alive bob)

and in the on activation put : playmusic "mymusic"

(bob is the name of the soldier that u want to die)

that should work but you are going to need to add the sounds propperly and get the code right with the descrition.ext first smile.gif

RED

Share this post


Link to post
Share on other sites

wow, thats nice layout.. i like the format of ur right and left boarders.

You may want to rethink the font for the main banner.

good job,

007

Share this post


Link to post
Share on other sites

Cheers smile.gif yeah the text is a bit unreadable i will have ot sort that out some time.

RED

Share this post


Link to post
Share on other sites

c,c,c,c,c,c,c,c,c,c,c,c,c,c,c people do u think that the pic i made for the main title looks crap inverted?

if so say yes or no cuz i think even though RED thinks that it makes it look more chemical warfarey it ruins the time taken in the pic........

Share this post


Link to post
Share on other sites

yer yer u r right lol can u give me the pic without the text and i will invert ( or you can) it then u can add the text again and it should look better ?

RED

Share this post


Link to post
Share on other sites

nonononnono i mean without it being inverted.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×