Well this is what I have now but I want to blah blah blah ..

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
User avatar
small_sumo
Lieutenant General
Posts: 953
Joined: Mon Jul 01, 2002 4:17 pm
Contact:

Well this is what I have now but I want to blah blah blah ..

Post by small_sumo »

Well this is what I have now and it works real good, but just say I want a different camera or "cinematic sequence" (brain nearly popped trying to spell that) one for the axis if they win, eg camera_axis_win. I am tempted to do one, perhaps of some soldiers laughing and kicking a dead sherman uh? Sound good? Anyway this works great as it is, but I need to know more for futire projects.


while !(level.roundstart)
wait 0.5
thread allied_win_check

level.camera_speed = 1.4


end

allied_win_check:

while($bomb.exploded != 1)
wait 0.5

while($bomb2.exploded != 1)
wait 0.5

//level.alliedwin = 1
level.dmroundlimit = (level.dmroundlimit + 18)
thread camera_mover
wait 18

teamwin allies



end
Image

www.smallsumo.tk

Yeah Truth above Honor Man ;)
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Hmm the Axis can only win if the timelimit expires. This timelimit is fully controlled by the bot scripts. You need a modified lib_game.scr to do this.
Image
User avatar
small_sumo
Lieutenant General
Posts: 953
Joined: Mon Jul 01, 2002 4:17 pm
Contact:

Post by small_sumo »

Well thats good enough for me. I guess if the attacking team is axis they get the cinema ending. I'm happy with that, and am happy with the munions.

:)
Image

www.smallsumo.tk

Yeah Truth above Honor Man ;)
Post Reply