View unanswered posts | View active topics It is currently Sun Jan 05, 2025 4:31 am



Reply to topic  [ 13 posts ] 
 I need help :S 
Author Message
User avatar

Joined: Thu Jul 15, 2010 1:52 pm
Posts: 165
Reply with quote
Post 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
Profile
User avatar

Joined: Wed Feb 24, 2010 11:00 pm
Posts: 255
Location: Unknow
Reply with quote
Post 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
Profile
User avatar

Joined: Wed Jan 07, 2009 10:26 am
Posts: 4074
Location: That quaint little British colony down south
Reply with quote
Post 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
Profile WWW
User avatar

Joined: Sun May 23, 2010 7:11 pm
Posts: 193
Reply with quote
Post 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
Profile
User avatar

Joined: Wed Jan 07, 2009 10:26 am
Posts: 4074
Location: That quaint little British colony down south
Reply with quote
Post 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
Profile WWW
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post 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
Profile
User avatar

Joined: Wed Sep 09, 2009 3:16 am
Posts: 3032
Location: Somewhere in the universe
Reply with quote
Post 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
Profile
User avatar

Joined: Sun May 23, 2010 7:11 pm
Posts: 193
Reply with quote
Post Re: I need help :S
Also for your spriting delema you can try
How to Pixel
and
And every thing you need to know about modding
the 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
Wiki
and 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
Profile
happy carebear mom
User avatar

Joined: Tue Mar 04, 2008 1:40 am
Posts: 7096
Location: b8bbd5
Reply with quote
Post 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
Profile
User avatar

Joined: Thu Jul 15, 2010 1:52 pm
Posts: 165
Reply with quote
Post 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
Profile
User avatar

Joined: Wed Jan 07, 2009 10:26 am
Posts: 4074
Location: That quaint little British colony down south
Reply with quote
Post Re: I need help :S
We're lazy. List the ones you want defined.


Mon Jul 19, 2010 11:17 am
Profile WWW
User avatar

Joined: Wed Feb 24, 2010 11:00 pm
Posts: 255
Location: Unknow
Reply with quote
Post Re: I need help :S
All for weapons , actors or ships?


Mon Jul 19, 2010 4:25 pm
Profile
User avatar

Joined: Wed Sep 09, 2009 3:16 am
Posts: 3032
Location: Somewhere in the universe
Reply with quote
Post 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
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 13 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 | 13 Queries | GZIP : Off ]