Renegade Public Forums
C&C: Renegade --> Dying since 2003â„¢, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » scripts.dll stuff
scripts.dll stuff [message #62015] Thu, 15 January 2004 00:46 Go to next message
jonwil is currently offline  jonwil
Messages: 3555
Registered: February 2003
Karma: 0
General (3 Stars)

I am back from my holiday and will look at scripts.dll stuff as and when I get the chance to do so.
Things:
1.the request to print strings on the screen cant be done. There is no way to do it from a script that would print for everybody.
2.I dont know just what the Reborn scripts do but there is no way to detect an object firing its weapon.
3.JFW_Toggle_Radar doesnt work in MP
4.the switchable building stuff, I will look at that for 1.4 at some point
5.there are some fixes for the reborn stuff that I will merge in and that will be available in whatever I end up calling 1.4
6.the scripts requested by boris_the_invincible@hotmail.com, they may go in if I have the time
7.new script ideas (things to go in 1.4), put em here

So, basicly, if I have the time, I will add various things and release 1.4
No promises though.
scripts.dll stuff [message #62023] Thu, 15 January 2004 04:26 Go to previous messageGo to next message
TimeFX is currently offline  TimeFX
Messages: 25
Registered: January 2004
Location: Germany
Karma: 0
Recruit

Hi Smile
Thanks for information.
I expected that printing strings isn't working Sad
(I have another idea to to it, but I have to try it out Wink)

--

To toggle the radar could be possible, but I dunno how.
I played a multiplayer map with com center - and the radar was turned off when it was destroyed - I hope this is possible with scripts too /or maybe it was a script?!)
hmmm. The mapname was C&C_Conquest_Island. Who's the author? Smile

--

Is there any way to show the charging progress bar from ION Cannon Beacon / Nuke Beacon with a script?


Thx so far,
TimeFX
scripts.dll stuff [message #62032] Thu, 15 January 2004 07:00 Go to previous messageGo to next message
TheKGBspy is currently offline  TheKGBspy
Messages: 96
Registered: April 2003
Karma: 0
Recruit
yay btw its me boris_the_invincible@hotmail.com Smile


btw its somerhino who did conquest island.


will you be online tonight so i can explain you 2 last script i need?


Ra2: Vengeance Project lead(it's Dead... sorry)
An empty Ghost since 2005.
Re: scripts.dll stuff [message #62034] Thu, 15 January 2004 07:34 Go to previous messageGo to next message
Deactivated is currently offline  Deactivated
Messages: 1503
Registered: February 2003
Karma: 0
General (1 Star)
jonwil

2.I dont know just what the Reborn scripts do but there is no way to detect an object firing its weapon.



Sad
Hmm... any clues... who programmed that "do an action (teleport, deploy etc) on when pressing fire button" script then?
scripts.dll stuff [message #62038] Thu, 15 January 2004 08:24 Go to previous messageGo to next message
Try_lee is currently offline  Try_lee
Messages: 542
Registered: February 2003
Location: Reading, England
Karma: 0
Colonel
I'm guessing it'd be Namehunter or Spirit.

YARR! The pirate life is for me! http://www.n00bstories.com/image.fetch.php?id=1202408761
scripts.dll stuff [message #62040] Thu, 15 January 2004 09:39 Go to previous messageGo to next message
General Havoc is currently offline  General Havoc
Messages: 1564
Registered: February 2003
Location: Birmingham, England, Unit...
Karma: 0
General (1 Star)
JFW_Custom_Damage_Object behaves wrong in game, causing the target object to get destroyed whenever a custom is sent to the object with the script on.

Visit my website at http://renhelp.laeubi-soft.de powered by laeubi.de
"SHUT UP AND MOD" - Dante
"ACK is the Simon Cowell of modding" - Ultron10
Scripts.dll Debugger, Map Scripter and Tutorial writer

Computer Science Bsc
Aston University in Birmingham, UK
Re: scripts.dll stuff [message #62048] Thu, 15 January 2004 11:23 Go to previous messageGo to next message
NeoSaber is currently offline  NeoSaber
Messages: 336
Registered: February 2003
Karma: 0
Recruit
jonwil

2.I dont know just what the Reborn scripts do but there is no way to detect an object firing its weapon.


I did some checking into that. As I understand it, the script is designed to check if the player driving the vehicle has damaged their own vehicle. So in game when you right click, it fires a shot that explodes almost immediately. That damages the tank a bit and triggers the Damaged function in the script.


NeoSaber

Renegade Map Maker at CnC Source
Animator/Compiler/Level Editor/Object Rigger/Programmer for Red Alert: A Path Beyond
scripts.dll stuff [message #62052] Thu, 15 January 2004 11:38 Go to previous messageGo to next message
Blazer is currently offline  Blazer
Messages: 3322
Registered: February 2003
Location: Phoenix, AZ
Karma: 0
General (3 Stars)
Administrator/General

JonWil make sure you check out the work that vloktboky has done with server-side scripts.dll mods. His stuff might give you some ideas for things to add.
scripts.dll stuff [message #62057] Thu, 15 January 2004 12:11 Go to previous messageGo to next message
[REHT]Spirit is currently offline  [REHT]Spirit
Messages: 277
Registered: April 2003
Karma: 0
Recruit

*comes in and smacks JonWil for the fun of it Very Happy * (just kidding)

1. Reborn's deploy and burrow scripts don't actually detect when you fire. They essintally pray you set it up so that, as said in the read-me, you set secondary or primary fire to make a projectile that some how collides with the vehicle. You should be able to set the amount of damage actually done to 0, the bullet just needs to hit the vehicle or make an explosion.

Extra: For other futuristic mods, you can use this as an advantage for SFX (make a trasnparent chamber in the vehicle, and make it so that when the guy deploys, you can make a projectile with the model of something and make it apear in the chamber, so it should hit the vehicle by hitting some vehicle part inside....looks like it's actually doing something! *shrugs*).

2. You CAN print messages to the chat box! But with some limitedness. This is how I did it for Survival:

-Make a new string of the message you want to say (for me, one of them was something like "NHB: MUAHAHAHAHAHAHA!!!!").

-Make a new building, must be on GDI or Nod, and have it's destruction string set to your new string.

-When you want to trigger the message, kill the building.

This does have some faults, like you can't do something like "You have XXX vehicles" without making a string for each number. You also have to kill the building at the end of the game if it doesn't get killed before then, otherwise you can't win until the building is killed (well, the map would be one-sided based on the building's team).

Still, it works. For me it was enough. With a little tricky work-arounds, you can probally use the current Survival scripts to do this. SUR_NHB or SUR_Overmind, whichever it's called, can trigger it. You just need to fool it into thinking that it's time to "taunt" you.[/u]
scripts.dll stuff [message #62059] Thu, 15 January 2004 12:24 Go to previous messageGo to next message
Deactivated is currently offline  Deactivated
Messages: 1503
Registered: February 2003
Karma: 0
General (1 Star)
[REHT

Spirit]
1. Reborn's deploy and burrow scripts don't actually detect when you fire. They essintally pray you set it up so that, as said in the read-me, you set secondary or primary fire to make a projectile that some how collides with the vehicle. You should be able to set the amount of damage actually done to 0, the bullet just needs to hit the vehicle or make an explosion.

Extra: For other futuristic mods, you can use this as an advantage for SFX (make a trasnparent chamber in the vehicle, and make it so that when the guy deploys, you can make a projectile with the model of something and make it apear in the chamber, so it should hit the vehicle by hitting some vehicle part inside....looks like it's actually doing something! *shrugs*).
[/u]


Sounds like it can't be used for a missile launcher platform.
scripts.dll stuff [message #62060] Thu, 15 January 2004 12:25 Go to previous messageGo to next message
[REHT]Spirit is currently offline  [REHT]Spirit
Messages: 277
Registered: April 2003
Karma: 0
Recruit

Why not? Primary fire for missiles, secondary for burrowing/deploying. Or set the second weapon to do the burrowing, so it should be weapon 1 (1 on the number strip) for missiles, then 2 for burrowing.
scripts.dll stuff [message #62068] Thu, 15 January 2004 12:57 Go to previous messageGo to next message
Deactivated is currently offline  Deactivated
Messages: 1503
Registered: February 2003
Karma: 0
General (1 Star)
I don't want the vehicle to burrow or deploy though.. Confused

jonwil

As for the make part of the model disappear thing, I know of a way to do the disappear but the problem is, there is no way for a script to know when something fires its weapon.


Let's review:
SSM Launcher
A part of of the vehicle (missile) needs to become invisible (hidden) when it launches the weapon and later become visible again to show it has reloaded (a new missile stack).
scripts.dll stuff [message #62069] Thu, 15 January 2004 13:01 Go to previous messageGo to next message
[REHT]Spirit is currently offline  [REHT]Spirit
Messages: 277
Registered: April 2003
Karma: 0
Recruit

Ah, ok. That's a bit trickier....actually that's a lot trickier. I think you can make an invisible AI turret, so that when you fire, you're justdamaging yourself, triggering an animation, and telling the turret to update to where your turret is pointing, and fire.
scripts.dll stuff [message #62073] Thu, 15 January 2004 13:11 Go to previous messageGo to next message
laeubi is currently offline  laeubi
Messages: 799
Registered: February 2003
Location: Germany
Karma: 0
Colonel

Hows the Textboxes in MP-Practise working??? Jsut a thought it might lead to the display message thingy Very Happy

A Script I need:
If the Script (attached to a Daves Arrow) recives a custom,
Check if the player has the ammount of Money (givven by the scrpt parameter)
If the Player has the amount of money, simpley takes it away and send a Custom to another object.
Would be fien if this can be Sidespeciffic (e.g. only GDI or NOD requestst are acepted)

Hope thats posible Confused


www.laeubi.de Find Mods, Maps, Tool, Files and More!
< All Tutorials you ever searched for >
< contact me >
"Don't say it is imposible... just find a solution!"
scripts.dll stuff [message #62121] Thu, 15 January 2004 17:31 Go to previous messageGo to next message
bigwig992 is currently offline  bigwig992
Messages: 555
Registered: February 2003
Location: Nashua, NH
Karma: 0
Colonel
[REHT]Spirit, was it you that made JFW_Guard_Duty? I'm still having trouble with that script for Sole Survivor. Put a nice big "Helper" bone a meter or two above the model. Anyway, the only vehicle I can get it to work for is the stealth tank. It works for other vehicles (such as the mediam tank) until they see an enemey. They fire once, and 2 seconds later the entire game crashes. Does it with every vehicle except the stealth tank. Any idea what's wrong?

-The ONLY Renegade fan to pee off a school.
http://www.n00bstories.com/image.fetch.php?id=1055662786
http://www.n00bstories.com/stats/renegade_stats.php?player=bigwig992&team=gdi
scripts.dll stuff [message #62125] Thu, 15 January 2004 18:07 Go to previous messageGo to next message
[REHT]Spirit is currently offline  [REHT]Spirit
Messages: 277
Registered: April 2003
Karma: 0
Recruit

JFW = JonWil. I haven't done anything with Guard Duty so I wouldn't know.
scripts.dll stuff [message #62176] Fri, 16 January 2004 03:48 Go to previous messageGo to next message
TimeFX is currently offline  TimeFX
Messages: 25
Registered: January 2004
Location: Germany
Karma: 0
Recruit

[REHT

Spirit]*comes in and smacks JonWil for the fun of it Very Happy * (just kidding)

2. You CAN print messages to the chat box! But with some limitedness. This is how I did it for Survival:

-Make a new string of the message you want to say (for me, one of them was something like "NHB: MUAHAHAHAHAHAHA!!!!").

-Make a new building, must be on GDI or Nod, and have it's destruction string set to your new string.

-When you want to trigger the message, kill the building.

This does have some faults, like you can't do something like "You have XXX vehicles" without making a string for each number. You also have to kill the building at the end of the game if it doesn't get killed before then, otherwise you can't win until the building is killed (well, the map would be one-sided based on the building's team).

Still, it works. For me it was enough. With a little tricky work-arounds, you can probally use the current Survival scripts to do this. SUR_NHB or SUR_Overmind, whichever it's called, can trigger it. You just need to fool it into thinking that it's time to "taunt" you.[/u]



loool that's exactly my idea I wanted to test next Very Happy

I'll try to dnamically generate and destroy a building for the message when I want to print it, so there souldn't be a problem at the end of the game.
Hope that works Smile



-------


BTW:
I made a TFX_Replace_When_Repaired script, so you can replace destroyed vehicles the the usable ones (like in first SP mission where an engineer repairs a destroyed med tank)
Works very fine Smile
And when the usable tank got destroyed again (i.e. buggy) there is a destroyed one spawning again. Wink
scripts.dll stuff [message #62193] Fri, 16 January 2004 06:14 Go to previous messageGo to next message
TimeFX is currently offline  TimeFX
Messages: 25
Registered: January 2004
Location: Germany
Karma: 0
Recruit

Laeubi

Hows the Textboxes in MP-Practise working??? Jsut a thought it might lead to the display message thingy Very Happy

A Script I need:
If the Script (attached to a Daves Arrow) recives a custom,
Check if the player has the ammount of Money (givven by the scrpt parameter)
If the Player has the amount of money, simpley takes it away and send a Custom to another object.
Would be fien if this can be Sidespeciffic (e.g. only GDI or NOD requestst are acepted)

Hope thats posible Confused



You want to make it team specific, but I see that it's not possible for Custom events (he says that team = -2 oO)
Won't you have a poke event? This should work Wink
scripts.dll stuff [message #62257] Fri, 16 January 2004 15:32 Go to previous messageGo to next message
Sanada78 is currently offline  Sanada78
Messages: 435
Registered: April 2003
Karma: 0
Commander

There's one other thing that I don't think has been mentioned, not really an important one.

As with most other things, it suffers from the server-side only bug. When someone uses a voice command, an icon appears above them indicating team mates who’s in need attention. This would help so much when someone is spamming "I need Repairs" and an icon appears making it quicker to assist them.

I thought this may be possible with a script, but I don't know. Is it possible to implement it back into MP?
scripts.dll stuff [message #62258] Fri, 16 January 2004 15:37 Go to previous messageGo to next message
TimeFX is currently offline  TimeFX
Messages: 25
Registered: January 2004
Location: Germany
Karma: 0
Recruit

I tried to add this to mp - not possible Sad
ok, some answers [message #62430] Sat, 17 January 2004 22:21 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3555
Registered: February 2003
Karma: 0
General (3 Stars)

1.no, its not possible to do the charge animation from MP
2.anyone got a download link for conquest island?
3.TheKGBspy, post details of all the scripts you want (including the other ones you said before) here in this thread.
4.as for JFW_Custom_Damage_Object, I see what the problem is but I need to figure out a fix...
5.TimeFX, can you send me this TFX_xxx scripts you wrote (look in the readme.txt of the scripts.dll for the email address)
6.Laeubi, as for your script, what would be sending the custom to the Daves Arrow?
7.the icon above the player thing, cant do that in a script.

Anyhow, right now, I am going to let this topic sit here for a while and get all the ideas/fixes/things to do for 1.4 sorted then I am going to see about getting a 1.4 out sometime before I go back to uni.
scripts.dll stuff [message #62443] Sun, 18 January 2004 02:38 Go to previous messageGo to next message
Titan1x77 is currently offline  Titan1x77
Messages: 1086
Registered: February 2003
Karma: 0
General (1 Star)
I didnt search thru the list of scripts...but is there an death on enter zone script that doesnt use Tiberium death.

The preset in LE wont kill chem troopers or Mutants...Im almost positive theres one..but just incase there isn't...could you make a true Death on enter script


"But if the gameplay sucks, the looks don't matter at all." - Sir Phoenixx

scripts.dll stuff [message #62444] Sun, 18 January 2004 02:50 Go to previous messageGo to next message
laeubi is currently offline  laeubi
Messages: 799
Registered: February 2003
Location: Germany
Karma: 0
Colonel

For the Deathzone, just temp the existing one and change the Warheadtype to 'Death' Cool

www.laeubi.de Find Mods, Maps, Tool, Files and More!
< All Tutorials you ever searched for >
< contact me >
"Don't say it is imposible... just find a solution!"
scripts.dll stuff [message #62446] Sun, 18 January 2004 03:05 Go to previous message
Titan1x77 is currently offline  Titan1x77
Messages: 1086
Registered: February 2003
Karma: 0
General (1 Star)
Thanks Laeubi!

"But if the gameplay sucks, the looks don't matter at all." - Sir Phoenixx

Previous Topic: scripts.dll > Printing Messages
Next Topic: Skeleton
Goto Forum:
  


Current Time: Sun Apr 28 23:44:52 MST 2024

Total time taken to generate the page: 0.01098 seconds