Author |
Message |
Jamzinator
Joined: Fri Mar 14, 2008 10:40 pm Posts: 3
|
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.
|
Fri Mar 14, 2008 10:44 pm |
|
|
CaveCricket48
Joined: Tue Jun 12, 2007 11:52 pm Posts: 13144 Location: Here
|
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.
|
Fri Mar 14, 2008 10:55 pm |
|
|
Jamzinator
Joined: Fri Mar 14, 2008 10:40 pm Posts: 3
|
Re: Making a weapon
Thanks. Much appreciated. 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!
|
Fri Mar 14, 2008 10:56 pm |
|
|
Hobbesy
Joined: Mon Feb 11, 2008 11:11 pm Posts: 711 Location: East of Applachia, West of the Mississippi
|
Re: Making a weapon
I'm no master at coding, but I think that means you didn't put in the tracers/bullets.
|
Sat Mar 15, 2008 1:04 am |
|
|
robolee
Joined: Fri May 11, 2007 4:30 pm Posts: 1040 Location: England
|
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.
|
Sat Mar 15, 2008 1:14 am |
|
|
Winterous
Joined: Tue Jul 03, 2007 12:33 am Posts: 1275 Location: Elsewhere.
|
Re: Making a weapon
What you say is true robolee, but some people just get a bit baffled by the whole thing.
|
Sat Mar 15, 2008 1:20 am |
|
|
robolee
Joined: Fri May 11, 2007 4:30 pm Posts: 1040 Location: England
|
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 .
|
Sat Mar 15, 2008 1:23 am |
|
|
Sixteen
Joined: Sun Nov 25, 2007 6:29 am Posts: 400
|
Re: Making a weapon
I started when I was ten. But it took me about a day to get used to it.
|
Sat Mar 15, 2008 6:41 am |
|
|
Jamzinator
Joined: Fri Mar 14, 2008 10:40 pm Posts: 3
|
Re: Making a weapon
Thanks anyway.
|
Sat Mar 15, 2008 10:03 am |
|
|
|