Search found 825 matches

by Berserk Cyborg
05 Feb 2017, 07:47
Forum: Scripting
Topic: The official --=jscam=-- thread
Replies: 201
Views: 119103

Re: The official --=jscam=-- thread

I have added some basic vtol attack and run away support to the campaign library. Thus making 2-A ready for testing. Probably can be improved more. I also updated the campaign enemy templates for every remaining mission (the ones that are used) so future coordination is easier.
by Berserk Cyborg
30 Jan 2017, 01:02
Forum: Scripting
Topic: The official --=jscam=-- thread
Replies: 201
Views: 119103

Re: The official --=jscam=-- thread

It would be best, in my opinion, to get a bunch of volunteers to test the whole Alpha campaign at the moment. I try to make everything more or less the same so not much will be different (unless I happen to mess something up or the original scripts do not do what they were meant to). So yes, just po...
by Berserk Cyborg
26 Jan 2017, 05:34
Forum: Addon discussions
Topic: Cobra skirmish AI
Replies: 30
Views: 16004

Re: Cobra skirmish AI

Thanks for the input, I will definitely try using the information you provided to make Cobra more dynamic in the future.

On a side note: I just discovered a bug with group initialization should a map provide attack/sensor units so anybody who downloaded Cobra earlier should download it again.
by Berserk Cyborg
25 Jan 2017, 19:11
Forum: Addon discussions
Topic: Cobra skirmish AI
Replies: 30
Views: 16004

Re: Cobra skirmish AI

Been working on this AI lately and made some improvements. New version is in my first post and report any bugs or anomalies you find. -Better build order (also oil is more likely to be taken) and Cobra should no longer use too much power early on in T2/T3. -Fixed vtol related research/weapons and vt...
by Berserk Cyborg
25 Jan 2017, 18:49
Forum: Scripting
Topic: The official --=jscam=-- thread
Replies: 201
Views: 119103

Re: The official --=jscam=-- thread

I like that idea. It would make calling videos a bit easier. I did something similar to what you outlined for levels that need multiple video calls (without interruption) by placing the messages in an array and calling them with an index incremented after each video plays. I have not been working on...
by Berserk Cyborg
12 Jan 2017, 20:27
Forum: Mapping / Modding tools & discussions
Topic: Map making, help needed badly...
Replies: 19
Views: 8744

Re: Map making, help needed badly...

Look at this topic . 1. I believe warzone2100 has a tool that creates map previews automatically in game so you do not need a picture. 2. Open flame and then open the .gam file of the map (you will have to select the tile-set on a drop down menu on the textures tab. 3. These files are created with t...
by Berserk Cyborg
10 Jan 2017, 23:50
Forum: Addon discussions
Topic: Cobra skirmish AI
Replies: 30
Views: 16004

Re: Cobra skirmish AI

Here is my Question: Is it possible, that the bots detect the oil barrels and oil derricks, which are covered/surrounded by treas? Yes. Most bots will just count some feature on a map on a set timer so to speak. NullBot can seek out oil drums/artifacts on its own, but I do not know if it will destr...
by Berserk Cyborg
09 Jan 2017, 03:33
Forum: Scripting
Topic: The official --=jscam=-- thread
Replies: 201
Views: 119103

Re: The official --=jscam=-- thread

Almost done with 2-2. Now the Collective commander can finally escape instead of mindlessly driving into a building. I will do 2-C next.
by Berserk Cyborg
08 Jan 2017, 23:59
Forum: Addon discussions
Topic: Cobra skirmish AI
Replies: 30
Views: 16004

Cobra skirmish AI

http://addons.wz2100.net/static/img/license-CC-0.png Cobra.wz git repository I would like to introduce a modified Semperfi-js AI skirmish bot I have been working on. I made this bot with team battles in mind, but it should do fine without an ally as well. -I do use a custom NullBot standard file si...
by Berserk Cyborg
03 Jan 2017, 21:50
Forum: Scripting
Topic: The official --=jscam=-- thread
Replies: 201
Views: 119103

Re: The official --=jscam=-- thread

Is there a way of making a group with specific droids whose ID is known? Try camMakeGroup: http://buildbot.wz2100.net/files/javascript/javascript007.html#sec198 Use object labels and just make an array of droids. example object label: "object_0": { "label": "droid", "id": X, "player": 2, "type": 0 }
by Berserk Cyborg
02 Jan 2017, 04:27
Forum: News and announcements
Topic: Release 3.2.2
Replies: 56
Views: 68131

Re: Release 3.2.2

The problem with the save Bethrezen provided is that the enemy base count surpasses the actual amount of bases. No idea how you managed not to detect the last base since the blip is not there (and the detected value is false). under normal game play __camNumEnemyBases should be 3 (that is what I get...
by Berserk Cyborg
31 Dec 2016, 21:20
Forum: Scripting
Topic: The official --=jscam=-- thread
Replies: 201
Views: 119103

Re: The official --=jscam=-- thread

Do I have to set up all the other groups aswell, or is the default order for a droid to guard its position based on its sensor range? I think the 2-1 level only has that one group. You could look for other droids and make them groups if you want to. And if a droid is not in a group then it will sta...
by Berserk Cyborg
31 Dec 2016, 19:34
Forum: Scripting
Topic: The official --=jscam=-- thread
Replies: 201
Views: 119103

Re: The official --=jscam=-- thread

From eventStartLevel do: hackAddMessage("C21_OBJECTIVE", PROX_MSG, CAM_HUMAN_PLAYER, true); And you can then use hackRemoveMessage when at the area trigger. When you setup bases this is all automatically handled by the campaign library (cam1-c is a good reference). for groups you could do something ...
by Berserk Cyborg
31 Dec 2016, 06:12
Forum: Scripting
Topic: The official --=jscam=-- thread
Replies: 201
Views: 119103

Re: The official --=jscam=-- thread

Haven't tested my scripts for SUB_2_1 Just did. Had to fix a few things though. Those 'S' levels do not need label files since the only coordinates that change are the transporter exit point and the next level. Also simplified your 2-1x script. Also you need to make the four rocket cyborgs near the...
by Berserk Cyborg
31 Dec 2016, 01:40
Forum: Scripting
Topic: The official --=jscam=-- thread
Replies: 201
Views: 119103

Re: The official --=jscam=-- thread

Per wrote:Added setHealth(object, health %) in 62a7c961683266d7ce53fdd23b3fe913d9b9b01a. Not tested, though :-)
Tested it and it works (for droids/structures anyway). Thanks!

Seeing as I am almost done with 2-a I will take cam 2-2 and related sub-missions.