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

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline rey  
#1 Posted : Saturday, August 4, 2018 11:37:56 AM(UTC)
rey
Major
Joined: 11/6/2015(UTC)
Posts: 152

Thanks: 8 times
Was thanked: 4 time(s) in 4 post(s)
i'm aware of common
Quote:
CommandSetUpgrade
[Gives the object the ability to change commandsets back and forth when this module two times]
TriggeredBy = [entry(s) from Upgrade.INI]
FXListUpgrade = [entry from FXList.INI]
ConflictsWith = [entry(s) from Upgrade.INI]
RequiresAllTriggers = [Yes/No]
RemovesUpgrades [entry(s) from Upgrade.INI, multiple "upgrade" entrys can be put here]
CommandSet = [entry from CommandSet.INI]
CommandSetAlt = [entry from CommandSet.INI]
TriggerAlt = [entry(s) from Upgrade.INI]
End

this module changes CommandSet only if upgrade was purchased by player = question is:
if there is other way to change CommandSet, with automatic delayed(non-player started) means? i didn't find a way to use Statuses and GrantUpgrade doesn't work for already present units.

Edited by user Saturday, August 4, 2018 11:39:34 AM(UTC)  | Reason: Not specified

Sponsor
Offline Zatsupachi  
#2 Posted : Sunday, August 5, 2018 2:33:37 PM(UTC)
Zatsupachi
Major
Joined: 3/27/2015(UTC)
Posts: 490

Thanks: 5 times
Was thanked: 213 time(s) in 155 post(s)
What're you trying to do here?
"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 rey  
#3 Posted : Sunday, August 5, 2018 3:07:36 PM(UTC)
rey
Major
Joined: 11/6/2015(UTC)
Posts: 152

Thanks: 8 times
Was thanked: 4 time(s) in 4 post(s)
it's a part of experimenting. i was trying to create an obj that through GrantUpgradeCreate provides upgrade, after that some units via CommandSetUpgrade with TriggeredBy on that upgrade should have changed their sets, but it didn't happen. that's why i'm asking if there are other ways.
Offline Zatsupachi  
#4 Posted : Monday, August 6, 2018 10:14:25 AM(UTC)
Zatsupachi
Major
Joined: 3/27/2015(UTC)
Posts: 490

Thanks: 5 times
Was thanked: 213 time(s) in 155 post(s)
re-iterating the premise didn't help much...

So from what I'm getting, you're trying to switch-out a commandset via a GrantUpgradeCreate(?).
Which somehow defeats the purpose of having the initial commandset unless there's something about this object that grants it.

The only foreseeable reason why it is not switching out the commandset I see is that it's an OBJECT_UPGRADE type upgrade, which requires you to upgrade object individually. Changing the upgrade type to PLAYER_UPGRADE would make it so that it affects the player globally.

Go check the upgrade entry.
"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 rey  
#5 Posted : Monday, August 6, 2018 3:23:08 PM(UTC)
rey
Major
Joined: 11/6/2015(UTC)
Posts: 152

Thanks: 8 times
Was thanked: 4 time(s) in 4 post(s)
Originally Posted by: Zatsupachi Go to Quoted Post
The only foreseeable reason why it is not switching out the commandset I see is that it's an OBJECT_UPGRADE type upgrade, which requires you to upgrade object individually. Changing the upgrade type to PLAYER_UPGRADE would make it so that it affects the player globally.

Go check the upgrade entry.
you're right, i was trying to use GrantUpgradeCreate to change command set of unit. the thing is, even with global upgrade unit doesn't care if GrantUpgradeCreate appears after unit was created.
i wanted to create a unit, which spawns an obj(needed for other things), that after some time via another spawn creates obj with global GrantUpgradeCreate in order to change command set of initial unit. apparently GrantUpgradeCreate can do nothing here, and that why i'm asking here about other ways.

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.