pre-requisite for building a unit based on a person's name

pre-requisite for building a unit based on a person's name

Discuss Lua based Spring scripts (LuaUI widgets, mission scripts, gaia scripts, mod-rules scripts, scripted keybindings, etc...)

Moderator: Moderators

User avatar
Noruas
XTA Developer
Posts: 1269
Joined: 24 Feb 2005, 02:58

pre-requisite for building a unit based on a person's name

Post by Noruas »

Can somone make a silly lua gadget that requires a certain word or name, or full exact name to build a certain unit? Also without telling the other players what they need?
CautionToTheWind
Posts: 272
Joined: 30 May 2006, 17:06

Post by CautionToTheWind »

Like... cheat?
User avatar
Ishach
Posts: 1670
Joined: 02 May 2006, 06:44

Post by Ishach »

i was thinking of something like this a few days ago

like every time a player builds a lab or e stalls it notifies all players in the game who have the name [SmuG]Isaac
User avatar
Noruas
XTA Developer
Posts: 1269
Joined: 24 Feb 2005, 02:58

Post by Noruas »

Exactly or it Was My name Noruas, I could build a 1 metal 1 energy costing krogoth with jetpacks, for some really bad example.
User avatar
LathanStanley
Posts: 1429
Joined: 20 Jun 2005, 05:16

Post by LathanStanley »

FAIL
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

I must veto this feature noruas, sorry but unlocking things based on your name just isnt good.
trepan
Former Engine Dev
Posts: 1200
Joined: 17 Nov 2005, 00:52

Post by trepan »

The synced side of lua scripts sees all player names as
"SYNCED_NONAME". This thread confirms my decision
to make it so (you can still print player names using an
embedded "<PLAYER#>' tag in the synced
Spring.SendMessage...() calls).
User avatar
Pressure Line
Posts: 2283
Joined: 21 May 2007, 02:09

Post by Pressure Line »

CautionToTheWind wrote:Like... cheat?
and more to the point, following from a discussion in #main the other night... if you cheat, but lose anyway, are you still cheating? (i am of the opinion that cheating is cheating, whether you win or lose. but according to some people its only a cheat if it guarantees a win)
User avatar
Peet
Malcontent
Posts: 4384
Joined: 27 Feb 2006, 22:04

Post by Peet »

AF wrote:I must veto this feature noruas, sorry but unlocking things based on your name just isnt good.
How do you veto something that you personally have no control over? O_o


This idea is pretty fail though..if you're going to cheat don't hardcode it into your mod -_-
trepan
Former Engine Dev
Posts: 1200
Joined: 17 Nov 2005, 00:52

Post by trepan »

It's a moot point :-)
User avatar
KingRaptor
Zero-K Developer
Posts: 838
Joined: 14 Mar 2007, 03:44

Post by KingRaptor »

It would be really funny (but imbalanced ofc) to give certain players special units based on their names.

For example if your name is PRO_flopflop your atlases come with built-in combomb and if you are [LCC]Lion_Heart[Ck] your rockos can shoot across half the map and gib krogs in one hit.
tombom
Posts: 1933
Joined: 18 Dec 2005, 20:21

Post by tombom »

Pressure Line wrote:and more to the point, following from a discussion in #main the other night... if you cheat, but lose anyway, are you still cheating? (i am of the opinion that cheating is cheating, whether you win or lose. but according to some people its only a cheat if it guarantees a win)
you were being trolled i think it's basically a moot point
User avatar
[XIII]Roxas
Posts: 182
Joined: 20 Jun 2007, 23:44

Post by [XIII]Roxas »

Heh. Unlockable units via username actually could be rather fun. Imagine, contributors would have their work payed off, by having some sort of 'exclusive' and yet not OP unit for them to use.

Shock troopers FTW!
User avatar
Guessmyname
Posts: 3301
Joined: 28 Apr 2005, 21:07

Post by Guessmyname »

And finally a way to make Nemo beatable!
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

Now how about a feature to read the map name so if the map name contains speed or metal five minutes after the game starts a random unit will be destroyed every 10 seconds and AllowCommand has a 1% chance to just destroy its unit?
User avatar
Ishach
Posts: 1670
Joined: 02 May 2006, 06:44

Post by Ishach »

Can synced lua retreive a players colour?



You could make it give special units to any player with the team colour red 222 green 111 blue 000 etc


edit: i need this for my mod where team colour choice is a critical game element
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Post by imbaczek »

as in "you're pink so your com is a carebear and your flashes change into My Little Pony"? :P
CautionToTheWind
Posts: 272
Joined: 30 May 2006, 17:06

Post by CautionToTheWind »

Pressure Line wrote:i am of the opinion that cheating is cheating, whether you win or lose. but according to some people its only a cheat if it guarantees a win
Those "some people" are the people we refer to as "cheaters".
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

Epic Legions would need that for the Ork vehicles. Cuz de red wunz go fasta!
User avatar
Noruas
XTA Developer
Posts: 1269
Joined: 24 Feb 2005, 02:58

Post by Noruas »

Its hard to make mod based on only cheating. >_>
Post Reply

Return to “Lua Scripts”