Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » scripts.dll 1.4...
scripts.dll 1.4... [message #63643] Mon, 26 January 2004 09:00 Go to previous messageGo to next message
TheKGBspy is currently offline  TheKGBspy
Messages: 96
Registered: April 2003
Karma: 0
Recruit
well yea if its an "ennemy" to the player.


but if its an Unteamed object you cant get point from killing it! that why im asking for this script


Ra2: Vengeance Project lead(it's Dead... sorry)
An empty Ghost since 2005.
You cant get that information... [message #63701] Mon, 26 January 2004 17:35 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

Its not visible to the scripts.dll
Remember, scripts operate server-side so there is no conecpt of "current player"
Re: OT: Extending Scripts.dll [message #63717] Mon, 26 January 2004 18:11 Go to previous messageGo to next message
gibberish
Messages: 366
Registered: May 2003
Karma: 0
Commander
gibberish

Just wondering if I am extending scripts.dll is there any way in my scripts that I can get:

The current player name ?
The current player score ?
The current number of team-mates killed?



Let me re-phraze that question.

If I have an GameObject * that represents a player is it possible to retrieve the:

- Player name
- Player score
- Player teammate kill stat.

Additonally would anybody be able to explain how damage works for vehicles if player (A) is in a vehicle and player (B) is on foot and they both shoot at each other.

Damage appears to come from the relevant player objects, however damage can only be done to the player on foot.

Thanks,
Gib
cant get that info [message #63729] Mon, 26 January 2004 19:20 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

I think there is a Get_Score but no others.
scripts.dll 1.4... [message #63797] Tue, 27 January 2004 13:01 Go to previous messageGo to next message
OrcaPilot26 is currently offline  OrcaPilot26
Messages: 394
Registered: February 2003
Karma: 0
Commander
What about some sort of mobile radar jamming device, where if you get a certain vehicle within a range of the enemy's comm center (in a script zone) Their radar gets disabled, and when you exit the zone, it comes back on. This could serve as cover for infantry infiltrating into an enemy base, not to mention a distraction so the enemy goes after the jammer.

http://nova.deadlyfear.com/uploads/files//sig_orca.jpg
"ALL HAIL THE CHRONOSPHERE AND ITS CHRONOSHIFTY GOODNESS" -Aircraftkiller
scripts.dll 1.4... [message #63803] Tue, 27 January 2004 14:36 Go to previous messageGo to next message
Havoc 89 is currently offline  Havoc 89
Messages: 500
Registered: February 2003
Karma: 0
Colonel
hey jonwil, can u make a script in which the armour can regenerate, but after a few seconds, and it regenerats pretty fast. armour regeneration basically not health.

http://img362.imageshack.us/img362/7112/renxbannercopywm9.jpg
scripts.dll 1.4... [message #63808] Tue, 27 January 2004 14:55 Go to previous messageGo to next message
Sir Kane
Messages: 1701
Registered: March 2003
Location: Angerville
Karma: 0
General (1 Star)
That would be easy to make.

Proud N9500 and proud N6270 user. Creator of the IEE libraries (original bhs.dll) and the RB series software.
http://n00bstories.com/image.fetch.php?id=1189992501http://www.n00bstories.com/image.fetch.php?id=1257492907
Cant do that [message #63831] Tue, 27 January 2004 17:00 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

Radar jamming isnt possible.

But, the other one with the armour is definatly possible.
scripts.dll 1.4... [message #63869] Tue, 27 January 2004 22:20 Go to previous messageGo to next message
Titan1x77 is currently offline  Titan1x77
Messages: 1086
Registered: February 2003
Karma: 0
General (1 Star)
when u get a kill and the kill is listed on the stats/score is that thru a script or the source code itself...im thinking the source code,

But I may aswell ask...can a script zone report all kills from withen that zone to the score/stats only...any kill's outside that zone arent counted?

Also an old idea...a beacon script zone thats team specific....that way no building controller isnt needed for the map to indicate team ped's.

Since we know that the teleport script works with MP...maybe we can add some options...like the above mentioned,keycards access and if preset/explosion, How about a randomizer to a few different locations...so you dont know where your going to end up.


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

Re: Cant do that [message #63878] Wed, 28 January 2004 06:59 Go to previous messageGo to next message
Deactivated is currently offline  Deactivated
Messages: 1503
Registered: February 2003
Karma: 0
General (1 Star)
jonwil

Radar jamming isnt possible.


Hmm...

General Havoc

Can Already be done using scripts.

Attach a "_Zone_Send_Custom" script to a script zone then get it to send a custom to "JFW_Toggle_Radar", which disables the radar for the team you specify. Then attach "JFW_Death_Send_Custom" to the powerplant and comms(automatically does it for comms anyway) to send a custom to the zone which destroys the zone and disables the radar "JFW_Custom_Destroy_Object".
scripts.dll 1.4... [message #63896] Wed, 28 January 2004 13:01 Go to previous messageGo to next message
Sanada78 is currently offline  Sanada78
Messages: 435
Registered: April 2003
Karma: 0
Commander

Isn't radar jamming used on the 2nd SP mission? When you approach the Comm. centre, your radar is shut of until you're out of its range.
things [message #63926] Wed, 28 January 2004 19:52 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

firstly, radar jamming does work but not in MP.

Secondly, the kills go through the score code not the scripts

team-specific beacon script, cant be done

As for "random teleport", thats possible

I will also be making modifications to JFW_Zone_Send_Custom_Enable, TDA_Send_Custom_Zone and JFW_Zone_Send_Custom_Preset such that:
1.passing an EnterMessage or ExitMessage will cause no message at all to be sent
and 2.passing an EnterParam or ExitParam of 0 will cause "the ID of the thing that triggered the zone entry or exit" to be sent as the parameter.
My new script to be written, JFW_Zone_Send_Custom_Keycard will also work the same way.
Re: cant get that info [message #63954] Thu, 29 January 2004 01:41 Go to previous messageGo to next message
gibberish
Messages: 366
Registered: May 2003
Karma: 0
Commander
jonwil

I think there is a Get_Score but no others.


Ok, sorry I missed that one, thanks. :oops:


Anyhow I have wierd bug, I am not sure if its something I have done or something in the scripts.dll before I modified it, however I seem to be getting excessive damage between infantry.

Basically all infantry verse infantry damage appears to be applied twice.

I have noticed this when others kill me and when I shoot others.
And before you ask no I don't have any cheats/lagbots/skins installed, my client side is totally vanilla.

Has anyone else seen this?

The only thing I can think of is that I have Friendly Fire on, would this have any effect ?

Thanks,
Gib
dont know [message #63955] Thu, 29 January 2004 02:20 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

I dont see any reason why the scripts.dll would cause problems with damage.
scripts.dll 1.4... [message #63963] Thu, 29 January 2004 03:12 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)
Idea. With C&C Reborn, the scripts display the number of MK2's and cyborgs in the top right corner of the screen.

Would it be possible to display the amount of GDI/Nod kills for the Team DM mode? Could make an useful addition to 1.4 if it isn't too hard to do.


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
dont know how... [message #63964] Thu, 29 January 2004 03:34 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

sorry Razz
scripts.dll 1.4... [message #63968] Thu, 29 January 2004 05:05 Go to previous messageGo to next message
Titan1x77 is currently offline  Titan1x77
Messages: 1086
Registered: February 2003
Karma: 0
General (1 Star)
Found the original plans for KOTH

BTW my map is 90% complete and ready for scripts.

- Only_King_Can_Score
Whether or not only the KOTH can score points.
(prehaps a zone where only the points will be issued to the person in the zone)

- Koth_Damage_Multiplier
A factor > 1 that scales all damage done by the KOTH.(a zone that multiplys the objects damage by 2,or variable)

I can get away with some spawners that have 100 points in them each and the longer you stay king the more points you get....and I was going to use the keycard script to enter a teleporter that will be the only way to reach the hill...and keycards will be limited to 1 per side every 60 seconds...also was going to take out all repair guns and proxy c4.


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

scripts.dll 1.4... [message #63981] Thu, 29 January 2004 10:46 Go to previous messageGo to next message
[REHT]Spirit is currently offline  [REHT]Spirit
Messages: 277
Registered: April 2003
Karma: 0
Recruit

General Havoc

Idea. With C&C Reborn, the scripts display the number of MK2's and cyborgs in the top right corner of the screen.

Would it be possible to display the amount of GDI/Nod kills for the Team DM mode? Could make an useful addition to 1.4 if it isn't too hard to do.


Alas, the display only shows up on the host's screen.
scripts.dll 1.4... [message #64511] Sun, 01 February 2004 06:11 Go to previous messageGo to next message
Goltergaul is currently offline  Goltergaul
Messages: 51
Registered: January 2004
Karma: 0
Recruit
hi are these new scrips compatibel with linux servers?
scripts.dll 1.4... [message #64650] Sun, 01 February 2004 17:12 Go to previous messageGo to next message
gibberish
Messages: 366
Registered: May 2003
Karma: 0
Commander
Ok, sorry to be a pain, a couple more questions:

1.>
The M00_GrantPowerup_Created script can be used as a quick hack to add a server script in a standard game, which allows actions to be taken with the player object.

Is there anything similar that I can use to associate a script with a vehicle on standard maps. Primarly I want to trigger an action when someone gets in or out of a vehicle.

2.>
Is there any way to find out the current map name from scripts.dll ?

Thanks,
Gib
answers [message #64661] Sun, 01 February 2004 17:33 Go to previous message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

1.There is no script that is attatched to all vechicles by default that you can hook into.

2.There is no way to get the current map name via scripts

and 3.the scripts currently dont work with the linux FDS but we are investigating ways to make them work.
Previous Topic: Unwrapping help
Next Topic: Scripts.dll Documentation
Goto Forum:
  


Current Time: Sat Nov 16 11:18:46 MST 2024

Total time taken to generate the page: 0.01277 seconds