evinx
  • evinx
  • 50.25% (Neutral)
  • Private Topic Starter
12 years ago
hello there


is it possible to make a nuke gas on the ground in a small area

(so if you send a nuke on someone and it explode the orange/yellow cloud that stays for sometime)
that i want to add in the middle of my map is that possible



i hope someone can help me i will post my maps on www.evinx.nl if they are ready

thanks

--------------------------map finished-------------------

between four warzones [evinxnl].rar 
PS sorry for my bad english
download here my own made maps
http://www.evinx.nl 
Sponsor
i^love^mixery
12 years ago
Try spawning this object every few seconds:

Civilian -> System -> RadiationFieldLarge

No idea if it works.
evinx
  • evinx
  • 50.25% (Neutral)
  • Private Topic Starter
12 years ago

Try spawning this object every few seconds:

Civilian -> System -> RadiationFieldLarge

No idea if it works.

Originally Posted by: I^Love^Mixery 



oke thanks ill try that 🙂
PS sorry for my bad english
download here my own made maps
http://www.evinx.nl 
evinx
  • evinx
  • 50.25% (Neutral)
  • Private Topic Starter
12 years ago

Try spawning this object every few seconds:

Civilian -> System -> RadiationFieldLarge

No idea if it works.

Originally Posted by: I^Love^Mixery 



i found it how to make it work

add waypoint at the place where you want the radiation field
give waypoint name radiationfield

go to scripts and name the script nuke1
and choose in if action true
[units]-> [spawn]-> spawn-- unnamed unit on a team at a waypoint

fill it in as followed
spawn unit of type'RadiationFieldLarge'on Team'teamPlyCivilian' at waypoint Waypoint'radiationfield'

and click OK

then choose
[scripting]-> [script]-> Enable Script

fill it in as followd
Enable Script 'nuke1 C'.


if you did it right you will see this script


*** IF ***
True.
*** THEN ***
Spawn unit of type 'RadiationFieldLarge' on Team 'teamPlyrCivilian' at waypoint Waypoint 'radiationfield'
Enable Script 'nuke1 C'.



if thats correct you copy your script nuke1 (the copy will be automatically named "nuke1 C"

edit this script as followed
open the tab if true action
select enable script "nuke1 C" and change it to "nuke1"

so if you have done it right you have 2 scripts
Named "nuke1" and "nuke1 C"


start game and check if its works :)

now it will spawn every frame a radiationfieldlarge (VERY LARGE :P)
PS sorry for my bad english
download here my own made maps
http://www.evinx.nl 
i^love^mixery
12 years ago
Spawning it every frame is no good idea. It will cause a lot of lag.

You should spawn it shortly before the old one runs out.
Annihilationzh
12 years ago
That's 30 seconds FYI.
If you need help, post in the forum. You'll get help a lot faster than if you send me a PM.

I reject all buddy requests. I don't think 'buddy' needs to be made official. It's not like you're marrying me.
evinx
  • evinx
  • 50.25% (Neutral)
  • Private Topic Starter
12 years ago

That's 30 seconds FYI.

Originally Posted by: Annihilationzh 



oke its lags yes but how to add a times of 30sec

can you help me i try but timers not working (how i made them)


greets if maps is ready i will post :)

PS sorry for my bad english
download here my own made maps
http://www.evinx.nl 
i^love^mixery
12 years ago
You need only 1 script in order to do this.

Just create a new script. Leave everything at default.

Just deselect "Deactivate upon success" and set the script to evaluate once per second.

Now spawn NAMED radiation fields at desired waypoint as script actions. Copy this line as often as you want for any radiation field that is supposed to be there.

As long as the radiation fields are NAMED they will never be spawned twice. Only once the last radiation field runs out the new field will be spawned.
evinx
  • evinx
  • 50.25% (Neutral)
  • Private Topic Starter
12 years ago
so it would like this ?


script 1

screen 1 

screen 2 

screen 3 

screen 4 

waypoint screen 

thanks you that plays much better 🙂
PS sorry for my bad english
download here my own made maps
http://www.evinx.nl 
i^love^mixery
12 years ago
Almost.

Spawn each radiation field with a unique name (like field01, fied02, field03....)

For that you have to use the script "Spawn -- named unit on a team at a waypoint".

Everything else is correct.
evinx
  • evinx
  • 50.25% (Neutral)
  • Private Topic Starter
12 years ago

Almost.

Spawn each radiation field with a unique name (like field01, fied02, field03....)

For that you have to use the script "Spawn -- named unit on a team at a waypoint".

Everything else is correct.

Originally Posted by: i^love^mixery 



uhhhhmmm my fields have unique names radiationfieldlarge large1 large2 large3 large4 large 5

