View unanswered posts | View active topics It is currently Sun Sep 29, 2024 12:50 am



Reply to topic  [ 3 posts ] 
 Help Requests 
Author Message

Joined: Sat Nov 28, 2009 3:47 pm
Posts: 5
Reply with quote
Post Help Requests
I may have been in the world of Cortex Command for a long time, but that doesn't mean that I'm good at it. I have a few requests for anyone willing to help me with my latest mods (which likely aren't going to be good enough for posting):
1) Making a Pheonix Soldier: I can't figure out how to make the soldier spawn another Pheonix Soldier when he's killed.. that is, when one dies, another one spawns from the body.
2) Getting soldiers to spawn with weapons (getting "AddInventory" to do something).
3) Respriting on the Pheonix Soldier, Rabid Wolf (ammunition for my Rabid Wolf Cannon), and Dwarves (I designed a new Faction).

I get the feeling that I'm doing something really stupid in the coding for these, I'm not very good at coding the game. Also, I'm just a really pitiful spriter... the Rabid Wolf looks like he has broken legs and several other disabilities. Anyone willing to take on any of these, please message me about it. Attached below is the current coding for the Pheonix Soldier.


Attachments:
File comment: It's easy to tell that this thing is a copy of the Browncoat Heavy, I wanted endurance on this soldier.
Pheonix.ini [20.09 KiB]
Downloaded 187 times
Tue Mar 23, 2010 12:27 am
Profile
User avatar

Joined: Tue Jan 12, 2010 8:25 pm
Posts: 400
Location: mukilteo, wa
Reply with quote
Post Re: Help Requests
zalo made a phoenix bot, that respawns at death just like you want your soldier to do.
http://forums.datarealms.com/viewtopic.php?f=61&t=10890&hilit=phoenix+bot
as for the spawning with weapons if you look at the dummies ini code at the bottom commented out is the code for adding a weapon, and your right its AddInventory.
[tab] AddInventory = HDFirearm
[tab][tab] CopyOf = Gun
-this is where you would put your weapons name

I believe (and maybe wrong) that if you refer to items in base.rte you will not have to add include file path before refering to the item. (exact code for that escapes me at the moment) [tab]IncludeFile = Stuff.rte/Guns/Gun.ini -I think this is the code, your file path will be differnt

As for your sprite troubles contrary and crazymlc have a prety cool thread going for helping spriters, i suggest you post your work on it and let them give you some tips. http://forums.datarealms.com/viewtopic.php?f=1&t=18195

I hope this all helps you. -salt


Tue Mar 23, 2010 1:11 am
Profile
User avatar

Joined: Mon Jun 15, 2009 4:02 pm
Posts: 905
Reply with quote
Post Re: Help Requests
Code:
   AddGib = Gib
      GibParticle = AHuman
         CopyOf = Pheonix Soldier
      Offset = Vector
         X = 0
         Y = 0
      Count = 1
      Spread = 0

Copy/paste that, and whenever the Soldier is gibbed, one of his gibs will be him again.
However, if he is not gibbed, then he will just settle into the terrain. You could add a Lua script to circumvent this;
Code:
function Update(self)
   if Actor.Health == 0
      self:GibThis();
   end
end

with
[tab]ScriptPath = Corn.rte/Corn/Corn.lua

I'm pretty sure that should all work, but if you run into any problems, just say.


Tue Mar 23, 2010 8:26 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 3 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.033s | 14 Queries | GZIP : Off ]