Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline Apocalypse232  
#1 Posted : Friday, June 28, 2019 2:43:15 PM(UTC)
Apocalypse232
Captain
Joined: 9/18/2018(UTC)
Posts: 55
United Kingdom

Thanks: 20 times
Was thanked: 4 time(s) in 3 post(s)
Hi there.
So I decided to edit the battle bus for Demolitions General.
I wanted to add a new weapon to it, which is "deploy demo traps"(Same idea from other mods for ZH).
I successfully made the weapon work and the problem is that when I click on the Suicide icon, the bus just shows explosion effects and doesn't die. It only does after taking a single shot from any other units. I even copied the codes from the mod that I used the weapon idea from but no luck!Disapprove
Can anyone help me out?

Here is my battle bus weapons codes:


Here are the codes from commandbutton.ini:


If you need any other necessary codes or info, let me know!!!
Thanks,
Sponsor
Offline nebula9545  
#2 Posted : Saturday, June 29, 2019 2:36:29 PM(UTC)
nebula9545
Private
Joined: 6/29/2019(UTC)
Posts: 1

HAve you set a "deathweapon" module proper? Im thinking the deathweapon may not be set to your weapon.ini as u copied it, perhaps still set to mod's deathweapon.


Also when I was making an upgrade for my demotruck for a bigger weapon:



This part of the weapon.ini code seems to be the code for "suicide".

DamageDealtAtSelfPosition = Yes

Edited by user Saturday, June 29, 2019 3:02:40 PM(UTC)  | Reason: Not specified

Offline Apocalypse232  
#3 Posted : Wednesday, July 3, 2019 6:48:48 AM(UTC)
Apocalypse232
Captain
Joined: 9/18/2018(UTC)
Posts: 55
United Kingdom

Thanks: 20 times
Was thanked: 4 time(s) in 3 post(s)
I have double checked the codes but still can't figure it out. Let me tell u about the problem again. The unit is supposed to have a button that makes it die via suicide (like all of demo units) but this unit only does after taking a tiny amount of damage! What's the cause of this?
Offline Zatsupachi  
#4 Posted : Sunday, August 11, 2019 10:04:46 AM(UTC)
Zatsupachi
Major
Joined: 3/27/2015(UTC)
Posts: 490

Thanks: 5 times
Was thanked: 213 time(s) in 155 post(s)
Can you show me the entire object code?
"It's precision_bomber."

Death Label HAS BEEN RELEASED(go get v0.99):
http://www.moddb.com/mod...oads/death-label-ver-099

Next Episode:
precision_bomber's Zero Hour SCIENCE!
Offline Apocalypse232  
#5 Posted : Wednesday, August 14, 2019 10:28:55 AM(UTC)
Apocalypse232
Captain
Joined: 9/18/2018(UTC)
Posts: 55
United Kingdom

Thanks: 20 times
Was thanked: 4 time(s) in 3 post(s)
Here you go.

Demo Battle Bus codes:
Offline AdrianeMapMaker  
#6 Posted : Friday, August 16, 2019 8:32:11 PM(UTC)
AdrianeMapMaker
General
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 3/8/2016(UTC)
Posts: 1,156
Philippines

Thanks: 312 times
Was thanked: 185 time(s) in 149 post(s)
suiciding battle buss ? try removing the BattleBusSlowDeathBehavior module
A part of ZH worldbuilders map making community
https://discord.gg/tJ6zyGb

UserPostedImage





Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.