Help with weapons

Dr. Scorpio

Member
This account is temporarily muted.
I read the manual on weapons but I'm still have trouble getting it to work. I know how to set the "weapon" setting in the player and I know how to make the weapon a weapon. But my problem is that the player won't pick up the weapon, am I missing something?
 
do you have weapons set in your player .txt with the names of the weapons?

weapons weapon1 weapon2 weapon3 nameofchar

example
weapons Knife Club Bat Scorpio
 
Weapon set go first and the original character goes last.

weapons {weapon1} {weapon2} {weapon3} {original char}

I think it's not limited to 3 so it can be more if you like to use.

Example:
weapons Billy_Bat Billy_Boken Billy_Pipe Billy
 
Don't you have to put "know" instead of "load"? If you put "load" then the weapon shows up in character select screen right? I put "know" in models.txt and then "load" in my character header and specify  "weapons weapon1 weapon2 weapon3 nameofchar"
 
Itsuchi and Maxman, you got it wrong...
maxman said:
I think LOAD as in the character header.

Itsuchi KS said:
Don't you have to put "know" instead of "load"?
he meant load
this is my models.txt:
Code:
load	Kunio   	data/chars/kunio/kunio.txt
load	Kunio1   	data/chars/kunio1/kunio1.txt
load	Kunio2   	data/chars/kunio2/kunio2.txt
load	Kunio3   	data/chars/kunio3/kunio3.txt
load	Kunio4   	data/chars/kunio4/kunio4.txt
load	Kunio5   	data/chars/kunio5/kunio5.txt
load	Kunio6   	data/chars/kunio6/kunio6.txt
load	Kunio7		data/chars/kunio7/kunio7.txt
load	Kunio8		data/chars/kunio8/kunio8.txt
load	Kunio9		data/chars/kunio9/kunio9.txt
load	Kunio10		data/chars/kunio9/kunio10.txt
kunio.txt is the char file. all the others txt files are  weapons, and they don't show on the select screen, because weapons aren't type player

also I think we should wait for the thread starter to say what he did and what he did not, to see if he solved the problem or not.
 
What I said was right because, in my mod, Ryu can transform into Evil Ryu and Yun has another stance and I use transformations as weapons. He can use "type none" like Volcanic and I did. Volcanic also did it the way I stated in his Rocket Viper 2 mod wit Ken and Evil Ken xKen) but he didn't load it in the character header and, as I look, neither did I. My bad ;D

Code:
#-------Players-------------------
#Male	****
Load	Ken		data/chars/Ken/Ken.txt
Know	xKen		data/chars/Ken/xKen.txt
Load	Terry		data/chars/terry/terry.txt
Load	Guy		data/chars/guy/guy.txt
Load	Kim		data/chars/Kim/Kim.txt
Load	Alex		data/chars/Alex/Alex.txt
Load	Dudley		data/chars/Dudley/Dudley.txt
Load	Akuma		data/chars/Akuma/Akuma.txt
Load	Rock		data/chars/rock/rock.txt
Load	Lee		data/chars/Lee/Lee.txt
#Female	****
Load	Mai		data/chars/mai/mai.txt
Load	Maki		data/chars/maki/maki.txt
Load	Hibiki		data/chars/Hibiki/Hibiki.txt
Load	Leona		data/chars/Leona/Leona.txt
#Load	Senna		data/chars/Senna/Senna.txt
Load	Kula		data/chars/Kula/Kula.txt
Load	Shiki		data/chars/Shiki/Shiki.txt
Load	Ingrid		data/chars/Ingrid/Ingrid.txt
load	Morrigan	data/chars/Morrigan/Morrigan.txt
Load	Sarah		data/chars/sarah/sarah.txt
#---------NPCs-------------------
Load	Sakura		data/chars/sakura/sakura.txt
Load	Zangief		data/chars/Zangief/Zangief.txt
Know	Citizen1	data/chars/Citizen1/Citizen1.txt
Know	Citizen3	data/chars/Citizen3/Citizen3.txt
Know	nsarah		data/chars/sarah/nsarah.txt
Know	Ryun		data/chars/Ryu/Ryun.txt

Code:
name		Ken
riseinv 	1 1
health		100
speed		11
mp		150
type		Player
projectilehit	enemy obstacle
diesound	data/chars/ken/die.wav
makeinv		3
gfxshadow	1
mprate		3
running		21 4 2 1 0
atchain		1 2 3
dust		dust

didhitscript	data/scripts/didhit/ken.c
animationscript data/scripts/playersh.c
script		data/scripts/main/ken.c
onspawnscript	data/scripts/spawn/ken.c

defense		all 1 1 1
offense		all 1

palette		data/chars/ken/alt0.gif
alternatepal	data/chars/ken/alt1.gif
alternatepal	data/chars/ken/alt2.gif
alternatepal	data/chars/ken/alt3.gif
alternatepal	data/chars/ken/alt4.gif
alternatepal	data/chars/ken/alt5.gif
alternatepal	data/chars/ken/alt6.gif

weapons		xken ken

COM	D F S freespecial
com	d u a freespecial2
com	d f a freespecial3
com	d f u a freespecial5
com	D U S freespecial6
com	f d a freespecial7
com	d u d u s freespecial8

Code:
anim	freespecial8
	energycost	50 1
	weaponframe	5 1
	Delay	10
	OffSet	27 107
	Frame	data\chars\ken\sp0.gif
	sound	data/chars/ken/angry.wav
	OffSet	27 111
	Frame	data\chars\ken\sp1.gif
	@cmd	spawn02 "flash3"
	@cmd	spawn01 "kchange" 0 0 1
	OffSet	27 113
	Frame	data\chars\ken\sp2.gif
	OffSet	29 114
	Frame	data\chars\ken\sp3.gif
	OffSet	35 113
	Frame	data\chars\ken\sp4.gif
	Frame	data\chars\ken\sp4.gif

Code:
name		xken
riseinv 	1 1
health		100
speed		15
mp		150
type		none
projectilehit	enemy obstacle
diesound	data/chars/ken/die2.wav
makeinv		3
weaploss	2
gfxshadow	1
mprate		2
running		25 4 2 1 0
bounce		1
atchain		1 2 4 3
dust		dust
defense		all 1.4 1 1
offense		all 1.3

didhitscript	data/scripts/didhit/xken.c
animationscript data/scripts/ken.c
script		data/scripts/main/ken.c

alternatepal	data/chars/ken/alt1a.gif
alternatepal	data/chars/ken/alt2a.gif
alternatepal	data/chars/ken/alt3a.gif
alternatepal	data/chars/ken/alt4a.gif
alternatepal	data/chars/ken/alt5a.gif
alternatepal	data/chars/ken/alt6a.gif


COM	D F S freespecial
com	d u a freespecial2
com	d f a freespecial3
com	D U S freespecial6
com	f d a freespecial7
com	d u d u s freespecial8
 
Sorry, I've been busy with school, work, and music. I'm not sure how to get posts sent to my email. I was using "know" instead of "load" because I thought it would show up in the select screen. That's probably why I couldn't pick up the katana! Yea, I checked out the Double Dragon mod, oh yea, yea, I see.
I'll get it a try, thanks guys!
 
Back
Top Bottom