:) you can see it on screen because builder screen is to small 🙂
PS sorry for my bad english
download here my own made maps
http://www.evinx.nl 
i^love^mixery
12 years ago
You are using the WRONG script on the screenshot.

Spawn them as a NAMED object on a NAMED waypoint, so you need to enter a name AND select the waypoint.

On the screenshot you try to spawn unnamed objects.
evinx
  • evinx
  • 50.25% (Neutral)
  • Private Topic Starter
12 years ago
yeah unnamed works also 🙂

i have just 5 different fields and they all spawn one time and again and again and again so its not spawning as before with lag en 1 yellow spot on the map its just 1 field a time if it ends it spawns a new one :)

PS sorry for my bad english
download here my own made maps
http://www.evinx.nl 
i^love^mixery
12 years ago
Maybe, just maybe consider listening to me. If you spawn unnamed fields, they WILL be spawned every second. So you will have 30 overlapping fields at every waypoint before the first one runs out. Besides the possible, very likely lag, the fields will also deal 30 times more damage than a single field.
evinx
  • evinx
  • 50.25% (Neutral)
  • Private Topic Starter
12 years ago
Yeah thats what we had before so many fields that everything dies when passing the field but now infantry walks trough it and will have damage but not all infantry die only some damage so it's works perfect as unnamed

Thank you for helping with this problem

Greets
PS sorry for my bad english
download here my own made maps
http://www.evinx.nl 
Annihilationzh
12 years ago

Maybe, just maybe consider listening to me. If you spawn unnamed fields, they WILL be spawned every second. So you will have 30 overlapping fields at every waypoint before the first one runs out. Besides the possible, very likely lag, the fields will also deal 30 times more damage than a single field.

Originally Posted by: I^Love^Mixery 



You didn't really have any way of knowing this without modding, but fields don't stack. They kill each other when they're created (this can be removed with modding). This is often exploited by competitive players, as nuke general, toxin general or vGLA with toxin shells can remove an anthrax bomb field by firing tank shells at the centre.
If you need help, post in the forum. You'll get help a lot faster than if you send me a PM.

I reject all buddy requests. I don't think 'buddy' needs to be made official. It's not like you're marrying me.
i^love^mixery
12 years ago

Maybe, just maybe consider listening to me. If you spawn unnamed fields, they WILL be spawned every second. So you will have 30 overlapping fields at every waypoint before the first one runs out. Besides the possible, very likely lag, the fields will also deal 30 times more damage than a single field.

Originally Posted by: Annihilationzh 



You didn't really have any way of knowing this without modding, but fields don't stack. They kill each other when they're created (this can be removed with modding). This is often exploited by competitive players, as nuke general, toxin general or vGLA with toxin shells can remove an anthrax bomb field by firing tank shells at the centre.

Originally Posted by: I^Love^Mixery 



I have tested it before posting and those objects do stack for some reason. Spawning unnamed radiation fields at a waypoint every frame pretty much kills everything within 1 second.

It is possible that this no longer happens when they are spawned every second. I haven't tested it but I was pretty sure that the same would happen.
Annihilationzh
12 years ago
A toxin field does damage every 0.5 seconds. By spawning them every frame, this happens:

The first frame, the first toxin field spawns and it will deal damage immediately. The next frame (~0.03 seconds later) another field will spawn, kill the first field, and then do it's own damage. The visual effects will linger slightly because toxin fields have a death animation. So when you spawn them every frame, you have a 0.03s delay between damage instead of 0.5s. That's much more damage, but any new field will kill old fields within the same frame they spawn in. The rapid spawning, despawning and effects may be the cause of the lag. When you set it to once every second all these problems are negligible.

I have coded genuine field stacking, and it looks awesome, and isn't laggy.
If you need help, post in the forum. You'll get help a lot faster than if you send me a PM.

I reject all buddy requests. I don't think 'buddy' needs to be made official. It's not like you're marrying me.
i^love^mixery
12 years ago
So by your logic spawning any field every frame causes 15 times the normal damage. And spawning any field every second causes normal damage.

Makes sense. Thanks for clearing it up.

Btw.. did you ever see these effects after you use the script action "Modify visual game time"? THAT looks awesome. But unfortunatly it is disabled in multiplayer games 😞
Annihilationzh
12 years ago
I have never used that script before. That sounds like a really laggy one though.

This is genuine field stacking BTW:

UserPostedImage

The left toxin field has 5 normal scud launchers all firing at the same spot. The right toxin field has 5 field stacking scud launchers all firing at the same spot.

I can upload an easy to install mini-mod if anyone wants to try it.
If you need help, post in the forum. You'll get help a lot faster than if you send me a PM.

I reject all buddy requests. I don't think 'buddy' needs to be made official. It's not like you're marrying me.