Another question. -1 reply

Please wait...

Admiral Krause

No current projects...

50 XP

15th June 2004

0 Uploads

155 Posts

0 Threads

#1 12 years ago

Okay, I have been able to use the Saber or the Stun Baton for the single player map I have been making. Is there any way to just get the Melee weapon?




Admiral Krause

No current projects...

50 XP

15th June 2004

0 Uploads

155 Posts

0 Threads

#2 12 years ago

Nevermind, I figured it out.




}HOK{Deathspike

MP Coding

50 XP

27th August 2005

0 Uploads

1,070 Posts

0 Threads

#3 12 years ago

Going to share the knowledge?




Admiral Krause

No current projects...

50 XP

15th June 2004

0 Uploads

155 Posts

0 Threads

#4 12 years ago

Sure if you would like me to. Or I could just give the link to the tutorial I used and then explain from there. http://www.massassi.net/tutorials/jo_sp_maps_basics_2/ I used this tutorial, but I had to add a line for the weapon. The script for the file will probably look like this when you are done: //Generated by BehavEd rem ( "script run at start of level" ); rem ( "set up force powers and weapons" ); affect ( "PLAYER", /*@AFFECT_TYPE*/ FLUSH ) { set ( /*@SET_TYPES*/ "SET_FORCE_JUMP_LEVEL", /*@FORCE_LEVELS*/ "0" ); set ( /*@SET_TYPES*/ "SET_FORCE_PUSH_LEVEL", /*@FORCE_LEVELS*/ "0" ); set ( /*@SET_TYPES*/ "SET_FORCE_PULL_LEVEL", /*@FORCE_LEVELS*/ "0" ); set ( /*@SET_TYPES*/ "SET_FORCE_SPEED_LEVEL", /*@FORCE_LEVELS*/ "0" ); set ( /*@SET_TYPES*/ "SET_FORCE_SEEING_LEVEL", /*@FORCE_LEVELS*/ "0" ); set ( /*@SET_TYPES*/ "SET_FORCE_ABSORB_LEVEL", /*@FORCE_LEVELS*/ "0" ); set ( /*@SET_TYPES*/ "SET_FORCE_HEAL_LEVEL", /*@FORCE_LEVELS*/ "0" ); set ( /*@SET_TYPES*/ "SET_FORCE_PROTECT_LEVEL", /*@FORCE_LEVELS*/ "0" ); set ( /*@SET_TYPES*/ "SET_FORCE_MINDTRICK_LEVEL", /*@FORCE_LEVELS*/ "0" ); set ( /*@SET_TYPES*/ "SET_FORCE_GRIP_LEVEL", /*@FORCE_LEVELS*/ "0" ); set ( /*@SET_TYPES*/ "SET_FORCE_DRAIN_LEVEL", /*@FORCE_LEVELS*/ "0" ); set ( /*@SET_TYPES*/ "SET_FORCE_LIGHTNING_LEVEL", /*@FORCE_LEVELS*/ "0" ); set ( /*@SET_TYPES*/ "SET_FORCE_DARK_RAGE_LEVEL", /*@FORCE_LEVELS*/ "0" ); set ( /*@SET_TYPES*/ "SET_SABER_THROW", /*@FORCE_LEVELS*/ "0" ); set ( /*@SET_TYPES*/ "SET_SABER_DEFENSE", /*@FORCE_LEVELS*/ "0" ); set ( /*@SET_TYPES*/ "SET_SABER_OFFENSE", /*@FORCE_LEVELS*/ "0" ); set ( /*@SET_TYPES*/ "SET_WEAPON", /*@WEAPON_NAMES*/ "WP_MELEE" ); } Did that help?




Reekris

Formerly Red Rebel

60,555 XP

26th January 2004

0 Uploads

5,413 Posts

0 Threads

#5 12 years ago

Unless he knows about scripting, no.

In the console, type

iknowkungfu

It gives you the melee weapin, but you lose it when you change weapons. I suggest binding it.




Admiral Krause

No current projects...

50 XP

15th June 2004

0 Uploads

155 Posts

0 Threads

#6 12 years ago

Yep that works too. I just wanted the melee weapon for a mission.