hi,
i need some help with the mines ^^.
i want that the mines are visible for the team and not only for the builder.
thanks
mines script
-
kage
- Regular

- Posts: 751
- Joined: 05 Dec 2006, 21:45
Re: mines script
1.12 hacked its way through mines using purely scripts -- no actual engine support, and not even the player that laid them could see them. now that source code is available, something better can certainly be done.
-
Troman
- Trained

- Posts: 424
- Joined: 12 Aug 2006, 15:40
Re: mines script
How do you actually make it visible for the builder, with fireWeaponAtLoc(Blip, testMine.x, testMine.y); ? I think this will make a blip (what ever it is) visible to all players.Delphinio wrote: i want that the mines are visible for the team and not only for the builder.
If you have found a way to make mines visible only to a certain player you just have to iterate through all players and see if they are allied to the owner of the blip.
BTW if you use a WZR version of warzone (2.0.6, 2.0.7 or SVN build), you can use
Code: Select all
console("some text");Another debugging function you might want to use is
Code: Select all
debugMenu(TRUE); //Show debug menu
setDebugMenuEntry("some text", 0); //Add some text to the 0's entry (max 9 entries)
setDebugMenuEntry("some other text", 1); //Add some text to the 1's entrySign Up for Beta-Testing:
?topic=1617.0
?topic=1617.0
-
Delphinio
- Art contributor
- Posts: 446
- Joined: 21 Jan 2007, 06:04
Re: mines script
and how?^^Troman wrote: If you have found a way to make mines visible only to a certain player you just have to iterate through all players and see if they are allied to the owner of the blip.
this script is from 1.12 and i know not much about scripts.
well it works, the player which build the mine can see it and the others not.
but i want that the team can see it too... so i need a done script/script line.
Edit: i use the original warzone2100.
-
Troman
- Trained

- Posts: 424
- Joined: 12 Aug 2006, 15:40
Re: mines script
Personally I can't think of a way how to do this, sorry.Delphinio wrote: well it works, the player which build the mine can see it and the others not.
but i want that the team can see it too... so i need a done script/script line.
Sign Up for Beta-Testing:
?topic=1617.0
?topic=1617.0
-
Delphinio
- Art contributor
- Posts: 446
- Joined: 21 Jan 2007, 06:04
Re: mines script
it would be ok too if 0123 can c the mines from 0123 and 4567 from 4567.