View unanswered posts | View active topics It is currently Mon Jan 06, 2025 11:19 pm



Reply to topic  [ 18 posts ]  Go to page 1, 2  Next
 A few quick noob questions 
Author Message

Joined: Sun Jun 29, 2008 10:57 pm
Posts: 3
Reply with quote
Post A few quick noob questions
Sorry if this has already been answered (I searched). But I was wondering if the size of an object in cortex command is reliant on how large or small the spite is. Is it possible to reduce the size of the spite with out losing detail?


Sat Oct 11, 2008 8:23 pm
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Wed Sep 05, 2007 4:14 am
Posts: 3966
Location: Canadida
Reply with quote
Post Re: A few quick noob questions
No, but the is a variable ( scale ) but f's with the sprites and makes them look bad, and f's up all of it's coding.

So, you need to agree with what you can polish out of the scaled sprites.


Sat Oct 11, 2008 8:27 pm
Profile

Joined: Sun Jun 29, 2008 10:57 pm
Posts: 3
Reply with quote
Post Re: A few quick noob questions
Ah, thank you. Is there a method besides trial and error to correctly size it?


Sat Oct 11, 2008 11:12 pm
Profile
happy carebear mom
User avatar

Joined: Tue Mar 04, 2008 1:40 am
Posts: 7096
Location: b8bbd5
Reply with quote
Post Re: A few quick noob questions
Just scale it to a rocket or a bunker piece. Or take a screenshot.


Sun Oct 12, 2008 12:11 am
Profile

Joined: Sun Jun 29, 2008 10:57 pm
Posts: 3
Reply with quote
Post Re: A few quick noob questions
Hmm, I successfully got a gun in game, but an odd glitch is happening.

When it's pointing to the right, it appears fine
http://i183.photobucket.com/albums/x156 ... litch0.jpg

but when pointed left, it goes all freaky like
http://i183.photobucket.com/albums/x156 ... glitch.jpg

Whats happening here?


Sun Oct 12, 2008 12:28 am
Profile

Joined: Sat Jan 13, 2007 11:04 pm
Posts: 2932
Reply with quote
Post Re: A few quick noob questions
Your gun must be in the CC's palette that has 256 colors. You can find that palette.bmp in base.rte.

Good luck figuring how to load it on your sprites.


Sun Oct 12, 2008 12:52 am
Profile
User avatar

Joined: Mon Dec 25, 2006 12:04 am
Posts: 336
Reply with quote
Post Re: A few quick noob questions
Yeah you'll need to recolor it using the pallete, which shouldn't be too hard. I would recommend going with meh sprites and learn how to code cc first, otherwise you'll have alot of cool sprites but they won't do anything. Trust me, I know from experience.

Good luck!


Sun Oct 12, 2008 1:31 am
Profile
User avatar

Joined: Mon Apr 07, 2008 5:25 pm
Posts: 93
Location: Wasteland
Reply with quote
Post Re: A few quick noob questions
I'm trying to make my first (and hopefully not last) mod , its a simple gun. My problem is with magazine, CC says there is error "Could not match property in blah,blah at line 1!" and its: AddAmmo = Magazine. I'm kind of stuck here as I have no idea what possibly could be wrong with this. I've spelled it corectly (even copied and pasted it from other mod to be SURE). Any ideas what I'm doing wrong?


Sun Oct 12, 2008 11:00 pm
Profile
User avatar

Joined: Mon Dec 25, 2006 12:04 am
Posts: 336
Reply with quote
Post Re: A few quick noob questions
copy the code and paste it in here, if its too long link us too it.


Mon Oct 13, 2008 4:46 am
Profile
User avatar

