Mod Question Repository... Questions come in, answers go out
Moderator: Moderators
Re: Mod Question Repository... Questions come in, answers go out
Hooray. :D
I figured out what kept crashing the game when I tried my unit. I think it was because the image files I used for the textures weren't inside the UnitTextures folder. How silly of me.
I'm so happy, now that I can make a unit appear in-game. Thanks for your help everyone.
I figured out what kept crashing the game when I tried my unit. I think it was because the image files I used for the textures weren't inside the UnitTextures folder. How silly of me.

I'm so happy, now that I can make a unit appear in-game. Thanks for your help everyone.

Re: Mod Question Repository... Questions come in, answers go out
Oookay, next problem.
So I sent my mod to a friend, but since I can't zip it up into .sd7 format until I find where I can get a zipper, I've resorted to putting it into a .SDD folder.
Problem here is that I can play it normally, alone, but when my friend or I make a room for the mod, the player that joins gets a sync error. I've talked to one guy about it, and he says that's it is within my mod. I'm pretty sure of that too, since we can host other mods with any errors.
Anybody want to help? Thanks.
So I sent my mod to a friend, but since I can't zip it up into .sd7 format until I find where I can get a zipper, I've resorted to putting it into a .SDD folder.
Problem here is that I can play it normally, alone, but when my friend or I make a room for the mod, the player that joins gets a sync error. I've talked to one guy about it, and he says that's it is within my mod. I'm pretty sure of that too, since we can host other mods with any errors.
Anybody want to help? Thanks.
- Pressure Line
- Posts: 2283
- Joined: 21 May 2007, 02:09
Re: Mod Question Repository... Questions come in, answers go out
7zip for making sd7 and winrar for making sdz. (hint they are just renamed .7z and .zip files respectively)
Re: Mod Question Repository... Questions come in, answers go out
Er, I hate to admit this, but... er... I'm stumped.
Is there a way to specify that a unit cannot be captured? I can't seem to find one...
Is there a way to specify that a unit cannot be captured? I can't seem to find one...
Re: Mod Question Repository... Questions come in, answers go out
OTA used capturable=0, no idea if that's implemented.
Re: Mod Question Repository... Questions come in, answers go out
It's not in unitdefhandler, so I'd assume no.
-
- Posts: 1176
- Joined: 23 Aug 2007, 19:46
Re: Mod Question Repository... Questions come in, answers go out
I don't know if it's applicable for you but what if you just set commander=1 ? AFAIK that also makes your unit unconquerable...
Re: Mod Question Repository... Questions come in, answers go out
No, I don't want to set the unit to commander=1. Bummer!
Re: Mod Question Repository... Questions come in, answers go out
Comms can be captured, IIRC.
Re: Mod Question Repository... Questions come in, answers go out
I haven't tested it yet, but after reading the CAI source, I think you may be right. I've already made a Feature Request, maybe somebody will show mercy and implement this 

- bobthedinosaur
- Blood & Steel Developer
- Posts: 2702
- Joined: 25 Aug 2004, 13:31
Re: Mod Question Repository... Questions come in, answers go out
okay, not capture related, but what is the latest with melee weapons?
has an one played with the concept lately? do you till have to slave them to a null weapon for aiming, and are there any mods ou there that use sudo-melee weapons if not working melee?
has an one played with the concept lately? do you till have to slave them to a null weapon for aiming, and are there any mods ou there that use sudo-melee weapons if not working melee?
Re: Mod Question Repository... Questions come in, answers go out
Well, the Worm in KP 2.0 uses melee.
- bobthedinosaur
- Blood & Steel Developer
- Posts: 2702
- Joined: 25 Aug 2004, 13:31
Re: Mod Question Repository... Questions come in, answers go out
last one for now, i promise. pertaining to the new .76 weapon tag 'projectiles'. does each projectile do the defined damage like burst; (ie: a projectile=10 and damage of 10, all 10 hit target 100 damage is done)?
Last edited by bobthedinosaur on 04 Jan 2008, 22:21, edited 1 time in total.
-
- Posts: 1176
- Joined: 23 Aug 2007, 19:46
Re: Mod Question Repository... Questions come in, answers go out
Is it possible that a flying kamikaze unit blows itself up when you give an attack order on some plain ground? Because right now it only works when it has an enemy unit it can kill - if you want it to detonate on a specific position it just keeps moving above that spot (I think the flying ability avoids getting "close enough" somehow)...
I tried to increase the kamikaze distance and decrease the cruisealt but it didn't help (besides that it detonates too far away from an enemy unit then
)...
I tried to increase the kamikaze distance and decrease the cruisealt but it didn't help (besides that it detonates too far away from an enemy unit then

Re: Mod Question Repository... Questions come in, answers go out
Since my KILL_UNIT (get 121?) patch was committed you could put a melee weapon onto the unit and have the unit kill itself in FireWeapon.
I don't know how flying units respond to melee weapons however.
You could kill or remove it and spawn an explosion through Lua too I think.
I don't know how flying units respond to melee weapons however.
You could kill or remove it and spawn an explosion through Lua too I think.
-
- Posts: 1176
- Joined: 23 Aug 2007, 19:46
Re: Mod Question Repository... Questions come in, answers go out
Did you ever get something like this and know how to solve it?
From the infolog:
From the infolog:
I don't know what shall be wrong there - in the first line there just is the [UNITINFO] . I tried to copy the FBI straight away from other mods and renamed it from corspec to corspectre but it still gives me this error and you also cannot cheat the unit into the game...Error parsing units/corspectre.fbi: Bad TDF text at line 1
WARNING: removed the "corspectre" entry from the "coralab" build menu
Re: Mod Question Repository... Questions come in, answers go out
Most certainly a syntax error somewhere in there...pastebin the fbi.