Data Realms Fan Forums http://45.55.195.193/ |
|
Whats wrong with this module http://45.55.195.193/viewtopic.php?f=1&t=31335 |
Page 1 of 1 |
Author: | SavaGhost [ Mon Jun 25, 2012 2:50 am ] | ||
Post subject: | 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.
|
Author: | BrainChild [ Mon Jun 25, 2012 6:03 pm ] | ||
Post subject: | 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
|
Author: | Technomancer [ Tue Jun 26, 2012 12:17 am ] |
Post subject: | 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. |
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |