View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000745 | Populous: The Beginning | Scripting | public | 2020-07-14 04:03 | 2020-08-02 01:36 |
Reporter | Kosjak | Assigned To | Toxicity | ||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | resolved | Resolution | fixed | ||
Summary | 0000745: More LUA stuff | ||||
Description | Some 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. | ||||
Tags | No tags attached. | ||||
Build Number | 0 | ||||