Advice on modding error pls!

Get some help with creating maps or modding.
Need a map editor or other tools, look here!
User avatar
Tenoh
Trained
Trained
Posts: 359
Joined: 18 Nov 2008, 15:06

Advice on modding error pls!

Post by Tenoh »

Ok so i decided to fool around and make my own mode so i start with basic, trying to add a weapon the the game.... added in weapons tx and in names.. ok,game doesnt crash.Going one more step, trying to add tower with a new weapon and thats where trouble begins.I get an error.

[resLoadFile:474] The load function for resource type "SSTRWEAP" failed for file "structureweapons.txt"

I checked the names and they cant be wrong so i am at a loss.Sadly this site doesnt have a fully tuttorial as to how to add defence structure to the game.Any advice on where i should look for error?
"No, you don't want to buy this Sh[beep]t from me. It shoots sideways, it was built by retard zombies in some f[beep]king outreach program." HL:G
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: Advice on modding error pls!

Post by NoQ »

Any advice on where i should look for error?
Any advice on where should we look for what you did? (:
User avatar
Tenoh
Trained
Trained
Posts: 359
Joined: 18 Nov 2008, 15:06

Re: Advice on modding error pls!

Post by Tenoh »

Just sent you the lines i did.hope itll be enough to find what a my doing wrong.
"No, you don't want to buy this Sh[beep]t from me. It shoots sideways, it was built by retard zombies in some f[beep]king outreach program." HL:G
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: Advice on modding error pls!

Post by NoQ »

Why don't you just post the mod .wz file :augh:
User avatar
Tenoh
Trained
Trained
Posts: 359
Joined: 18 Nov 2008, 15:06

Re: Advice on modding error pls!

Post by Tenoh »

lol cause i am just embarassed >_<
Last edited by Tenoh on 07 Jul 2012, 16:27, edited 1 time in total.
"No, you don't want to buy this Sh[beep]t from me. It shoots sideways, it was built by retard zombies in some f[beep]king outreach program." HL:G
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: Advice on modding error pls!

Post by NoQ »

There is no newline at the end of weapons.txt, so the last line is ignored.
Note: i couldn't have ever figured it out from your PM.
User avatar
Tenoh
Trained
Trained
Posts: 359
Joined: 18 Nov 2008, 15:06

Re: Advice on modding error pls!

Post by Tenoh »

oh... i see.so all i have to do is to add a new empty line?

YES! it worked lol thank you so much! now i know one more thing about WZ! ^_^
"No, you don't want to buy this Sh[beep]t from me. It shoots sideways, it was built by retard zombies in some f[beep]king outreach program." HL:G