View Issue Details

IDProjectCategoryView StatusLast Update
0000745Populous: The BeginningScriptingpublic2020-08-02 01:36
ReporterKosjakAssigned ToToxicity 
PrioritynormalSeverityfeatureReproducibilityN/A
Status resolvedResolutionfixed 
Product Version 
Target VersionFixed in Version 
Summary0000745: More LUA stuff
DescriptionSome of stuff i thought of:
New functions:
get_player_name(PLAYER) - returns player's name.
set_player_name(PLAYER, NAME) - sets player's name.
create_shape(PN,ME/C3D/C2D/MAPIDX,BLDG_MODEL,ANGLE) -- similar to what you do when laying down plans, but done via scripting, additionally it will return Thing (if you declare a var for it).

Ability to draw tooltips with custom text in world at specified position for N duration.
Ability to draw sprites in OnFrame() hook.

Accessiable vars/globals:
access to - gsi.Players[PN].Flags
access to - NumPeopleInBalloons ; NumPeopleInBoats ; NumPeopleOfType
access to - worldinfo / playerinfo from ALT+H menu (for recoloring world view icons / alpha and such) ti'll be useful for modding tribe colors.
TagsNo tags attached.
Build Number0

Activities

Toxicity

2020-08-02 01:36

developer   ~0000364

Implemented everything starting from commit/25f3fa8b.

Issue History

Date Modified Username Field Change
2020-07-14 04:03 Kosjak New Issue
2020-08-02 01:36 Toxicity Assigned To => Toxicity
2020-08-02 01:36 Toxicity Status new => resolved
2020-08-02 01:36 Toxicity Resolution open => fixed
2020-08-02 01:36 Toxicity Note Added: 0000364