Defeat Conditions

View previous topic View next topic Go down

Defeat Conditions

Post by fenixforeva on Sat Jan 23, 2010 8:16 pm

Hey ,

Im trying to create a defeat condition for a unit spawn at a waypoint after a movie finishes playing. Because the units have no defined name and its not a object placed from object properities, i cant make the condition end . All i have at the start is the team name, and the units that spawn on that team , and i for the life of me cant figure out how to make the game end , for that team at the start and those spawned units..

since im entering the contest.. do i get any help ? lol

fenixforeva -

fenixforeva
Lost child
Lost child

Posts : 19
Join date : 2010-01-17

View user profile

Back to top Go down

Re: Defeat Conditions

Post by ThaSlayerb on Sun Jan 24, 2010 2:50 am

fenixforeva wrote:Hey ,

Im trying to create a defeat condition for a unit spawn at a waypoint after a movie finishes playing. Because the units have no defined name and its not a object placed from object properities, i cant make the condition end . All i have at the start is the team name, and the units that spawn on that team , and i for the life of me cant figure out how to make the game end , for that team at the start and those spawned units..

since im entering the contest.. do i get any help ? lol

fenixforeva -

What? What do you need? What do you mean with a "defeat condition for a unit"? Do you mean you want the unit destroyed? Or something else? You post does not make much sence....

Explain it more and I may be able to help ya
avatar
ThaSlayerb
God of Fan
God of Fan

Posts : 294
Join date : 2009-08-05
Age : 24
Location : Holland

History
Special in: Scripting
Awards:
User made maps:

View user profile

Back to top Go down

Re: Defeat Conditions

Post by fenixforeva on Sun Jan 24, 2010 2:56 am

Hey,

Basically a unit spawns at a waypoint at the start of a game, if that unit dies, i want the game to be over. I could do with object properities by placing a object down, such as a tank and giving it a name by saying IF unit "Tank1" dies, then show endgame and close. Because you can select the tank, and actually give it a name.

However , if im using a waypoint ,and a unit is spawning from it, i cant specify that unit to die if it gets killed, which leaves the game running.

sorry bud thats what i meant.

fenixforeva
Lost child
Lost child

Posts : 19
Join date : 2010-01-17

View user profile

Back to top Go down

Re: Defeat Conditions

Post by ThaSlayerb on Sun Jan 24, 2010 4:26 am

Just spawn a NAMED unit atwaypoint? its as easy as that...
avatar
ThaSlayerb
God of Fan
God of Fan

Posts : 294
Join date : 2009-08-05
Age : 24
Location : Holland

History
Special in: Scripting
Awards:
User made maps:

View user profile

Back to top Go down

Re: Defeat Conditions

Post by Tiberian Fiend on Sun Jan 24, 2010 6:21 am

normaly if you want the game to end for a player you script:

*IF*
Unit/object is destroyed
*Then*
Player ??? is destroyed (dealing leathly damage to all units[that includes indestructable units too])

or maybe it starts off a cinematic scene which leads to the death of the player in-question.

You may also wish to time link a script that performs "Return to the menu" which ends the match without winners and show the team scores, it is after all a faster method in comparison to using the Alt-Tab windows feature to move back to desktop to kill C&C RA 3 process.

_________________

avatar
Tiberian Fiend
Co-leedah
Co-leedah

Posts : 191
Join date : 2009-07-30
Age : 25
Location : Tiberium field

History
Special in: Cinematics
Awards:
User made maps:

View user profile

Back to top Go down

Re: Defeat Conditions

Post by ThaSlayerb on Sun Jan 24, 2010 10:12 am

Tiberian Fiend wrote:
You may also wish to time link a script that performs "Return to the menu" which ends the match without winners and show the team scores, it is after all a faster method in comparison to using the Alt-Tab windows feature to move back to desktop to kill C&C RA 3 process.

Wut?


Last edited by ThaSlayerb on Mon Jan 25, 2010 6:34 am; edited 1 time in total
avatar
ThaSlayerb
God of Fan
God of Fan

Posts : 294
Join date : 2009-08-05
Age : 24
Location : Holland

History
Special in: Scripting
Awards:
User made maps:

View user profile

Back to top Go down

Re: Defeat Conditions

Post by Tiberian Fiend on Sun Jan 24, 2010 2:50 pm

quote full, or don't quote at all; you can miss - lead with badly linked information, like i just was -.-.

what confused you with my comment?

_________________

avatar
Tiberian Fiend
Co-leedah
Co-leedah

Posts : 191
Join date : 2009-07-30
Age : 25
Location : Tiberium field

History
Special in: Cinematics
Awards:
User made maps:

View user profile

Back to top Go down

Re: Defeat Conditions

Post by fenixforeva on Sun Jan 24, 2010 8:07 pm

