Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Upgrades and Power-Ups
Upgrades and Power-Ups [message #347018] Sat, 16 August 2008 17:15 Go to next message
samous is currently offline  samous
Messages: 616
Registered: August 2008
Karma: 0
Colonel
I have been modifing the cnc_c130 file so that the c-130 would drop other cool stuf. L8ly I have had a problem with geting powerups that you can walk into and get (like weapons). I have been working on the Stealth Suit powerup, but i haven't been abkle to let the infantry grab it. I just walk over it and nothing happens. Can some one help me with this? Also, If you can get the power up to work, can someone tell me how to make the infantry unit that got it stealth?

-THNX
=Samous


Samous Ind. modding group website:
http://samous.webs.com/img/Capture.PNG

and Facebook Page: here
Re: Upgrades and Power-Ups [message #347025 is a reply to message #347018] Sat, 16 August 2008 18:17 Go to previous messageGo to next message
bisen11 is currently offline  bisen11
Messages: 797
Registered: December 2004
Karma: 0
Colonel
There's several powerup presets that don't actually work, such as the stealth suit. You might be able to get them to work using some combination of scripts.

http://i6.photobucket.com/albums/y206/bisen11/bisensubzerosig2.jpg
Re: Upgrades and Power-Ups [message #347027 is a reply to message #347025] Sat, 16 August 2008 19:03 Go to previous messageGo to next message
_SSnipe_ is currently offline  _SSnipe_
Messages: 4121
Registered: May 2007
Location: Riverside Southern Califo...
Karma: 0
General (4 Stars)
bisen11 wrote on Sat, 16 August 2008 18:17

There's several powerup presets that don't actually work, such as the stealth suit. You might be able to get them to work using some combination of scripts.

they work....all powerups do....its just in level u have to attach a script to its preset that when u pick it up it gives you something,,,,and you have to type what it gives you.. right now you cant pick them up causev they dont give you nothing...

for stealth suit theres a script that you put on that power up so when you pick it up the unit becomes stealth for xxx amount of time


i would tell you but i dont have level edit working
Re: Upgrades and Power-Ups [message #347048 is a reply to message #347025] Sat, 16 August 2008 22:44 Go to previous messageGo to next message
Canadacdn is currently offline  Canadacdn
Messages: 1830
Registered: September 2005
Location: Temple of Nod
Karma: 0
General (1 Star)
PLECOS MASTER
bisen11 wrote on Sat, 16 August 2008 20:17

There's several powerup presets that don't actually work, such as the stealth suit. You might be able to get them to work using some combination of scripts.


The stealth armor works, attach TDA_Stealth_Armor to it.
Re: Upgrades and Power-Ups [message #347051 is a reply to message #347018] Sat, 16 August 2008 23:09 Go to previous messageGo to next message
bisen11 is currently offline  bisen11
Messages: 797
Registered: December 2004
Karma: 0
Colonel
That's what i mean by using scripts to get them to work, silly people.

http://i6.photobucket.com/albums/y206/bisen11/bisensubzerosig2.jpg
Re: Upgrades and Power-Ups [message #347056 is a reply to message #347018] Sun, 17 August 2008 01:33 Go to previous messageGo to next message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma: 0
General (3 Stars)
samous wrote on Sat, 16 August 2008 20:15

I have been modifing the cnc_c130 file so that the c-130 would drop other cool stuf. L8ly I have had a problem with geting powerups that you can walk into and get (like weapons). I have been working on the Stealth Suit powerup, but i haven't been abkle to let the infantry grab it. I just walk over it and nothing happens. Can some one help me with this? Also, If you can get the power up to work, can someone tell me how to make the infantry unit that got it stealth?

-THNX
=Samous


You're going to need to make a objects.ddb/aow/gm mod for your server.
Tick the box in level edit that says "alwaysallowgrant" on the preset that you're making the plane drop. That's what you need to do to make the infantry able to "grab" the power-up.



Re: Upgrades and Power-Ups [message #347064 is a reply to message #347056] Sun, 17 August 2008 03:06 Go to previous messageGo to next message
DL60 is currently offline  DL60
Messages: 283
Registered: May 2006
Karma: 0
Recruit
Quote:

The stealth armor works, attach TDA_Stealth_Armor to it.


Interesting. I'm always a bit unsure about where to add such scripts.

To the objects-preset?
To the spawner-preset for taht object?
To every placed spawner separatly in my terrain?

Because I tried that long time ago @ DM_Yodeller.
Re: Upgrades and Power-Ups [message #347067 is a reply to message #347018] Sun, 17 August 2008 03:43 Go to previous messageGo to next message
zunnie is currently offline  zunnie
Messages: 2959
Registered: September 2003
Location: Netherlands
Karma: 0
General (2 Stars)

I made a script for that powerup a long time ago but i dont think it
was ported into the scripts 3.4.4 dll, hopefully Jonwil will add it to 4.0 scripts.dll

The source code:
void z_StealthSuit::Custom(GameObject *obj,int message,int param,GameObject *sender)
{
	if (message == 1000000025)
	{
		Change_Character(sender,"CnC_Nod_FlameThrower_2SF");
	}
}
ScriptRegistrant<z_StealthSuit> z_StealthSuit_Registrant("z_StealthSuit","");


class z_StealthSuit : public ScriptImpClass {
	void Custom(GameObject *obj,int message,int param,GameObject *sender);
};


https://multiplayerforums.com/uploads/monthly_2018_03/TCW2_Signature.png.6236a0dbc6e1e53472a18fe8cd15e47b.png
Re: Upgrades and Power-Ups [message #347069 is a reply to message #347067] Sun, 17 August 2008 03:59 Go to previous messageGo to next message
saberhawk
Messages: 1068
Registered: January 2006
Location: ::1
Karma: 0
General (1 Star)
zunnie wrote on Sun, 17 August 2008 05:43

I made a script for that powerup a long time ago but i dont think it
was ported into the scripts 3.4.4 dll, hopefully Jonwil will add it to 4.0 scripts.dll

The source code:
void z_StealthSuit::Custom(GameObject *obj,int message,int param,GameObject *sender)
{
	if (message == 1000000025)
	{
		Change_Character(sender,"CnC_Nod_FlameThrower_2SF");
	}
}
ScriptRegistrant<z_StealthSuit> z_StealthSuit_Registrant("z_StealthSuit","");


class z_StealthSuit : public ScriptImpClass {
	void Custom(GameObject *obj,int message,int param,GameObject *sender);
};




jonwil isn't the only person that has authority over importing scripts, you know...

Imported.
Re: Upgrades and Power-Ups [message #347086 is a reply to message #347069] Sun, 17 August 2008 08:26 Go to previous messageGo to next message
zunnie is currently offline  zunnie
Messages: 2959
Registered: September 2003
Location: Netherlands
Karma: 0
General (2 Stars)

Saberhawk wrote on Sun, 17 August 2008 06:59

zunnie wrote on Sun, 17 August 2008 05:43

I made a script for that powerup a long time ago but i dont think it
was ported into the scripts 3.4.4 dll, hopefully Jonwil will add it to 4.0 scripts.dll




jonwil isn't the only person that has authority over importing scripts, you know...

Imported.


I didnt know that Surprised
There is a bunch more scripts over here:
http://www.game-maps.net/staff/zunnie/hostagemode/scripts344/


https://multiplayerforums.com/uploads/monthly_2018_03/TCW2_Signature.png.6236a0dbc6e1e53472a18fe8cd15e47b.png

[Updated on: Sun, 17 August 2008 08:26]

Report message to a moderator

Re: Upgrades and Power-Ups [message #347147 is a reply to message #347086] Sun, 17 August 2008 13:43 Go to previous messageGo to next message
saberhawk
Messages: 1068
Registered: January 2006
Location: ::1
Karma: 0
General (1 Star)
zunnie wrote on Sun, 17 August 2008 10:26

Saberhawk wrote on Sun, 17 August 2008 06:59

zunnie wrote on Sun, 17 August 2008 05:43

I made a script for that powerup a long time ago but i dont think it
was ported into the scripts 3.4.4 dll, hopefully Jonwil will add it to 4.0 scripts.dll




jonwil isn't the only person that has authority over importing scripts, you know...

Imported.


I didnt know that Surprised
There is a bunch more scripts over here:
http://www.game-maps.net/staff/zunnie/hostagemode/scripts344/




Which I already imported, unless you added more changes? Big Ups
Re: Upgrades and Power-Ups [message #347152 is a reply to message #347018] Sun, 17 August 2008 14:10 Go to previous messageGo to next message
samous is currently offline  samous
Messages: 616
Registered: August 2008
Karma: 0
Colonel
"You're going to need to make a objects.ddb/aow/gm mod for your server.
Tick the box in level edit that says "alwaysallowgrant" on the preset that you're making the plane drop. That's what you need to do to make the infantry able to "grab" the power-up. "

I'm not making a LVL, just editing the cnc_c130drop file.
I wasn't expecting getting 10+ replies to this subect either, so thanks for the help, alot!

"The stealth armor works, attach TDA_Stealth_Armor to it"

I tried this, and it was just like before, I walk right on past it. (with out "grabing" it) Does anyone know how to let the characters GRAB the power up without making a new lvl?

-Little more help
=Samous


Samous Ind. modding group website:
http://samous.webs.com/img/Capture.PNG

and Facebook Page: here

[Updated on: Sun, 17 August 2008 14:11]

Report message to a moderator

Re: Upgrades and Power-Ups [message #347158 is a reply to message #347152] Sun, 17 August 2008 14:25 Go to previous messageGo to next message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma: 0
General (3 Stars)
samous wrote on Sun, 17 August 2008 17:10

"You're going to need to make a objects.ddb/aow/gm mod for your server.
Tick the box in level edit that says "alwaysallowgrant" on the preset that you're making the plane drop. That's what you need to do to make the infantry able to "grab" the power-up. "

I'm not making a LVL, just editing the cnc_c130drop file.




I know, but the power-up you're talking about probably doesn't grant anything at all, and with alwaysallowgrant turned off, that would be the reason for you not being able to "grab it". Even if you did attach a script to it, you would need to either make it grant something so they could "grab it" or use that setting, which would require the object mod for the server.



Re: Upgrades and Power-Ups [message #347164 is a reply to message #347018] Sun, 17 August 2008 14:36 Go to previous messageGo to next message
samous is currently offline  samous
Messages: 616
Registered: August 2008
Karma: 0
Colonel
Well, if anyone does figuer out a way to add a line or so of script to get you to aquier the power-up and turn stealth, that would be cool.

=Samous

PS: is there a oppisate of the M00_Disable_Transition script?


Samous Ind. modding group website:
http://samous.webs.com/img/Capture.PNG

and Facebook Page: here
Re: Upgrades and Power-Ups [message #347167 is a reply to message #347164] Sun, 17 August 2008 14:42 Go to previous messageGo to next message
_SSnipe_ is currently offline  _SSnipe_
Messages: 4121
Registered: May 2007
Location: Riverside Southern Califo...
Karma: 0
General (4 Stars)
samous wrote on Sun, 17 August 2008 14:36

Well, if anyone does figuer out a way to add a line or so of script to get you to aquier the power-up and turn stealth, that would be cool.

=Samous

PS: is there a oppisate of the M00_Disable_Transition script?



1)this script attached to the preset will turn u stealth when ever you pick it up

TDA_Stealth_Armor

2)each powerup preset you need to check "alwaysallowgrant"

3)each powerup is BLANK you need to attach a script like "grand powerup on pickup or something related to that since i forgot the name onto the preset then type in what you get when you pickit up


PS:this is all done via level edit serverside if you do not know how to put scripts on the powerups via level edit please say so

[Updated on: Sun, 17 August 2008 14:43]

Report message to a moderator

Re: Upgrades and Power-Ups [message #347176 is a reply to message #347018] Sun, 17 August 2008 14:50 Go to previous messageGo to next message
samous is currently offline  samous
Messages: 616
Registered: August 2008
Karma: 0
Colonel
maby you don't understand, all i'm doing is editing the c-130 file, i'm going to make a better c-130 drop editor with it! If some one can just tell me the exact lines of script i can MANUALLY add to the cnc_c130drop.txt file, that would be cool. I CAN NOT USE LVL EDITOR with my c-130 drop editor.

=Samous

PS: Is there a M00_Enable_Transition Script?


Samous Ind. modding group website:
http://samous.webs.com/img/Capture.PNG

and Facebook Page: here
Re: Upgrades and Power-Ups [message #347179 is a reply to message #347176] Sun, 17 August 2008 15:06 Go to previous messageGo to next message
_SSnipe_ is currently offline  _SSnipe_
Messages: 4121
Registered: May 2007
Location: Riverside Southern Califo...
Karma: 0
General (4 Stars)
samous wrote on Sun, 17 August 2008 14:50

maby you don't understand, all i'm doing is editing the c-130 file, i'm going to make a better c-130 drop editor with it! If some one can just tell me the exact lines of script i can MANUALLY add to the cnc_c130drop.txt file, that would be cool. I CAN NOT USE LVL EDITOR with my c-130 drop editor.

=Samous

PS: Is there a M00_Enable_Transition Script?

well idont thinku can do it via c130
Re: Upgrades and Power-Ups [message #347182 is a reply to message #347018] Sun, 17 August 2008 15:17 Go to previous messageGo to next message
samous is currently offline  samous
Messages: 616
Registered: August 2008
Karma: 0
Colonel
I'm still wondering if there is a script that can let u into a veh. As opposed to not let you in a veh.

Also, if lvl editor creates a line of script for the power up to be created, can someone find that line and paste it here plz! Atleast I can try to make a new power up via c-130. (if anyone know how to make a new power up with an other txt file, that would be cool too, I will just a a script in my c-130 editor to edit that file also)

=Samous


Samous Ind. modding group website:
http://samous.webs.com/img/Capture.PNG

and Facebook Page: here
Re: Upgrades and Power-Ups [message #347185 is a reply to message #347176] Sun, 17 August 2008 15:48 Go to previous message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma: 0
General (3 Stars)
samous wrote on Sun, 17 August 2008 17:50

maby you don't understand, all i'm doing is editing the c-130 file, i'm going to make a better c-130 drop editor with it! If some one can just tell me the exact lines of script i can MANUALLY add to the cnc_c130drop.txt file, that would be cool. I CAN NOT USE LVL EDITOR with my c-130 drop editor.

=Samous

PS: Is there a M00_Enable_Transition Script?



The preset itself needs to be changed. To do this you need to use level edit.
The only other way that I can think of is to attach a script to the power-up you created that uses the function "Set_Powerup_Always_Allow_Grant". You could write your own I guess, but it would probably be easier for you to make the objects mod using level edit.



Previous Topic: Anyone know of any maps similar to C&C_Death_rally?
Next Topic: Location of the Website code of renegade
Goto Forum:
  


Current Time: Sun Jan 26 15:43:18 MST 2025

Total time taken to generate the page: 0.01276 seconds