View unanswered posts | View active topics It is currently Fri Dec 27, 2024 8:44 am



Reply to topic  [ 14 posts ] 
 Weapon Desginer looking for modder 
Author Message
User avatar

Joined: Tue Oct 02, 2007 7:01 pm
Posts: 27
Reply with quote
Post Weapon Desginer looking for modder
Greetings all

I used to be a mad sprites awhile back, and i have been able to sprite various weapons and gear.

Here is a link to one i designed:
Image

I don't know if it will fit these models sizes, (MetalSlug base)
but if they do, then can someone run me through how to add the code 'n stuff?

Really applicate the assistance.


Thu Oct 04, 2007 5:06 am
Profile
User avatar

Joined: Tue Aug 21, 2007 2:55 pm
Posts: 948
Reply with quote
Post Re: Weapon Desginer looking for modder
Use the mod templates in the sticky, they should help. Just play around with
the variables, you'll see those things you'd like to tweak.


Thu Oct 04, 2007 10:06 am
Profile
User avatar

Joined: Sun Dec 03, 2006 6:50 am
Posts: 311
Location: I miss my +1k post count :(
Reply with quote
Post Re: Weapon Desginer looking for modder
nice sprite!

i would gladly help but im now busy with my new mod..


Thu Oct 04, 2007 3:46 pm
Profile
User avatar

Joined: Tue Oct 02, 2007 7:01 pm
Posts: 27
Reply with quote
Post Re: Weapon Desginer looking for modder
Okay, so what about animations and stuff, they got to be .Gif or something right? and bullets too? sheesh i got alot of questions to ask


Thu Oct 04, 2007 5:06 pm
Profile
User avatar

Joined: Sun Dec 03, 2006 6:50 am
Posts: 311
Location: I miss my +1k post count :(
Reply with quote
Post Re: Weapon Desginer looking for modder
dont be shy ill help

btw this game doesnt use gif

for weapons. there is a 2 frame limit (dunno why) 1 for idle and 1 for firing frame

bullets are made using codes no sprites needed unless you gun fires (Ex:like the flak cannon round) bullets using a sprite.


Thu Oct 04, 2007 5:23 pm
Profile
User avatar

Joined: Tue Oct 02, 2007 7:01 pm
Posts: 27
Reply with quote
Post Re: Weapon Desginer looking for modder
Okay, i made both images, the mag images, and started coding. Using the AK-47 coding to help.

Should i post the code here so i can get some help?


Thu Oct 04, 2007 5:35 pm
Profile
User avatar

Joined: Sun Dec 03, 2006 6:50 am
Posts: 311
Location: I miss my +1k post count :(
Reply with quote
Post Re: Weapon Desginer looking for modder
make sure the mag and weapons etc are in seperate images

umm you can send the file to me via PM

heres a little tip:

usally you see alot if this variable:

Sprite Offset:
x = 2
y = -5

these are the varables that set the position of the current image its related to.

the setting point is the center of the image

ill explain the x,y:

x+ right
x- left
y+ down
y- up

Note:x+ and y+ are not marked with a + next to them in a code file only when the variable is -

ex:

1.not good
x = +5
y = -3

2.good
x = 5
y = -3

i dunno why the y- is up instead of down..

but make sure after you finish a sprite run it trough the cortex command palette

meaning: copy paste your finished sprite to the CC (cortex command) palette and save in your folder

ATTENTION!
make sure you hae copies of you palette and never save your sprite on the palette file or youl have to re install the game


Thu Oct 04, 2007 5:47 pm
Profile
User avatar

Joined: Tue Oct 02, 2007 7:01 pm
Posts: 27
Reply with quote
Post Re: Weapon Desginer looking for modder
uhhh....what?

Im sorry, im so new to this, please excuse my stupidty.

I have its own file folder
Assault Rifle.rte has all the stuff from sound, to code, to images inside it all under the Cortex Command File

Is that correct?


Thu Oct 04, 2007 6:07 pm
Profile

Joined: Sat Jan 13, 2007 11:04 pm
Posts: 2932
Reply with quote
Post Re: Weapon Desginer looking for modder
Designer eh? Could you design me a rather big chaingun?
They are like miniguns with several barrels in a tight circle.


Thu Oct 04, 2007 7:43 pm
Profile
User avatar

Joined: Wed Feb 14, 2007 5:37 am
Posts: 350
Reply with quote
Post Re: Weapon Desginer looking for modder
divix wrote:
...
ill explain the x,y:

x+ right
x- left
y+ down
y- up

Note:x+ and y+ are not marked with a + next to them in a code file only when the variable is -

ex:

1.not good
x = +5
y = -3

2.good
x = 5
y = -3

i dunno why the y- is up instead of down..

...



You got it backwards, or atleast for the most part.

It's:
+y = Up
-y = Down
+x = Left
-x = Right

and it's the exact opposite for ParentOffsets (Like an emmiter onto a rocket)


Fri Oct 05, 2007 6:30 am
Profile WWW

Joined: Sat Jan 13, 2007 11:04 pm
Posts: 2932
Reply with quote
Post Re: Weapon Desginer looking for modder
No_0ne wrote:
divix wrote:
...
ill explain the x,y:

x+ right
x- left
y+ down
y- up

Note:x+ and y+ are not marked with a + next to them in a code file only when the variable is -

ex:

1.not good
x = +5
y = -3

2.good
x = 5
y = -3

i dunno why the y- is up instead of down..

...



You got it backwards, or atleast for the most part.

It's:
+y = Up
-y = Down
+x = Left
-x = Right

and it's the exact opposite for ParentOffsets (Like an emmiter onto a rocket)


Whoah wait. What does this rule apply to? And where is usually the starting point for a gun?? Is it the upleft corner? Since ive always believed it to be the lower right corner. And Y- is up and X- is left.

Does this rule apply to absolutely everything? (Except ParentOffsets as you mentioned?)

And btw, how's you mech pack coming up?


Fri Oct 05, 2007 2:34 pm
Profile
User avatar

Joined: Sat Jun 30, 2007 4:39 am
Posts: 521
Reply with quote
Post Re: Weapon Desginer looking for modder
Quote:
You got it backwards, or atleast for the most part.

It's:
+y = Up
-y = Down
+x = Left
-x = Right

and it's the exact opposite for ParentOffsets (Like an emmiter onto a rocket)

Most offsets for every aspect of this game use the inverted y axis and the normal x axis.. most of the time.

I tested just about every single one of them to come to this conclusion. The starting point of every sprite is the top left.. The only exception to the negative y axis that I can see is 'SpriteOffset', that determines the origin of the sprite, which then all other offsets will then refer to.. easy to get confused.

I'll draw a picture.. gimme a second.

Okay.. here is a gridded pistol sprite.
Image

The current origin is at the very top left pixel.

SpriteOffset, which determines the origin for future reference (in my observations), is shown as -7, -3.
Code:
SpriteFile = ContentFile
      FilePath = Base.rte/Devices/Pistols/Pistol.bmp
   FrameCount = 2
   SpriteOffset = Vector
      X = -7
      Y = -3


For some reason, SpriteOffset uses an inverted x-axis instead of the usual inverted y for most offsets, this may be because the program subtracts the negative offset for this one.. hmm..

To reiterate.. the SpriteOffset determines the center of the sprite, this is where all of the other sprites will refer to as the origin.. that only catch is that SpriteOffset uses an inverted x-axis and a normal y-axis. The rest use the inverted-y.

Here it is.

Image

Then, using the SupportOffset as an example, we can see it:

Code:
   SupportOffset = Vector
      X = -1
      Y = 3


This time, it's the usual inverted y.

Image

There, that's where the BGArm's hand will hold it. Damn, that was confusing.


Fri Oct 05, 2007 4:16 pm
Profile WWW
User avatar

Joined: Sun Dec 03, 2006 6:50 am
Posts: 311
Location: I miss my +1k post count :(
Reply with quote
Post Re: Weapon Desginer looking for modder
yeah it was...


Fri Oct 05, 2007 5:13 pm
Profile
User avatar

Joined: Thu Sep 27, 2007 8:43 pm
Posts: 31
Location: At my PC, playing Cortex Command
Reply with quote
Post Re: Weapon Desginer looking for modder
Okay, do you just want me to create your weapon? 'Cause I've made 14 of my own... Gimme a few days, it'll only take me, like, 15 mins, but I procrastinate.


Tue Nov 06, 2007 5:32 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 14 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.054s | 13 Queries | GZIP : Off ]