View unanswered posts | View active topics It is currently Fri Dec 27, 2024 8:53 am



Reply to topic  [ 3 posts ] 
 Whats wrong with this module 
Author Message

Joined: Mon Jun 25, 2012 2:43 am
Posts: 17
Reply with quote
Post Whats wrong with this module
Hey all.

I am trying to create a faction.
Right now i am trying to add a weapon to the faction but it doesn't work.

What i want is that my faction shows up in the purchase menu and i can buy and use the weapon in there. Please Help me with both the weapons script and the factions.

Thanks.


Attachments:
File comment: This is the rte of the whole faction with the weapon,sprites and all the scripts inside.
GHST.rar [31.62 KiB]
Downloaded 172 times
Mon Jun 25, 2012 2:50 am
Profile
User avatar

Joined: Sun May 23, 2010 7:11 pm
Posts: 193
Reply with quote
Post Re: Whats wrong with this module
Hey.

I tried to fix your module but you get some weird errors after your fire sound in the Avenger.ini around line 122

I did however fix your Index.ini and all the problem from line 1 up until 122
Here are what I fixed:
Your spacing in the index.ini - use tab and not space also some lines were tabbed but to much (Description was one of them I think)
In the Avenger.ini you tabbed the AddToGroup
You said your avenger has a Frame count of 2 but only had one sprite
Your Avenger Fire sound was specified as AvengerFire.wav but your wav file was named AvengerFire1.wav
Everything after the FireSound gives the same error: Something about not understanding the preset - if someone can help with that


Attachments:
GHST.rte.rar [31.5 KiB]
Downloaded 183 times
Mon Jun 25, 2012 6:03 pm
Profile
User avatar

Joined: Sat Jul 31, 2010 10:01 pm
Posts: 42
Reply with quote
Post Re: Whats wrong with this module
Working from the fixes BrainChild made, the error-causing bit is that you've declared the magazine wrong under the HDFirearm.

What you had was
Code:
   Magazine = Avenger Magazine
      CopyOf = Magazine Coalition Sniper Rifle

whereas you should have
Code:
   Magazine = Magazine
      CopyOf = MagazineAvengerA

which works.

You also have two instances of "Particle Coalition Sniper" in the ini file, both at the start and the end. Get rid of the second one. I also suggest you rename the particles in your file so they aren't named the same as the coalition ones, it'll probably cause some issues. If you aren't changing them, you can probably get away with just referencing them from Coalition.rte without re-stating them (or at least you could in older versions).

I'll also note here that you your sprites are WAY too big, facing the wrong direction and not in palette.


Tue Jun 26, 2012 12:17 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.043s | 14 Queries | GZIP : Off ]