Joined: Mon Apr 07, 2008 5:25 pm
Posts: 93
Location: Wasteland
Reply with quote
Post Re: A few quick noob questions
Code:
AddAmmo = Magazine
   InstanceName = Magazine Battery
   Mass = 4
   HitsMOs = 0
   GetsHitByMOs = 0
   SpriteFile = ContentFile
      FilePath = PlasmaGun.rte/Battery.bmp
   FrameCount = 1
   SpriteOffset = Vector
      X = -3
      Y = -5
   EntryWound = AEmitter
      CopyOf = Dent Metal
   ExitWound = AEmitter
      CopyOf = Dent Metal
   AtomGroup = AtomGroup
      AutoGenerate = 1
      Material = Material
         CopyOf = Bullet Metal
      Resolution = 2
      Depth = 0
   DeepGroup = AtomGroup
      AutoGenerate = 1
      Material = Material
         CopyOf = Bullet Metal
      Resolution = 3
      Depth = 1
   DeepCheck = 1
   JointStrength = 200
   JointStiffness = 1
   JointOffset = Vector
      X = 0
      Y = -3
   ParentOffset = Vector
      X = -2
      Y = 2
   DrawAfterParent = 0
   RoundCount = 60
   RTTRatio = 0
   RegularRound = Round
      CopyOf = Round Plasma
   TracerRound = None
   AddGib = Gib
      GibParticle = MOPixel
         CopyOf = Spark Yellow 1
      Count = 5
      Spread = 2.25
      MaxVelocity = 20
      MinVelocity = 8
   AddGib = Gib
      GibParticle = MOSParticle
         CopyOf = Gib Metal Rust Micro A
      Count = 4
      Spread = 2.25
      MaxVelocity = 15
      MinVelocity = 5
   GibWoundLimit = 2

Right now its still pretty much ak 47 but i'm planning on some more serious changes like brand new material for bullets and some glows, muzzle flash and sounds, well and maybe other sprite but i'm not good at drawing.


Mon Oct 13, 2008 7:46 am
Profile
User avatar

Joined: Fri Mar 02, 2007 6:59 am
Posts: 1726
Location: NSW, Australia
Reply with quote
Post Re: A few quick noob questions
Don't do the materials thing. due to coding techniques used by Data, custom materials is a bad idea. It's not neccesarry anyway, 'specially not for bullets.


Mon Oct 13, 2008 9:16 am
Profile
User avatar

Joined: Mon Apr 07, 2008 5:25 pm
Posts: 93
Location: Wasteland
Reply with quote
Post Re: A few quick noob questions
But if I won't try to do this just because its tricky what i will learn ? Also I want it to be somewhat different than ak 47 or smg , you know its plasma gun its not supposed to shot metal bullets :wink: and I don't aggre that custom material is not necessary (try physanium sprayer, its just a sprayer of custom material but effect is kinda intresting ). So anyone has idea whats wrong with my magazine ?


Mon Oct 13, 2008 4:20 pm
Profile
User avatar

Joined: Fri Mar 02, 2007 6:59 am
Posts: 1726
Location: NSW, Australia
Reply with quote
Post Re: A few quick noob questions
You don't get it. It's really easy to make custom materials, but the problem is if you use the same material number as someone else's mod, the game will poo its pants. Don't do it.


Tue Oct 14, 2008 7:27 am
Profile
User avatar

Joined: Mon Apr 07, 2008 5:25 pm
Posts: 93
Location: Wasteland
Reply with quote
Post Re: A few quick noob questions
I don't see a problem here. Its not like it must work with all other mods, and its easy to change when that happens. On topic ( or rather real problem here :cctongue: ): So what about magazine? I don't think somethings wrong with my first line so maybe its something messed in CC ? I think I'll try reinstalling it (but on the other hand all other mods work just fine)

EDIT:
Reinstalling didn't help ( no suprise here ). Meh its kinda :dead: , I'm trying for 3 days to do something that should take 30 minutes. Someone has ANY idea? I'm at lost here. I dont see anyhing wrong with my 1 line and its keeping to pop out this error. No matter what I try. :oops:


Tue Oct 14, 2008 4:57 pm
Profile
User avatar

Joined: Mon Apr 07, 2008 5:25 pm
Posts: 93
Location: Wasteland
Reply with quote
Post Re: A few quick noob questions
Refreshing topic and also I'm putting whole mod. I would be grateful if someone could check it out.


Fri Oct 17, 2008 12:09 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 18 posts ]  Go to page 1, 2  Next

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.040s | 13 Queries | GZIP : Off ]