Im not quite sure what you mean by that slayer, can you show me a example ? The unit im using is a drop pod which spawns at start, will the game end once the drop pod disapears or will it end once the units inside it die ?

Here is what i have done :

*** IF ***
Camera enters area 'Start_Camera_Area'
*** THEN ***
Spawn Unit 'raider1' of type 'ZOCOMDropPod' on Team 'teamPlyrGDI' at waypoint Waypoint 'Deploy_Dropod'

*** IF ***
Unit 'raider1' has been destroyed.
*** THEN ***
Show 'Defeated' window and end game

What im after is for those the game to end if the raiders die before reaching the commando, then i dont want that condition to be truth. IF they dont reach the commando and die, the game should end. This is what im trying to make.

fenixforeva
Lost child
Lost child

Posts : 19
Join date : 2010-01-17

View user profile

Back to top Go down

Re: Defeat Conditions

Post by fenixforeva on Sun Jan 24, 2010 10:39 pm

You guessed it, Ill continue working on it and ill eventually figure it out. Its not like this was the first challange to set me back. I appraite your help on this, and if any more solutions arise you think i should know about , im all ears Smile

fenixforeva
Lost child
Lost child

Posts : 19
Join date : 2010-01-17

View user profile

Back to top Go down

Re: Defeat Conditions

Post by ThaSlayerb on Mon Jan 25, 2010 6:35 am

Tiberian Fiend wrote:quote full, or don't quote at all; you can miss - lead with badly linked information, like i just was -.-.

what confused you with my comment?

I am srry, I quoted 1 sentence to many.... I edited it now..

But I don't get what that part has to do with the question and it seems completely random Razz So I wanted to know exactly what you meant Razz
avatar
ThaSlayerb
God of Fan
God of Fan

Posts : 294
Join date : 2009-08-05
Age : 24
Location : Holland

History
Special in: Scripting
Awards:
User made maps:

View user profile

Back to top Go down

Re: Defeat Conditions

Post by ThaSlayerb on Mon Jan 25, 2010 6:37 am

Owh.. you are using the kw worldbuilder.. I dont know anything of that one
avatar
ThaSlayerb
God of Fan
God of Fan

Posts : 294
Join date : 2009-08-05
Age : 24
Location : Holland

History
Special in: Scripting
Awards:
User made maps:

View user profile

Back to top Go down

Re: Defeat Conditions

Post by fenixforeva on Mon Jan 25, 2010 6:37 am

Hey by the way , did anyone get a chance to dl my map when i first posted it ?

fenixforeva
Lost child
Lost child

Posts : 19
Join date : 2010-01-17

View user profile

Back to top Go down

Re: Defeat Conditions

Post by ThaSlayerb on Mon Jan 25, 2010 8:35 am

never tried, I don not own KW or CnC3
avatar
ThaSlayerb
God of Fan
God of Fan

Posts : 294
Join date : 2009-08-05
Age : 24
Location : Holland

History
Special in: Scripting
Awards:
User made maps:

View user profile

Back to top Go down

Re: Defeat Conditions

Post by fenixforeva on Mon Jan 25, 2010 4:39 pm

The worldbuilders for ra3 and generals are very similar , ive been using the generals worldbuilder manual to help me a bit with kw and ive also taking a look at ra3 aswell. Theu are pretty much the same.

Download kw wb and see for your self. If they are identical , a manaual could be easily made since all the other wbs are the related.

fenixforeva
Lost child
Lost child

Posts : 19
Join date : 2010-01-17

View user profile

Back to top Go down

Re: Defeat Conditions

Post by Elven on Mon Jan 25, 2010 5:19 pm

Cool, you should join our team Smile

It would be awesome to have kw mapper ^^

_________________
avatar
Elven
Leader
Leader

Posts : 1167
Join date : 2009-07-25
Age : 24
Location : Coca-cola

History
Special in: Scripting
Awards:
User made maps:

View user profile http://prowb.forumotion.com

Back to top Go down

Re: Defeat Conditions

Post by fenixforeva on Mon Jan 25, 2010 5:21 pm

Sure why not , lets wait till afte the comp Wink

fenixforeva
Lost child
Lost child

Posts : 19
Join date : 2010-01-17

View user profile

Back to top Go down

Re: Defeat Conditions

Post by fenixforeva on Mon Jan 25, 2010 5:36 pm

Yeh, why not , im up for it afro

fenixforeva
Lost child
Lost child

Posts : 19
Join date : 2010-01-17

View user profile

Back to top Go down

Re: Defeat Conditions

Post by Elven on Mon Jan 25, 2010 6:05 pm

Razz

Tomorrow - gonna go to sleep

_________________
avatar
Elven
Leader
Leader

Posts : 1167
Join date : 2009-07-25
Age : 24
Location : Coca-cola

History
Special in: Scripting
Awards:
User made maps:

View user profile http://prowb.forumotion.com

Back to top Go down

Re: Defeat Conditions

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum