Author |
Message |
PvtVain
Joined: Thu Jul 15, 2010 1:52 pm Posts: 165
|
I need help :S
Alright so i wanna make my own mod And i have all the templates Though there are 2 problems standing in my way I can't sprite And I don't know what the ♥♥♥♥ any of these things do in the ini for the weapon Like for example CopyOf= What does that even do I'm gonna try to write the code from scratch to get a better understanding And the only real problem with me and spriting is I can sprite just i can't detail things
|
Sat Jul 17, 2010 12:58 pm |
|
|
CCnewplayer
Joined: Wed Feb 24, 2010 11:00 pm Posts: 255 Location: Unknow
|
Re: I need help :S
PM for everything about ini , and "CopyOf =" indicates the name of the object for example , if you want to put into your weapon , a bullets' clip called "Weapon Mag" would be this:
CopyOf = Weapon Mag
|
Sat Jul 17, 2010 1:24 pm |
|
|
411570N3
Joined: Wed Jan 07, 2009 10:26 am Posts: 4074 Location: That quaint little British colony down south
|
Re: I need help :S
Err... If CCnewplayer's explanation was not as clear as you would like, I can explain: CopyOf copies the attributes of an already defined object. This means if you have already defined an object, you may define a new object by placing a CopyOf line in place of where you would put all the object's attributes. The use of this is that you may make a series of objects which are only slightly different, by redefining the properties you wish to change by defining them as normal with lines underneath the CopyOf line. Effective use of this makes your code more compact, quicker to load and much less tedious to write.
|
Sat Jul 17, 2010 1:49 pm |
|
|
BrainChild
Joined: Sun May 23, 2010 7:11 pm Posts: 193
|
Re: I need help :S
PvtVain wrote: I'm gonna try to write the code from scratch to get a better understanding I tried that not the best way to go when you want to learn how certain things work and it takes a long time to do so take the ini of some weapon or whatever that is close to what you want and play around with it change the names and sounds , file paths gibs and then you will learn what everything does without the all the trouble of typing everything also when experimenting with things like crafts , turrets it works great because you don't always have to change everything , things like sounds and gibs are things that you don't always want to change when you are just experimenting
|
Sat Jul 17, 2010 10:09 pm |
|
|
411570N3
Joined: Wed Jan 07, 2009 10:26 am Posts: 4074 Location: That quaint little British colony down south
|
Re: I need help :S
Even the eldest of modders generally don't write entire .ini definitions from scratch, so learning to do so isn't really a great idea. What's better is having a solid understanding of how it is each value affects the object; as for remembering the names, the files can do that for you until you start being able to name them from experience.
|
Sun Jul 18, 2010 8:51 am |
|
|
Grif
REAL AMERICAN HERO
Joined: Sat Jan 27, 2007 10:25 pm Posts: 5655
|
Re: I need help :S
Memorizing content names or the specific variables needed to define particular classes is a pointless waste of time.
The only thing you absolutely need to know is what variables do; anything else is just a distraction.
I cannot recall ever, in my years of modding, writing any piece of code entirely from scratch. About the only thing I remember is setting up a gib, since that's one of the most common code snippets and it's also quite easy.
A healthy knowledge of filenames, how the game's organized, etc, will come with time; focus on experimentation (and breaking things) before you worry about doing everything right.
|
Sun Jul 18, 2010 9:09 am |
|
|
dragonxp
Joined: Wed Sep 09, 2009 3:16 am Posts: 3032 Location: Somewhere in the universe
|
Re: I need help :S
Yes, i don't think most people besides Data, and the content devs who actually did write it from scratch, msot likely.
I'm willing to bet most modders use either vanilla objects or mod objects as a base for any snippet of code.
|
Sun Jul 18, 2010 9:37 am |
|
|
BrainChild
Joined: Sun May 23, 2010 7:11 pm Posts: 193
|
Re: I need help :S
Also for your spriting delema you can try How to Pixeland And every thing you need to know about moddingthe Sprite help thread is also a good place if you need help with some of your sprites And is you don't understand some variable look in the wiki witch is down so try Wikiand if you still don't understand PM me or just post it hear and we will try to help you
|
Sun Jul 18, 2010 10:03 am |
|
|
Duh102
happy carebear mom
Joined: Tue Mar 04, 2008 1:40 am Posts: 7096 Location: b8bbd5
|
Re: I need help :S
dragonxp wrote: most modders use either vanilla objects or mod objects as a base for any snippet of code. QFT, I used a standard set of objects that cover most of what I'd ever need and use tons of CopyOfs back when I did anything. Granted, after modding a while you kinda memorize things on the side, but it's a side effect only, not the main thrust.
|
Sun Jul 18, 2010 2:55 pm |
|
|
PvtVain
Joined: Thu Jul 15, 2010 1:52 pm Posts: 165
|
Re: I need help :S
What would help first of all Is i need all the things defined In sections :S
God modding is hard
|
Mon Jul 19, 2010 10:41 am |
|
|
411570N3
Joined: Wed Jan 07, 2009 10:26 am Posts: 4074 Location: That quaint little British colony down south
|
Re: I need help :S
We're lazy. List the ones you want defined.
|
Mon Jul 19, 2010 11:17 am |
|
|
CCnewplayer
Joined: Wed Feb 24, 2010 11:00 pm Posts: 255 Location: Unknow
|
Re: I need help :S
All for weapons , actors or ships?
|
Mon Jul 19, 2010 4:25 pm |
|
|
dragonxp
Joined: Wed Sep 09, 2009 3:16 am Posts: 3032 Location: Somewhere in the universe
|
Re: I need help :S
PvtVain wrote: What would help first of all Is i need all the things defined In sections :S
God modding is hard My Tutorial defines quite a lot of variables: http://forums.datarealms.com/viewtopic.php?f=1&t=18296
|
Mon Jul 19, 2010 7:15 pm |
|
|
|