Data Realms Fan Forums
http://45.55.195.193/

Making a weapon
http://45.55.195.193/viewtopic.php?f=1&t=10636
Page 1 of 1

Author:  Jamzinator [ Fri Mar 14, 2008 10:44 pm ]
Post subject:  Making a weapon

Hello, I am making a simple weapon, and have the sprites sorted (not so different from the template), Yet I have no idea what to do now. If anyone could help, I would be very grateful.

Dumb Jamzinator is Dumb. :-(

Author:  CaveCricket48 [ Fri Mar 14, 2008 10:55 pm ]
Post subject:  Re: Making a weapon

First, change all the file paths in the Index:

From

Code:
Weapon Template.rte/Effects.ini
Weapon Template.rte/Device.ini


To:

Code:
<Mod Name Here>.rte/Effects.ini
<Mod Name Here>.rte/Devices.ini



Than, in each INI text file, replace the Names with template in them with your own names, like:

Code:
AddDevice = HDFirearm
      Copyof = Weapon Template



Code:
AddDevice = HDFirearm
      Copyof = <Weapon name>



Anything that says Template you need to replace. If there's something that says "Copyof"
make sure the name is matching what it asks for.

Author:  Jamzinator [ Fri Mar 14, 2008 10:56 pm ]
Post subject:  Re: Making a weapon

Thanks. Much appreciated. :grin:

Edit:
Arggh, run into a problem: the program says that:

Reffering to an instance (particle<wepname>) to copy from that hasn't been defined! in <wepname>.rte/Gun.ini at line 83!
abort screen!


:oops:

Author:  Hobbesy [ Sat Mar 15, 2008 1:04 am ]
Post subject:  Re: Making a weapon

I'm no master at coding, but I think that means you didn't put in the tracers/bullets.

Author:  robolee [ Sat Mar 15, 2008 1:14 am ]
Post subject:  Re: Making a weapon

it means that there is a problem at line 83 christ no offence but how the hell is this not common sense, why does EVERY newb ask this question?

as it SAYS "Reffering to an instance (particle<wepname>) to copy from that hasn't been defined!" you have put an INSTANCEname TO COPY FROM that has not been DEFINED or most likely is incorrect.

...a.k.a the instance name for that particle is wrong on line 83 or you just made up the instance name to which there is no object with that instance name to copy from, so check that you have actually coded the particle and if so check that "InstanceName =" matches up.

EDIT: in this case yes Lambda is right particles (a.k.a MOSParticle's) are "bullets"/rounds.
EDIT:also the line 83 may not be %100 correct and is sometimes a few lines out.

Author:  Winterous [ Sat Mar 15, 2008 1:20 am ]
Post subject:  Re: Making a weapon

What you say is true robolee, but some people just get a bit baffled by the whole thing.

Author:  robolee [ Sat Mar 15, 2008 1:23 am ]
Post subject:  Re: Making a weapon

I started CC when I was 14 and I perfectly understood the error messages, they are very precise and specific and I never needed to ask wtf they meant, I'm sorry but it just annoys me that some people don't understand what I would class as simple, such as my english teacher not knowing how to play a dvd on a laptop :x .

Author:  Sixteen [ Sat Mar 15, 2008 6:41 am ]
Post subject:  Re: Making a weapon

I started when I was ten. But it took me about a day to get used to it.

Author:  Jamzinator [ Sat Mar 15, 2008 10:03 am ]
Post subject:  Re: Making a weapon

Thanks anyway.

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/